@opensite/ui 3.7.5 → 3.7.6
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/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 +22 -41
- package/dist/blog-horizontal-cards.d.cts +1 -1
- package/dist/blog-horizontal-cards.d.ts +1 -1
- package/dist/blog-horizontal-cards.js +22 -41
- 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 +8 -9
- package/dist/feature-bento-image-grid.js +8 -9
- package/dist/feature-image-overlay-badge.cjs +3 -40
- package/dist/feature-image-overlay-badge.js +3 -40
- package/dist/feature-integration-cards.cjs +4 -13
- package/dist/feature-integration-cards.js +4 -13
- 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 +155 -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 +156 -68
- package/dist/navbar-animated-preview.cjs +1 -1
- package/dist/navbar-animated-preview.js +1 -1
- package/dist/navbar-enterprise-mega.cjs +9 -3
- package/dist/navbar-enterprise-mega.d.cts +3 -0
- package/dist/navbar-enterprise-mega.d.ts +3 -0
- package/dist/navbar-enterprise-mega.js +9 -3
- 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 +391 -315
- package/dist/registry.js +391 -315
- 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
|
@@ -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 max-w-full 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
|
+
"h-6 w-auto max-w-full object-contain object-left invert lg: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 max-w-full 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
|
+
"h-6 w-auto max-w-full object-contain object-left invert lg: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
|
]
|
|
@@ -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
|
),
|
|
@@ -590,8 +590,7 @@ function FeatureBentoImageGrid({
|
|
|
590
590
|
renderItemImage(
|
|
591
591
|
item,
|
|
592
592
|
cn(
|
|
593
|
-
"h-full w-full rounded-xl object-cover object-center shadow-lg"
|
|
594
|
-
index === 0 ? "max-h-44" : "max-h-96"
|
|
593
|
+
"h-full w-full rounded-xl object-cover object-center shadow-lg"
|
|
595
594
|
)
|
|
596
595
|
),
|
|
597
596
|
/* @__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" }),
|
|
@@ -634,7 +633,7 @@ function FeatureBentoImageGrid({
|
|
|
634
633
|
href: item.link,
|
|
635
634
|
className: cn(
|
|
636
635
|
"group relative overflow-hidden rounded-xl",
|
|
637
|
-
index ===
|
|
636
|
+
index === 0 ? "h-56 xl:h-44" : "h-72 xl:h-96",
|
|
638
637
|
smallCardClassName,
|
|
639
638
|
item.className
|
|
640
639
|
),
|
|
@@ -648,7 +647,7 @@ function FeatureBentoImageGrid({
|
|
|
648
647
|
{
|
|
649
648
|
className: cn(
|
|
650
649
|
"group relative overflow-hidden rounded-xl",
|
|
651
|
-
index ===
|
|
650
|
+
index === 0 ? "h-56 xl:h-44" : "h-72 xl:h-96",
|
|
652
651
|
smallCardClassName,
|
|
653
652
|
item.className
|
|
654
653
|
),
|
|
@@ -666,7 +665,7 @@ function FeatureBentoImageGrid({
|
|
|
666
665
|
const smallItems = items.filter((item) => item.size !== "large").slice(0, 2);
|
|
667
666
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
668
667
|
renderLargeCard(largeItem),
|
|
669
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid gap-y-5
|
|
668
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid gap-y-5", children: smallItems.map((item, index) => renderSmallCard(item, index)) })
|
|
670
669
|
] });
|
|
671
670
|
}, [itemsSlot, items, renderLargeCard, renderSmallCard]);
|
|
672
671
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
@@ -696,7 +695,7 @@ function FeatureBentoImageGrid({
|
|
|
696
695
|
"div",
|
|
697
696
|
{
|
|
698
697
|
className: cn(
|
|
699
|
-
"grid grid-cols-1 gap-y-5 pt-14 xl:grid-cols-3 xl:
|
|
698
|
+
"grid grid-cols-1 gap-y-5 pt-14 xl:grid-cols-3 xl:gap-x-5 xl:gap-y-0",
|
|
700
699
|
gridClassName
|
|
701
700
|
),
|
|
702
701
|
children: itemsContent
|
|
@@ -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
|
),
|
|
@@ -569,8 +569,7 @@ function FeatureBentoImageGrid({
|
|
|
569
569
|
renderItemImage(
|
|
570
570
|
item,
|
|
571
571
|
cn(
|
|
572
|
-
"h-full w-full rounded-xl object-cover object-center shadow-lg"
|
|
573
|
-
index === 0 ? "max-h-44" : "max-h-96"
|
|
572
|
+
"h-full w-full rounded-xl object-cover object-center shadow-lg"
|
|
574
573
|
)
|
|
575
574
|
),
|
|
576
575
|
/* @__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" }),
|
|
@@ -613,7 +612,7 @@ function FeatureBentoImageGrid({
|
|
|
613
612
|
href: item.link,
|
|
614
613
|
className: cn(
|
|
615
614
|
"group relative overflow-hidden rounded-xl",
|
|
616
|
-
index ===
|
|
615
|
+
index === 0 ? "h-56 xl:h-44" : "h-72 xl:h-96",
|
|
617
616
|
smallCardClassName,
|
|
618
617
|
item.className
|
|
619
618
|
),
|
|
@@ -627,7 +626,7 @@ function FeatureBentoImageGrid({
|
|
|
627
626
|
{
|
|
628
627
|
className: cn(
|
|
629
628
|
"group relative overflow-hidden rounded-xl",
|
|
630
|
-
index ===
|
|
629
|
+
index === 0 ? "h-56 xl:h-44" : "h-72 xl:h-96",
|
|
631
630
|
smallCardClassName,
|
|
632
631
|
item.className
|
|
633
632
|
),
|
|
@@ -645,7 +644,7 @@ function FeatureBentoImageGrid({
|
|
|
645
644
|
const smallItems = items.filter((item) => item.size !== "large").slice(0, 2);
|
|
646
645
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
647
646
|
renderLargeCard(largeItem),
|
|
648
|
-
/* @__PURE__ */ jsx("div", { className: "grid gap-y-5
|
|
647
|
+
/* @__PURE__ */ jsx("div", { className: "grid gap-y-5", children: smallItems.map((item, index) => renderSmallCard(item, index)) })
|
|
649
648
|
] });
|
|
650
649
|
}, [itemsSlot, items, renderLargeCard, renderSmallCard]);
|
|
651
650
|
return /* @__PURE__ */ jsxs(
|
|
@@ -675,7 +674,7 @@ function FeatureBentoImageGrid({
|
|
|
675
674
|
"div",
|
|
676
675
|
{
|
|
677
676
|
className: cn(
|
|
678
|
-
"grid grid-cols-1 gap-y-5 pt-14 xl:grid-cols-3 xl:
|
|
677
|
+
"grid grid-cols-1 gap-y-5 pt-14 xl:grid-cols-3 xl:gap-x-5 xl:gap-y-0",
|
|
679
678
|
gridClassName
|
|
680
679
|
),
|
|
681
680
|
children: itemsContent
|
|
@@ -37,32 +37,6 @@ var AvatarPrimitive__namespace = /*#__PURE__*/_interopNamespace(AvatarPrimitive)
|
|
|
37
37
|
function cn(...inputs) {
|
|
38
38
|
return tailwindMerge.twMerge(clsx.clsx(inputs));
|
|
39
39
|
}
|
|
40
|
-
function getTextColor(parentBg, variant = "default", options) {
|
|
41
|
-
const isDark = parentBg === "dark" || parentBg === "secondary" || parentBg === "primary";
|
|
42
|
-
if (isDark) {
|
|
43
|
-
switch (variant) {
|
|
44
|
-
case "default":
|
|
45
|
-
return "text-foreground";
|
|
46
|
-
case "muted":
|
|
47
|
-
return "text-foreground/80";
|
|
48
|
-
case "subtle":
|
|
49
|
-
return "text-foreground/60";
|
|
50
|
-
case "accent":
|
|
51
|
-
return "text-accent-foreground";
|
|
52
|
-
}
|
|
53
|
-
} else {
|
|
54
|
-
switch (variant) {
|
|
55
|
-
case "default":
|
|
56
|
-
return "text-foreground";
|
|
57
|
-
case "muted":
|
|
58
|
-
return "text-muted-foreground";
|
|
59
|
-
case "subtle":
|
|
60
|
-
return "text-muted-foreground/70";
|
|
61
|
-
case "accent":
|
|
62
|
-
return "text-primary";
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
40
|
var DEFAULT_ICON_API_KEY = "au382bi7fsh96w9h9xlrnat2jglx";
|
|
67
41
|
var DynamicIcon = React__namespace.memo(function DynamicIcon2({
|
|
68
42
|
apiKey,
|
|
@@ -653,7 +627,6 @@ function FeatureImageOverlayBadge({
|
|
|
653
627
|
{
|
|
654
628
|
className: cn(
|
|
655
629
|
"text-base leading-relaxed lg:text-lg",
|
|
656
|
-
getTextColor(background, "muted"),
|
|
657
630
|
descriptionClassName
|
|
658
631
|
),
|
|
659
632
|
children: description
|
|
@@ -663,7 +636,6 @@ function FeatureImageOverlayBadge({
|
|
|
663
636
|
{
|
|
664
637
|
className: cn(
|
|
665
638
|
"text-base leading-relaxed lg:text-lg",
|
|
666
|
-
getTextColor(background, "muted"),
|
|
667
639
|
descriptionClassName
|
|
668
640
|
),
|
|
669
641
|
children: description
|
|
@@ -687,7 +659,7 @@ function FeatureImageOverlayBadge({
|
|
|
687
659
|
"div",
|
|
688
660
|
{
|
|
689
661
|
className: cn(
|
|
690
|
-
"absolute inset-0 rounded-2xl bg-
|
|
662
|
+
"absolute inset-0 rounded-2xl bg-linear-to-t from-black/80 via-black/30 to-transparent",
|
|
691
663
|
overlayClassName
|
|
692
664
|
)
|
|
693
665
|
}
|
|
@@ -697,7 +669,7 @@ function FeatureImageOverlayBadge({
|
|
|
697
669
|
"span",
|
|
698
670
|
{
|
|
699
671
|
className: cn(
|
|
700
|
-
"ml-auto flex w-fit items-center gap-2 rounded-full bg-
|
|
672
|
+
"ml-auto flex w-fit items-center gap-2 rounded-full bg-card px-4 py-2.5 text-sm font-semibold text-card-foreground backdrop-blur-md shadow-lg",
|
|
701
673
|
avatarBadgeClassName
|
|
702
674
|
),
|
|
703
675
|
children: [
|
|
@@ -716,16 +688,7 @@ function FeatureImageOverlayBadge({
|
|
|
716
688
|
),
|
|
717
689
|
children: overlayTitle
|
|
718
690
|
}
|
|
719
|
-
) :
|
|
720
|
-
"div",
|
|
721
|
-
{
|
|
722
|
-
className: cn(
|
|
723
|
-
"text-lg font-semibold text-white lg:text-2xl xl:text-3xl",
|
|
724
|
-
overlayTitleClassName
|
|
725
|
-
),
|
|
726
|
-
children: overlayTitle
|
|
727
|
-
}
|
|
728
|
-
)),
|
|
691
|
+
) : overlayTitle),
|
|
729
692
|
overlayLinkText && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
730
693
|
pressable.Pressable,
|
|
731
694
|
{
|