@opensite/ui 3.7.5 → 3.7.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/badge.d.cts +1 -1
- package/dist/badge.d.ts +1 -1
- package/dist/blog-featured-popular.cjs +13 -12
- package/dist/blog-featured-popular.d.cts +1 -1
- package/dist/blog-featured-popular.d.ts +1 -1
- package/dist/blog-featured-popular.js +13 -12
- package/dist/blog-horizontal-cards.cjs +24 -42
- package/dist/blog-horizontal-cards.d.cts +1 -1
- package/dist/blog-horizontal-cards.d.ts +1 -1
- package/dist/blog-horizontal-cards.js +24 -42
- package/dist/blog-related-articles.cjs +8 -7
- package/dist/blog-related-articles.js +8 -7
- package/dist/carousel-icon-tabs.cjs +6 -4
- package/dist/carousel-icon-tabs.d.cts +5 -1
- package/dist/carousel-icon-tabs.d.ts +5 -1
- package/dist/carousel-icon-tabs.js +6 -4
- package/dist/carousel-progress-slider.cjs +3 -2
- package/dist/carousel-progress-slider.js +3 -2
- package/dist/carousel-scale-focus.cjs +1 -1
- package/dist/carousel-scale-focus.js +1 -1
- package/dist/carousel-scrolling-feature-showcase.cjs +4 -2
- package/dist/carousel-scrolling-feature-showcase.js +4 -2
- package/dist/carousel-sidebar-resources.cjs +11 -15
- package/dist/carousel-sidebar-resources.d.cts +5 -1
- package/dist/carousel-sidebar-resources.d.ts +5 -1
- package/dist/carousel-sidebar-resources.js +11 -15
- package/dist/carousel-tabs-content.cjs +1 -1
- package/dist/carousel-tabs-content.js +1 -1
- package/dist/expandable-case-study-cards.cjs +3 -3
- package/dist/expandable-case-study-cards.js +3 -3
- package/dist/feature-animated-carousel.cjs +2 -1
- package/dist/feature-animated-carousel.js +2 -1
- package/dist/feature-bento-image-grid.cjs +9 -12
- package/dist/feature-bento-image-grid.js +9 -12
- package/dist/feature-image-overlay-badge.cjs +3 -40
- package/dist/feature-image-overlay-badge.js +3 -40
- package/dist/feature-integration-cards.cjs +10 -14
- package/dist/feature-integration-cards.js +10 -14
- package/dist/footer-newsletter-contact.cjs +4 -4
- package/dist/footer-newsletter-contact.js +4 -4
- package/dist/hero-adaptable-product-grid.cjs +2 -1
- package/dist/hero-adaptable-product-grid.js +2 -1
- package/dist/hero-ai-powered-carousel.cjs +2 -1
- package/dist/hero-ai-powered-carousel.js +2 -1
- package/dist/hero-architecture-fullscreen.cjs +3 -2
- package/dist/hero-architecture-fullscreen.js +3 -2
- package/dist/hero-badge-image-split.cjs +3 -2
- package/dist/hero-badge-image-split.js +3 -2
- package/dist/hero-badge-shadow-overlay.cjs +2 -1
- package/dist/hero-badge-shadow-overlay.js +2 -1
- package/dist/hero-billing-platform-logos.cjs +12 -8
- package/dist/hero-billing-platform-logos.js +12 -8
- package/dist/hero-business-carousel-dots.cjs +2 -1
- package/dist/hero-business-carousel-dots.js +2 -1
- package/dist/hero-conversation-intelligence.cjs +2 -1
- package/dist/hero-conversation-intelligence.js +2 -1
- package/dist/hero-crm-streamlined.cjs +2 -2
- package/dist/hero-crm-streamlined.js +2 -2
- package/dist/hero-design-carousel-portfolio.cjs +2 -1
- package/dist/hero-design-carousel-portfolio.js +2 -1
- package/dist/hero-ecommerce-product-showcase.cjs +8 -4
- package/dist/hero-ecommerce-product-showcase.js +8 -4
- package/dist/hero-event-registration.cjs +2 -1
- package/dist/hero-event-registration.js +2 -1
- package/dist/hero-gradient-avatars-rating.cjs +4 -2
- package/dist/hero-gradient-avatars-rating.js +4 -2
- package/dist/hero-mental-health-team.cjs +13 -18
- package/dist/hero-mental-health-team.js +13 -18
- package/dist/hero-mentorship-video-split.cjs +3 -10
- package/dist/hero-mentorship-video-split.js +3 -10
- package/dist/hero-product-showcase-floating.cjs +4 -2
- package/dist/hero-product-showcase-floating.js +4 -2
- package/dist/hero-saas-dashboard-preview.cjs +2 -1
- package/dist/hero-saas-dashboard-preview.js +2 -1
- package/dist/hero-software-growth-video-dialog.cjs +2 -1
- package/dist/hero-software-growth-video-dialog.js +2 -1
- package/dist/hero-split-icon-cards.cjs +7 -59
- package/dist/hero-split-icon-cards.js +7 -59
- package/dist/hero-task-timer-animated.cjs +145 -86
- package/dist/hero-task-timer-animated.d.cts +19 -18
- package/dist/hero-task-timer-animated.d.ts +19 -18
- package/dist/hero-task-timer-animated.js +146 -68
- package/dist/navbar-animated-preview.cjs +1 -1
- package/dist/navbar-animated-preview.js +1 -1
- package/dist/navbar-enterprise-mega.cjs +29 -10
- package/dist/navbar-enterprise-mega.d.cts +3 -0
- package/dist/navbar-enterprise-mega.d.ts +3 -0
- package/dist/navbar-enterprise-mega.js +29 -10
- package/dist/navbar-image-preview.cjs +10 -2
- package/dist/navbar-image-preview.d.cts +6 -6
- package/dist/navbar-image-preview.d.ts +6 -6
- package/dist/navbar-image-preview.js +10 -2
- package/dist/process-hover-cards.cjs +4 -2
- package/dist/process-hover-cards.js +4 -2
- package/dist/process-icon-timeline.cjs +1 -2
- package/dist/process-icon-timeline.d.cts +0 -4
- package/dist/process-icon-timeline.d.ts +0 -4
- package/dist/process-icon-timeline.js +1 -2
- package/dist/process-scroll-image.cjs +2 -2
- package/dist/process-scroll-image.js +2 -2
- package/dist/process-steps-grid.cjs +7 -5
- package/dist/process-steps-grid.js +7 -5
- package/dist/registry.cjs +427 -341
- package/dist/registry.js +427 -341
- package/dist/social-link-icon.d.cts +1 -1
- package/dist/social-link-icon.d.ts +1 -1
- package/dist/testimonials-animated-split.cjs +2 -1
- package/dist/testimonials-animated-split.js +2 -1
- package/dist/testimonials-carousel-image.cjs +4 -2
- package/dist/testimonials-carousel-image.js +4 -2
- package/dist/testimonials-company-logo.cjs +4 -2
- package/dist/testimonials-company-logo.js +4 -2
- package/dist/testimonials-scrolling-columns.cjs +4 -2
- package/dist/testimonials-scrolling-columns.js +4 -2
- package/package.json +1 -1
|
@@ -104,6 +104,10 @@ interface CarouselIconTabsProps {
|
|
|
104
104
|
* Background style for the section
|
|
105
105
|
*/
|
|
106
106
|
background?: SectionBackground;
|
|
107
|
+
/**
|
|
108
|
+
* Additional CSS classes for the container
|
|
109
|
+
*/
|
|
110
|
+
containerClassName?: string;
|
|
107
111
|
/**
|
|
108
112
|
* Vertical spacing for the section
|
|
109
113
|
*/
|
|
@@ -152,6 +156,6 @@ interface CarouselIconTabsProps {
|
|
|
152
156
|
* />
|
|
153
157
|
* ```
|
|
154
158
|
*/
|
|
155
|
-
declare function CarouselIconTabs({ sectionId, heading, badge, sections, sectionsSlot, headerSlot, className, headerClassName, headingClassName, badgeClassName, carouselClassName, carouselContentClassName, itemClassName, imageClassName, tabsClassName, tabClassName, controlsClassName, background, spacing, pattern, patternOpacity, patternClassName, optixFlowConfig, }: CarouselIconTabsProps): React.JSX.Element;
|
|
159
|
+
declare function CarouselIconTabs({ sectionId, heading, badge, sections, sectionsSlot, headerSlot, className, headerClassName, headingClassName, badgeClassName, carouselClassName, carouselContentClassName, itemClassName, imageClassName, tabsClassName, tabClassName, controlsClassName, background, containerClassName, spacing, pattern, patternOpacity, patternClassName, optixFlowConfig, }: CarouselIconTabsProps): React.JSX.Element;
|
|
156
160
|
|
|
157
161
|
export { type CarouselIconTabItem, CarouselIconTabs, type CarouselIconTabsProps };
|
|
@@ -645,7 +645,8 @@ function CarouselIconTabs({
|
|
|
645
645
|
tabClassName,
|
|
646
646
|
controlsClassName,
|
|
647
647
|
background,
|
|
648
|
-
|
|
648
|
+
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
649
|
+
spacing = "hero",
|
|
649
650
|
pattern,
|
|
650
651
|
patternOpacity,
|
|
651
652
|
patternClassName,
|
|
@@ -751,7 +752,7 @@ function CarouselIconTabs({
|
|
|
751
752
|
/* @__PURE__ */ jsxs("div", { className: "mt-8 flex cursor-pointer flex-col gap-2 md:hidden", children: [
|
|
752
753
|
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(DynamicIcon, { name: item.icon, size: 20 }) }),
|
|
753
754
|
/* @__PURE__ */ jsx("div", { className: "text-lg font-medium", children: item.title }),
|
|
754
|
-
/* @__PURE__ */ jsx("div", { className: "text-
|
|
755
|
+
/* @__PURE__ */ jsx("div", { className: "text-base", children: item.text })
|
|
755
756
|
] })
|
|
756
757
|
]
|
|
757
758
|
},
|
|
@@ -786,8 +787,8 @@ function CarouselIconTabs({
|
|
|
786
787
|
"div",
|
|
787
788
|
{
|
|
788
789
|
className: cn(
|
|
789
|
-
"text-lg hover:
|
|
790
|
-
index + 1 === current ? "
|
|
790
|
+
"text-lg hover:opacity-100",
|
|
791
|
+
index + 1 === current ? "opacity-100" : "opacity-70"
|
|
791
792
|
),
|
|
792
793
|
children: section.text
|
|
793
794
|
}
|
|
@@ -809,6 +810,7 @@ function CarouselIconTabs({
|
|
|
809
810
|
patternOpacity,
|
|
810
811
|
patternClassName,
|
|
811
812
|
className,
|
|
813
|
+
containerClassName,
|
|
812
814
|
children: [
|
|
813
815
|
headerContent,
|
|
814
816
|
/* @__PURE__ */ jsxs(
|
|
@@ -608,7 +608,7 @@ function CarouselProgressSlider({
|
|
|
608
608
|
{
|
|
609
609
|
value: slide.id,
|
|
610
610
|
className: cn("absolute inset-0", slide.className),
|
|
611
|
-
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "aspect-video overflow-hidden rounded-lg", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
611
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "aspect-square md:aspect-video overflow-hidden rounded-lg", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
612
612
|
img.Img,
|
|
613
613
|
{
|
|
614
614
|
src: slide.image,
|
|
@@ -617,7 +617,8 @@ function CarouselProgressSlider({
|
|
|
617
617
|
"h-full w-full object-cover",
|
|
618
618
|
slide.imageClassName
|
|
619
619
|
),
|
|
620
|
-
optixFlowConfig
|
|
620
|
+
optixFlowConfig,
|
|
621
|
+
loading: "eager"
|
|
621
622
|
}
|
|
622
623
|
) })
|
|
623
624
|
},
|
|
@@ -587,7 +587,7 @@ function CarouselProgressSlider({
|
|
|
587
587
|
{
|
|
588
588
|
value: slide.id,
|
|
589
589
|
className: cn("absolute inset-0", slide.className),
|
|
590
|
-
children: /* @__PURE__ */ jsx("div", { className: "aspect-video overflow-hidden rounded-lg", children: /* @__PURE__ */ jsx(
|
|
590
|
+
children: /* @__PURE__ */ jsx("div", { className: "aspect-square md:aspect-video overflow-hidden rounded-lg", children: /* @__PURE__ */ jsx(
|
|
591
591
|
Img,
|
|
592
592
|
{
|
|
593
593
|
src: slide.image,
|
|
@@ -596,7 +596,8 @@ function CarouselProgressSlider({
|
|
|
596
596
|
"h-full w-full object-cover",
|
|
597
597
|
slide.imageClassName
|
|
598
598
|
),
|
|
599
|
-
optixFlowConfig
|
|
599
|
+
optixFlowConfig,
|
|
600
|
+
loading: "eager"
|
|
600
601
|
}
|
|
601
602
|
) })
|
|
602
603
|
},
|
|
@@ -529,7 +529,8 @@ function CarouselScrollingFeatureShowcase({
|
|
|
529
529
|
"h-full w-full object-cover",
|
|
530
530
|
activeFeatureData.imageClassName
|
|
531
531
|
),
|
|
532
|
-
optixFlowConfig
|
|
532
|
+
optixFlowConfig,
|
|
533
|
+
loading: "eager"
|
|
533
534
|
}
|
|
534
535
|
)
|
|
535
536
|
},
|
|
@@ -564,7 +565,8 @@ function CarouselScrollingFeatureShowcase({
|
|
|
564
565
|
"h-full w-full object-cover",
|
|
565
566
|
feature.imageClassName
|
|
566
567
|
),
|
|
567
|
-
optixFlowConfig
|
|
568
|
+
optixFlowConfig,
|
|
569
|
+
loading: "eager"
|
|
568
570
|
}
|
|
569
571
|
) }) }),
|
|
570
572
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-start gap-4", children: [
|
|
@@ -508,7 +508,8 @@ function CarouselScrollingFeatureShowcase({
|
|
|
508
508
|
"h-full w-full object-cover",
|
|
509
509
|
activeFeatureData.imageClassName
|
|
510
510
|
),
|
|
511
|
-
optixFlowConfig
|
|
511
|
+
optixFlowConfig,
|
|
512
|
+
loading: "eager"
|
|
512
513
|
}
|
|
513
514
|
)
|
|
514
515
|
},
|
|
@@ -543,7 +544,8 @@ function CarouselScrollingFeatureShowcase({
|
|
|
543
544
|
"h-full w-full object-cover",
|
|
544
545
|
feature.imageClassName
|
|
545
546
|
),
|
|
546
|
-
optixFlowConfig
|
|
547
|
+
optixFlowConfig,
|
|
548
|
+
loading: "eager"
|
|
547
549
|
}
|
|
548
550
|
) }) }),
|
|
549
551
|
/* @__PURE__ */ jsxs("div", { className: "flex items-start gap-4", children: [
|
|
@@ -623,7 +623,7 @@ function CarouselSidebarResources({
|
|
|
623
623
|
resourcesSlot,
|
|
624
624
|
sidebarSlot,
|
|
625
625
|
viewAllText,
|
|
626
|
-
viewAllHref
|
|
626
|
+
viewAllHref,
|
|
627
627
|
className,
|
|
628
628
|
headingClassName,
|
|
629
629
|
sidebarClassName,
|
|
@@ -633,11 +633,12 @@ function CarouselSidebarResources({
|
|
|
633
633
|
imageClassName,
|
|
634
634
|
controlsClassName,
|
|
635
635
|
background,
|
|
636
|
-
spacing,
|
|
637
636
|
pattern,
|
|
638
637
|
patternOpacity,
|
|
639
638
|
patternClassName,
|
|
640
|
-
optixFlowConfig
|
|
639
|
+
optixFlowConfig,
|
|
640
|
+
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
641
|
+
spacing = "lg"
|
|
641
642
|
}) {
|
|
642
643
|
const [lightboxOpen, setLightboxOpen] = React2.useState(false);
|
|
643
644
|
const [lightboxIndex, setLightboxIndex] = React2.useState(0);
|
|
@@ -671,7 +672,7 @@ function CarouselSidebarResources({
|
|
|
671
672
|
children: [
|
|
672
673
|
resources?.slice(0, 3).map((resource, idx) => /* @__PURE__ */ jsxRuntime.jsxs(React2.Fragment, { children: [
|
|
673
674
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-1", children: [
|
|
674
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "font-mono text-sm
|
|
675
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "font-mono text-sm opacity-70 uppercase", children: resource.category }),
|
|
675
676
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
676
677
|
pressable.Pressable,
|
|
677
678
|
{
|
|
@@ -747,15 +748,15 @@ function CarouselSidebarResources({
|
|
|
747
748
|
src: item.image,
|
|
748
749
|
alt: typeof item.title === "string" ? item.title : item.imageAlt || "Resource image",
|
|
749
750
|
className: cn("aspect-video object-cover", imageClassName),
|
|
750
|
-
loading: "
|
|
751
|
+
loading: "eager",
|
|
751
752
|
optixFlowConfig
|
|
752
753
|
}
|
|
753
754
|
)
|
|
754
755
|
}
|
|
755
756
|
),
|
|
756
|
-
/* @__PURE__ */ jsxRuntime.jsx(pressable.Pressable, { href: item.link, className: "block", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "px-6 py-8", children: [
|
|
757
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm
|
|
758
|
-
typeof item.title === "string" ? /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "mt-2 text-xl font-semibold lg:text-2xl", children: item.title }) :
|
|
757
|
+
/* @__PURE__ */ jsxRuntime.jsx(pressable.Pressable, { href: item.link, className: "block", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "px-6 py-6 md:py-8", children: [
|
|
758
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm opacity-70 uppercase", children: item.category }),
|
|
759
|
+
typeof item.title === "string" ? /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "mt-2 text-xl font-semibold lg:text-2xl", children: item.title }) : item.title
|
|
759
760
|
] }) })
|
|
760
761
|
] })
|
|
761
762
|
},
|
|
@@ -779,6 +780,7 @@ function CarouselSidebarResources({
|
|
|
779
780
|
patternOpacity,
|
|
780
781
|
patternClassName,
|
|
781
782
|
className: cn("overflow-hidden", className),
|
|
783
|
+
containerClassName,
|
|
782
784
|
children: [
|
|
783
785
|
heading && (typeof heading === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
784
786
|
"h2",
|
|
@@ -786,13 +788,7 @@ function CarouselSidebarResources({
|
|
|
786
788
|
className: cn("text-2xl font-bold text-pretty", headingClassName),
|
|
787
789
|
children: heading
|
|
788
790
|
}
|
|
789
|
-
) :
|
|
790
|
-
"div",
|
|
791
|
-
{
|
|
792
|
-
className: cn("text-2xl font-bold text-pretty", headingClassName),
|
|
793
|
-
children: heading
|
|
794
|
-
}
|
|
795
|
-
)),
|
|
791
|
+
) : heading),
|
|
796
792
|
/* @__PURE__ */ jsxRuntime.jsx(Carousel, { className: carouselClassName, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-6 grid gap-x-14 gap-y-10 lg:mt-16 lg:grid-cols-3", children: [
|
|
797
793
|
sidebarContent,
|
|
798
794
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "order-1 lg:order-0 lg:col-span-2 [&>div[data-slot=carousel-content]]:overflow-visible [&>div[data-slot=carousel-content]]:[clip-path:inset(-100vw_-100vw_-100vw_0)]", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -100,6 +100,10 @@ interface CarouselSidebarResourcesProps {
|
|
|
100
100
|
* Vertical spacing for the section
|
|
101
101
|
*/
|
|
102
102
|
spacing?: SectionSpacing;
|
|
103
|
+
/**
|
|
104
|
+
* Additional CSS classes for the container
|
|
105
|
+
*/
|
|
106
|
+
containerClassName?: string;
|
|
103
107
|
/**
|
|
104
108
|
* Optional background pattern name or URL
|
|
105
109
|
*/
|
|
@@ -145,6 +149,6 @@ interface CarouselSidebarResourcesProps {
|
|
|
145
149
|
* />
|
|
146
150
|
* ```
|
|
147
151
|
*/
|
|
148
|
-
declare function CarouselSidebarResources({ sectionId, heading, resources, resourcesSlot, sidebarSlot, viewAllText, viewAllHref, className, headingClassName, sidebarClassName, carouselClassName, carouselContentClassName, itemClassName, imageClassName, controlsClassName, background,
|
|
152
|
+
declare function CarouselSidebarResources({ sectionId, heading, resources, resourcesSlot, sidebarSlot, viewAllText, viewAllHref, className, headingClassName, sidebarClassName, carouselClassName, carouselContentClassName, itemClassName, imageClassName, controlsClassName, background, pattern, patternOpacity, patternClassName, optixFlowConfig, containerClassName, spacing, }: CarouselSidebarResourcesProps): React.JSX.Element;
|
|
149
153
|
|
|
150
154
|
export { type CarouselSidebarResource, CarouselSidebarResources, type CarouselSidebarResourcesProps };
|
|
@@ -100,6 +100,10 @@ interface CarouselSidebarResourcesProps {
|
|
|
100
100
|
* Vertical spacing for the section
|
|
101
101
|
*/
|
|
102
102
|
spacing?: SectionSpacing;
|
|
103
|
+
/**
|
|
104
|
+
* Additional CSS classes for the container
|
|
105
|
+
*/
|
|
106
|
+
containerClassName?: string;
|
|
103
107
|
/**
|
|
104
108
|
* Optional background pattern name or URL
|
|
105
109
|
*/
|
|
@@ -145,6 +149,6 @@ interface CarouselSidebarResourcesProps {
|
|
|
145
149
|
* />
|
|
146
150
|
* ```
|
|
147
151
|
*/
|
|
148
|
-
declare function CarouselSidebarResources({ sectionId, heading, resources, resourcesSlot, sidebarSlot, viewAllText, viewAllHref, className, headingClassName, sidebarClassName, carouselClassName, carouselContentClassName, itemClassName, imageClassName, controlsClassName, background,
|
|
152
|
+
declare function CarouselSidebarResources({ sectionId, heading, resources, resourcesSlot, sidebarSlot, viewAllText, viewAllHref, className, headingClassName, sidebarClassName, carouselClassName, carouselContentClassName, itemClassName, imageClassName, controlsClassName, background, pattern, patternOpacity, patternClassName, optixFlowConfig, containerClassName, spacing, }: CarouselSidebarResourcesProps): React.JSX.Element;
|
|
149
153
|
|
|
150
154
|
export { type CarouselSidebarResource, CarouselSidebarResources, type CarouselSidebarResourcesProps };
|
|
@@ -599,7 +599,7 @@ function CarouselSidebarResources({
|
|
|
599
599
|
resourcesSlot,
|
|
600
600
|
sidebarSlot,
|
|
601
601
|
viewAllText,
|
|
602
|
-
viewAllHref
|
|
602
|
+
viewAllHref,
|
|
603
603
|
className,
|
|
604
604
|
headingClassName,
|
|
605
605
|
sidebarClassName,
|
|
@@ -609,11 +609,12 @@ function CarouselSidebarResources({
|
|
|
609
609
|
imageClassName,
|
|
610
610
|
controlsClassName,
|
|
611
611
|
background,
|
|
612
|
-
spacing,
|
|
613
612
|
pattern,
|
|
614
613
|
patternOpacity,
|
|
615
614
|
patternClassName,
|
|
616
|
-
optixFlowConfig
|
|
615
|
+
optixFlowConfig,
|
|
616
|
+
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
617
|
+
spacing = "lg"
|
|
617
618
|
}) {
|
|
618
619
|
const [lightboxOpen, setLightboxOpen] = useState(false);
|
|
619
620
|
const [lightboxIndex, setLightboxIndex] = useState(0);
|
|
@@ -647,7 +648,7 @@ function CarouselSidebarResources({
|
|
|
647
648
|
children: [
|
|
648
649
|
resources?.slice(0, 3).map((resource, idx) => /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
649
650
|
/* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-1", children: [
|
|
650
|
-
/* @__PURE__ */ jsx("div", { className: "font-mono text-sm
|
|
651
|
+
/* @__PURE__ */ jsx("div", { className: "font-mono text-sm opacity-70 uppercase", children: resource.category }),
|
|
651
652
|
/* @__PURE__ */ jsxs(
|
|
652
653
|
Pressable,
|
|
653
654
|
{
|
|
@@ -723,15 +724,15 @@ function CarouselSidebarResources({
|
|
|
723
724
|
src: item.image,
|
|
724
725
|
alt: typeof item.title === "string" ? item.title : item.imageAlt || "Resource image",
|
|
725
726
|
className: cn("aspect-video object-cover", imageClassName),
|
|
726
|
-
loading: "
|
|
727
|
+
loading: "eager",
|
|
727
728
|
optixFlowConfig
|
|
728
729
|
}
|
|
729
730
|
)
|
|
730
731
|
}
|
|
731
732
|
),
|
|
732
|
-
/* @__PURE__ */ jsx(Pressable, { href: item.link, className: "block", children: /* @__PURE__ */ jsxs("div", { className: "px-6 py-8", children: [
|
|
733
|
-
/* @__PURE__ */ jsx("div", { className: "text-sm
|
|
734
|
-
typeof item.title === "string" ? /* @__PURE__ */ jsx("h3", { className: "mt-2 text-xl font-semibold lg:text-2xl", children: item.title }) :
|
|
733
|
+
/* @__PURE__ */ jsx(Pressable, { href: item.link, className: "block", children: /* @__PURE__ */ jsxs("div", { className: "px-6 py-6 md:py-8", children: [
|
|
734
|
+
/* @__PURE__ */ jsx("div", { className: "text-sm opacity-70 uppercase", children: item.category }),
|
|
735
|
+
typeof item.title === "string" ? /* @__PURE__ */ jsx("h3", { className: "mt-2 text-xl font-semibold lg:text-2xl", children: item.title }) : item.title
|
|
735
736
|
] }) })
|
|
736
737
|
] })
|
|
737
738
|
},
|
|
@@ -755,6 +756,7 @@ function CarouselSidebarResources({
|
|
|
755
756
|
patternOpacity,
|
|
756
757
|
patternClassName,
|
|
757
758
|
className: cn("overflow-hidden", className),
|
|
759
|
+
containerClassName,
|
|
758
760
|
children: [
|
|
759
761
|
heading && (typeof heading === "string" ? /* @__PURE__ */ jsx(
|
|
760
762
|
"h2",
|
|
@@ -762,13 +764,7 @@ function CarouselSidebarResources({
|
|
|
762
764
|
className: cn("text-2xl font-bold text-pretty", headingClassName),
|
|
763
765
|
children: heading
|
|
764
766
|
}
|
|
765
|
-
) :
|
|
766
|
-
"div",
|
|
767
|
-
{
|
|
768
|
-
className: cn("text-2xl font-bold text-pretty", headingClassName),
|
|
769
|
-
children: heading
|
|
770
|
-
}
|
|
771
|
-
)),
|
|
767
|
+
) : heading),
|
|
772
768
|
/* @__PURE__ */ jsx(Carousel, { className: carouselClassName, children: /* @__PURE__ */ jsxs("div", { className: "mt-6 grid gap-x-14 gap-y-10 lg:mt-16 lg:grid-cols-3", children: [
|
|
773
769
|
sidebarContent,
|
|
774
770
|
/* @__PURE__ */ jsx("div", { className: "order-1 lg:order-0 lg:col-span-2 [&>div[data-slot=carousel-content]]:overflow-visible [&>div[data-slot=carousel-content]]:[clip-path:inset(-100vw_-100vw_-100vw_0)]", children: /* @__PURE__ */ jsx(
|
|
@@ -531,14 +531,14 @@ function ExpandableCaseStudyCards({
|
|
|
531
531
|
}
|
|
532
532
|
),
|
|
533
533
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-end justify-between gap-3", children: [
|
|
534
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-1.5", children: [
|
|
535
|
-
item.logo && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-1", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
534
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex min-w-0 flex-1 flex-col gap-1.5", children: [
|
|
535
|
+
item.logo && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-1 flex items-center", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
536
536
|
img.Img,
|
|
537
537
|
{
|
|
538
538
|
src: item.logo,
|
|
539
539
|
alt: item.logoAlt || item.company || "Logo",
|
|
540
540
|
className: cn(
|
|
541
|
-
"h-6 max-w-
|
|
541
|
+
"block h-6 max-h-6 w-auto max-w-none object-contain invert lg:h-8 lg:max-h-8",
|
|
542
542
|
logoClassName
|
|
543
543
|
),
|
|
544
544
|
loading: "lazy",
|
|
@@ -510,14 +510,14 @@ function ExpandableCaseStudyCards({
|
|
|
510
510
|
}
|
|
511
511
|
),
|
|
512
512
|
/* @__PURE__ */ jsxs("div", { className: "flex items-end justify-between gap-3", children: [
|
|
513
|
-
/* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-1.5", children: [
|
|
514
|
-
item.logo && /* @__PURE__ */ jsx("div", { className: "mb-1", children: /* @__PURE__ */ jsx(
|
|
513
|
+
/* @__PURE__ */ jsxs("div", { className: "flex min-w-0 flex-1 flex-col gap-1.5", children: [
|
|
514
|
+
item.logo && /* @__PURE__ */ jsx("div", { className: "mb-1 flex items-center", children: /* @__PURE__ */ jsx(
|
|
515
515
|
Img,
|
|
516
516
|
{
|
|
517
517
|
src: item.logo,
|
|
518
518
|
alt: item.logoAlt || item.company || "Logo",
|
|
519
519
|
className: cn(
|
|
520
|
-
"h-6 max-w-
|
|
520
|
+
"block h-6 max-h-6 w-auto max-w-none object-contain invert lg:h-8 lg:max-h-8",
|
|
521
521
|
logoClassName
|
|
522
522
|
),
|
|
523
523
|
loading: "lazy",
|
|
@@ -902,7 +902,8 @@ function FeatureAnimatedCarousel({
|
|
|
902
902
|
src: currentFeature.image,
|
|
903
903
|
alt: currentFeature.imageAlt || (typeof currentFeature.title === "string" ? currentFeature.title : "Feature image"),
|
|
904
904
|
className: "h-full w-full object-cover",
|
|
905
|
-
optixFlowConfig
|
|
905
|
+
optixFlowConfig,
|
|
906
|
+
loading: "eager"
|
|
906
907
|
}
|
|
907
908
|
)
|
|
908
909
|
]
|
|
@@ -881,7 +881,8 @@ function FeatureAnimatedCarousel({
|
|
|
881
881
|
src: currentFeature.image,
|
|
882
882
|
alt: currentFeature.imageAlt || (typeof currentFeature.title === "string" ? currentFeature.title : "Feature image"),
|
|
883
883
|
className: "h-full w-full object-cover",
|
|
884
|
-
optixFlowConfig
|
|
884
|
+
optixFlowConfig,
|
|
885
|
+
loading: "eager"
|
|
885
886
|
}
|
|
886
887
|
)
|
|
887
888
|
]
|
|
@@ -494,7 +494,7 @@ function FeatureBentoImageGrid({
|
|
|
494
494
|
src: item.imageSrc,
|
|
495
495
|
alt: item.imageAlt || (typeof item.title === "string" ? item.title : "Feature image"),
|
|
496
496
|
className: cn(imageClassName, item.imageClassName),
|
|
497
|
-
loading: "
|
|
497
|
+
loading: "eager",
|
|
498
498
|
optixFlowConfig
|
|
499
499
|
}
|
|
500
500
|
);
|
|
@@ -510,7 +510,7 @@ function FeatureBentoImageGrid({
|
|
|
510
510
|
const cardContent = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
511
511
|
renderItemImage(
|
|
512
512
|
item,
|
|
513
|
-
"h-full
|
|
513
|
+
"h-full w-full rounded-xl object-cover object-center shadow-lg"
|
|
514
514
|
),
|
|
515
515
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute top-0 right-0 bottom-0 left-0 translate-y-10 rounded-xl bg-linear-to-t from-black to-transparent transition-transform duration-300 group-hover:translate-y-0" }),
|
|
516
516
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "absolute top-0 flex h-full w-full flex-col justify-between px-5 md:px-8 py-6 md:py-6", children: [
|
|
@@ -560,7 +560,7 @@ function FeatureBentoImageGrid({
|
|
|
560
560
|
{
|
|
561
561
|
href: item.link,
|
|
562
562
|
className: cn(
|
|
563
|
-
"group relative
|
|
563
|
+
"group relative h-[22rem] overflow-hidden rounded-xl xl:col-span-2 xl:h-[580px]",
|
|
564
564
|
largeCardClassName,
|
|
565
565
|
item.className
|
|
566
566
|
),
|
|
@@ -572,7 +572,7 @@ function FeatureBentoImageGrid({
|
|
|
572
572
|
"div",
|
|
573
573
|
{
|
|
574
574
|
className: cn(
|
|
575
|
-
"group relative
|
|
575
|
+
"group relative h-[22rem] overflow-hidden rounded-xl xl:col-span-2 xl:h-[580px]",
|
|
576
576
|
largeCardClassName,
|
|
577
577
|
item.className
|
|
578
578
|
),
|
|
@@ -589,10 +589,7 @@ function FeatureBentoImageGrid({
|
|
|
589
589
|
const cardContent = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
590
590
|
renderItemImage(
|
|
591
591
|
item,
|
|
592
|
-
cn(
|
|
593
|
-
"h-full w-full rounded-xl object-cover object-center shadow-lg",
|
|
594
|
-
index === 0 ? "max-h-44" : "max-h-96"
|
|
595
|
-
)
|
|
592
|
+
cn("h-full w-full rounded-xl object-cover object-center shadow-lg")
|
|
596
593
|
),
|
|
597
594
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute top-0 right-0 bottom-0 left-0 translate-y-10 rounded-xl bg-linear-to-t from-black to-transparent opacity-80 transition-transform duration-300 group-hover:translate-y-0" }),
|
|
598
595
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "absolute top-0 flex h-full w-full flex-col justify-between p-7", children: [
|
|
@@ -634,7 +631,7 @@ function FeatureBentoImageGrid({
|
|
|
634
631
|
href: item.link,
|
|
635
632
|
className: cn(
|
|
636
633
|
"group relative overflow-hidden rounded-xl",
|
|
637
|
-
index ===
|
|
634
|
+
index === 0 ? "h-56 xl:h-44" : "h-72 xl:h-96",
|
|
638
635
|
smallCardClassName,
|
|
639
636
|
item.className
|
|
640
637
|
),
|
|
@@ -648,7 +645,7 @@ function FeatureBentoImageGrid({
|
|
|
648
645
|
{
|
|
649
646
|
className: cn(
|
|
650
647
|
"group relative overflow-hidden rounded-xl",
|
|
651
|
-
index ===
|
|
648
|
+
index === 0 ? "h-56 xl:h-44" : "h-72 xl:h-96",
|
|
652
649
|
smallCardClassName,
|
|
653
650
|
item.className
|
|
654
651
|
),
|
|
@@ -666,7 +663,7 @@ function FeatureBentoImageGrid({
|
|
|
666
663
|
const smallItems = items.filter((item) => item.size !== "large").slice(0, 2);
|
|
667
664
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
668
665
|
renderLargeCard(largeItem),
|
|
669
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid gap-y-5
|
|
666
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid gap-y-5", children: smallItems.map((item, index) => renderSmallCard(item, index)) })
|
|
670
667
|
] });
|
|
671
668
|
}, [itemsSlot, items, renderLargeCard, renderSmallCard]);
|
|
672
669
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
@@ -696,7 +693,7 @@ function FeatureBentoImageGrid({
|
|
|
696
693
|
"div",
|
|
697
694
|
{
|
|
698
695
|
className: cn(
|
|
699
|
-
"grid grid-cols-1 gap-y-5 pt-14 xl:grid-cols-3 xl:
|
|
696
|
+
"grid grid-cols-1 gap-y-5 pt-14 xl:grid-cols-3 xl:gap-x-5 xl:gap-y-0",
|
|
700
697
|
gridClassName
|
|
701
698
|
),
|
|
702
699
|
children: itemsContent
|
|
@@ -473,7 +473,7 @@ function FeatureBentoImageGrid({
|
|
|
473
473
|
src: item.imageSrc,
|
|
474
474
|
alt: item.imageAlt || (typeof item.title === "string" ? item.title : "Feature image"),
|
|
475
475
|
className: cn(imageClassName, item.imageClassName),
|
|
476
|
-
loading: "
|
|
476
|
+
loading: "eager",
|
|
477
477
|
optixFlowConfig
|
|
478
478
|
}
|
|
479
479
|
);
|
|
@@ -489,7 +489,7 @@ function FeatureBentoImageGrid({
|
|
|
489
489
|
const cardContent = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
490
490
|
renderItemImage(
|
|
491
491
|
item,
|
|
492
|
-
"h-full
|
|
492
|
+
"h-full w-full rounded-xl object-cover object-center shadow-lg"
|
|
493
493
|
),
|
|
494
494
|
/* @__PURE__ */ jsx("div", { className: "absolute top-0 right-0 bottom-0 left-0 translate-y-10 rounded-xl bg-linear-to-t from-black to-transparent transition-transform duration-300 group-hover:translate-y-0" }),
|
|
495
495
|
/* @__PURE__ */ jsxs("div", { className: "absolute top-0 flex h-full w-full flex-col justify-between px-5 md:px-8 py-6 md:py-6", children: [
|
|
@@ -539,7 +539,7 @@ function FeatureBentoImageGrid({
|
|
|
539
539
|
{
|
|
540
540
|
href: item.link,
|
|
541
541
|
className: cn(
|
|
542
|
-
"group relative
|
|
542
|
+
"group relative h-[22rem] overflow-hidden rounded-xl xl:col-span-2 xl:h-[580px]",
|
|
543
543
|
largeCardClassName,
|
|
544
544
|
item.className
|
|
545
545
|
),
|
|
@@ -551,7 +551,7 @@ function FeatureBentoImageGrid({
|
|
|
551
551
|
"div",
|
|
552
552
|
{
|
|
553
553
|
className: cn(
|
|
554
|
-
"group relative
|
|
554
|
+
"group relative h-[22rem] overflow-hidden rounded-xl xl:col-span-2 xl:h-[580px]",
|
|
555
555
|
largeCardClassName,
|
|
556
556
|
item.className
|
|
557
557
|
),
|
|
@@ -568,10 +568,7 @@ function FeatureBentoImageGrid({
|
|
|
568
568
|
const cardContent = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
569
569
|
renderItemImage(
|
|
570
570
|
item,
|
|
571
|
-
cn(
|
|
572
|
-
"h-full w-full rounded-xl object-cover object-center shadow-lg",
|
|
573
|
-
index === 0 ? "max-h-44" : "max-h-96"
|
|
574
|
-
)
|
|
571
|
+
cn("h-full w-full rounded-xl object-cover object-center shadow-lg")
|
|
575
572
|
),
|
|
576
573
|
/* @__PURE__ */ jsx("div", { className: "absolute top-0 right-0 bottom-0 left-0 translate-y-10 rounded-xl bg-linear-to-t from-black to-transparent opacity-80 transition-transform duration-300 group-hover:translate-y-0" }),
|
|
577
574
|
/* @__PURE__ */ jsxs("div", { className: "absolute top-0 flex h-full w-full flex-col justify-between p-7", children: [
|
|
@@ -613,7 +610,7 @@ function FeatureBentoImageGrid({
|
|
|
613
610
|
href: item.link,
|
|
614
611
|
className: cn(
|
|
615
612
|
"group relative overflow-hidden rounded-xl",
|
|
616
|
-
index ===
|
|
613
|
+
index === 0 ? "h-56 xl:h-44" : "h-72 xl:h-96",
|
|
617
614
|
smallCardClassName,
|
|
618
615
|
item.className
|
|
619
616
|
),
|
|
@@ -627,7 +624,7 @@ function FeatureBentoImageGrid({
|
|
|
627
624
|
{
|
|
628
625
|
className: cn(
|
|
629
626
|
"group relative overflow-hidden rounded-xl",
|
|
630
|
-
index ===
|
|
627
|
+
index === 0 ? "h-56 xl:h-44" : "h-72 xl:h-96",
|
|
631
628
|
smallCardClassName,
|
|
632
629
|
item.className
|
|
633
630
|
),
|
|
@@ -645,7 +642,7 @@ function FeatureBentoImageGrid({
|
|
|
645
642
|
const smallItems = items.filter((item) => item.size !== "large").slice(0, 2);
|
|
646
643
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
647
644
|
renderLargeCard(largeItem),
|
|
648
|
-
/* @__PURE__ */ jsx("div", { className: "grid gap-y-5
|
|
645
|
+
/* @__PURE__ */ jsx("div", { className: "grid gap-y-5", children: smallItems.map((item, index) => renderSmallCard(item, index)) })
|
|
649
646
|
] });
|
|
650
647
|
}, [itemsSlot, items, renderLargeCard, renderSmallCard]);
|
|
651
648
|
return /* @__PURE__ */ jsxs(
|
|
@@ -675,7 +672,7 @@ function FeatureBentoImageGrid({
|
|
|
675
672
|
"div",
|
|
676
673
|
{
|
|
677
674
|
className: cn(
|
|
678
|
-
"grid grid-cols-1 gap-y-5 pt-14 xl:grid-cols-3 xl:
|
|
675
|
+
"grid grid-cols-1 gap-y-5 pt-14 xl:grid-cols-3 xl:gap-x-5 xl:gap-y-0",
|
|
679
676
|
gridClassName
|
|
680
677
|
),
|
|
681
678
|
children: itemsContent
|