@opensite/ui 1.6.2 → 1.6.3
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/feature-category-image-cards.cjs +27 -5
- package/dist/feature-category-image-cards.js +27 -5
- package/dist/feature-utility-cards-grid.cjs +1 -1
- package/dist/feature-utility-cards-grid.js +1 -1
- package/dist/footer-accordion-social.cjs +3 -1
- package/dist/footer-accordion-social.d.cts +5 -1
- package/dist/footer-accordion-social.d.ts +5 -1
- package/dist/footer-accordion-social.js +3 -1
- package/dist/footer-info-cards-accordion.cjs +39 -55
- package/dist/footer-info-cards-accordion.d.cts +5 -1
- package/dist/footer-info-cards-accordion.d.ts +5 -1
- package/dist/footer-info-cards-accordion.js +39 -55
- package/dist/hero-logo-centered-screenshot.cjs +61 -40
- package/dist/hero-logo-centered-screenshot.d.cts +1 -1
- package/dist/hero-logo-centered-screenshot.d.ts +1 -1
- package/dist/hero-logo-centered-screenshot.js +61 -40
- package/dist/hero-overlay-cta-grid.cjs +14 -8
- package/dist/hero-overlay-cta-grid.js +14 -8
- package/dist/hero-pattern-badge-logos.cjs +66 -56
- package/dist/hero-pattern-badge-logos.d.cts +1 -4
- package/dist/hero-pattern-badge-logos.d.ts +1 -4
- package/dist/hero-pattern-badge-logos.js +66 -56
- package/dist/hero-split-icon-cards.cjs +68 -17
- package/dist/hero-split-icon-cards.d.cts +7 -1
- package/dist/hero-split-icon-cards.d.ts +7 -1
- package/dist/hero-split-icon-cards.js +68 -17
- package/dist/registry.cjs +279 -131
- package/dist/registry.js +279 -131
- package/package.json +1 -1
package/dist/registry.js
CHANGED
|
@@ -27101,7 +27101,7 @@ function FeatureUtilityCardsGrid({
|
|
|
27101
27101
|
Card,
|
|
27102
27102
|
{
|
|
27103
27103
|
className: cn(
|
|
27104
|
-
"py-0 shadow-sm overflow-hidden pt-0 transition-shadow duration-300 hover:shadow-lg",
|
|
27104
|
+
"gap-0! py-0 shadow-sm overflow-hidden pt-0 transition-shadow duration-300 hover:shadow-lg",
|
|
27105
27105
|
cardClassName,
|
|
27106
27106
|
utility.className
|
|
27107
27107
|
),
|
|
@@ -28416,7 +28416,11 @@ function FeatureCategoryImageCards({
|
|
|
28416
28416
|
return features.map((feature, index) => /* @__PURE__ */ jsxs(
|
|
28417
28417
|
Card,
|
|
28418
28418
|
{
|
|
28419
|
-
className: cn(
|
|
28419
|
+
className: cn(
|
|
28420
|
+
"bg-card text-card-foreground flex flex-col gap-6 rounded-xl border pt-6 shadow-sm border-none",
|
|
28421
|
+
cardClassName,
|
|
28422
|
+
feature.className
|
|
28423
|
+
),
|
|
28420
28424
|
children: [
|
|
28421
28425
|
/* @__PURE__ */ jsxs(CardHeader, { className: "text-center", children: [
|
|
28422
28426
|
feature.title && (typeof feature.title === "string" ? /* @__PURE__ */ jsx(
|
|
@@ -28448,7 +28452,7 @@ function FeatureCategoryImageCards({
|
|
|
28448
28452
|
}
|
|
28449
28453
|
) : /* @__PURE__ */ jsx("div", { className: cn("md:text-lg", feature.categoryClassName), children: feature.category }))
|
|
28450
28454
|
] }),
|
|
28451
|
-
/* @__PURE__ */ jsx(CardContent, { className: "px-7 pb-
|
|
28455
|
+
/* @__PURE__ */ jsx(CardContent, { className: "px-7 pb-0", children: renderFeatureImage(feature) })
|
|
28452
28456
|
]
|
|
28453
28457
|
},
|
|
28454
28458
|
index
|
|
@@ -28478,7 +28482,7 @@ function FeatureCategoryImageCards({
|
|
|
28478
28482
|
"h2",
|
|
28479
28483
|
{
|
|
28480
28484
|
className: cn(
|
|
28481
|
-
"text-3xl font-semibold md:text-5xl",
|
|
28485
|
+
"text-3xl font-semibold md:text-5xl text-balance",
|
|
28482
28486
|
titleClassName
|
|
28483
28487
|
),
|
|
28484
28488
|
children: title
|
|
@@ -28487,13 +28491,31 @@ function FeatureCategoryImageCards({
|
|
|
28487
28491
|
"div",
|
|
28488
28492
|
{
|
|
28489
28493
|
className: cn(
|
|
28490
|
-
"text-3xl font-semibold md:text-5xl",
|
|
28494
|
+
"text-3xl font-semibold md:text-5xl text-balance",
|
|
28491
28495
|
titleClassName
|
|
28492
28496
|
),
|
|
28493
28497
|
children: title
|
|
28494
28498
|
}
|
|
28495
28499
|
)),
|
|
28496
|
-
description && (typeof description === "string" ? /* @__PURE__ */ jsx(
|
|
28500
|
+
description && (typeof description === "string" ? /* @__PURE__ */ jsx(
|
|
28501
|
+
"p",
|
|
28502
|
+
{
|
|
28503
|
+
className: cn(
|
|
28504
|
+
"max-w-2xl md:text-lg text-balance",
|
|
28505
|
+
descriptionClassName
|
|
28506
|
+
),
|
|
28507
|
+
children: description
|
|
28508
|
+
}
|
|
28509
|
+
) : /* @__PURE__ */ jsx(
|
|
28510
|
+
"div",
|
|
28511
|
+
{
|
|
28512
|
+
className: cn(
|
|
28513
|
+
"max-w-2xl md:text-lg text-balance",
|
|
28514
|
+
descriptionClassName
|
|
28515
|
+
),
|
|
28516
|
+
children: description
|
|
28517
|
+
}
|
|
28518
|
+
))
|
|
28497
28519
|
]
|
|
28498
28520
|
}
|
|
28499
28521
|
),
|
|
@@ -44689,7 +44711,8 @@ function FooterAccordionSocial({
|
|
|
44689
44711
|
onSuccess,
|
|
44690
44712
|
onError,
|
|
44691
44713
|
background,
|
|
44692
|
-
|
|
44714
|
+
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
44715
|
+
spacing = "py-6 md:py-32",
|
|
44693
44716
|
pattern,
|
|
44694
44717
|
patternOpacity,
|
|
44695
44718
|
patternClassName
|
|
@@ -44743,6 +44766,7 @@ function FooterAccordionSocial({
|
|
|
44743
44766
|
patternOpacity,
|
|
44744
44767
|
patternClassName,
|
|
44745
44768
|
className,
|
|
44769
|
+
containerClassName,
|
|
44746
44770
|
children: /* @__PURE__ */ jsxs("div", { className: "space-y-10", children: [
|
|
44747
44771
|
/* @__PURE__ */ jsxs("div", { className: "grid gap-10 lg:grid-cols-2 lg:gap-20", children: [
|
|
44748
44772
|
/* @__PURE__ */ jsxs("div", { className: "space-y-6", children: [
|
|
@@ -44875,7 +44899,8 @@ function FooterInfoCardsAccordion({
|
|
|
44875
44899
|
copyrightClassName,
|
|
44876
44900
|
submenuLinksClassName,
|
|
44877
44901
|
background,
|
|
44878
|
-
|
|
44902
|
+
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
44903
|
+
spacing = "py-6 md:py-32",
|
|
44879
44904
|
pattern,
|
|
44880
44905
|
patternOpacity,
|
|
44881
44906
|
optixFlowConfig
|
|
@@ -44895,6 +44920,7 @@ function FooterInfoCardsAccordion({
|
|
|
44895
44920
|
pattern,
|
|
44896
44921
|
patternOpacity,
|
|
44897
44922
|
className: cn(className),
|
|
44923
|
+
containerClassName,
|
|
44898
44924
|
children: /* @__PURE__ */ jsxs("div", { className: cn("space-y-12 lg:space-y-14", contentClassName), children: [
|
|
44899
44925
|
footerDetails?.image?.src && (newsletterTitle || newsletterDescription || subscribeText) && /* @__PURE__ */ jsxs(
|
|
44900
44926
|
"div",
|
|
@@ -45047,61 +45073,43 @@ function FooterInfoCardsAccordion({
|
|
|
45047
45073
|
brandGridClassName
|
|
45048
45074
|
),
|
|
45049
45075
|
children: [
|
|
45050
|
-
(footerDetails?.logo || footerDetails?.description) && /* @__PURE__ */ jsxs(
|
|
45051
|
-
|
|
45052
|
-
|
|
45053
|
-
|
|
45054
|
-
|
|
45055
|
-
|
|
45056
|
-
|
|
45057
|
-
|
|
45058
|
-
|
|
45059
|
-
|
|
45060
|
-
|
|
45061
|
-
logo: {
|
|
45062
|
-
...footerDetails.logo,
|
|
45063
|
-
url: footerDetails.logoUrl || "/"
|
|
45064
|
-
},
|
|
45065
|
-
logoClassName: cn(
|
|
45066
|
-
"inline-block w-full max-w-64",
|
|
45067
|
-
logoClassName
|
|
45068
|
-
),
|
|
45069
|
-
optixFlowConfig
|
|
45070
|
-
}
|
|
45076
|
+
(footerDetails?.logo || footerDetails?.description) && /* @__PURE__ */ jsxs("div", { className: cn("space-y-5", brandColumnClassName), children: [
|
|
45077
|
+
footerDetails?.logo && /* @__PURE__ */ jsx(
|
|
45078
|
+
FooterLogo,
|
|
45079
|
+
{
|
|
45080
|
+
logo: {
|
|
45081
|
+
...footerDetails.logo,
|
|
45082
|
+
url: footerDetails.logoUrl || "/"
|
|
45083
|
+
},
|
|
45084
|
+
logoClassName: cn(
|
|
45085
|
+
"inline-block w-full max-w-64",
|
|
45086
|
+
logoClassName
|
|
45071
45087
|
),
|
|
45072
|
-
|
|
45073
|
-
|
|
45074
|
-
|
|
45075
|
-
|
|
45076
|
-
|
|
45077
|
-
|
|
45078
|
-
|
|
45079
|
-
|
|
45080
|
-
|
|
45081
|
-
)
|
|
45082
|
-
|
|
45083
|
-
|
|
45084
|
-
|
|
45085
|
-
|
|
45086
|
-
|
|
45087
|
-
{
|
|
45088
|
-
|
|
45089
|
-
|
|
45090
|
-
|
|
45091
|
-
|
|
45092
|
-
|
|
45093
|
-
|
|
45094
|
-
|
|
45095
|
-
|
|
45096
|
-
|
|
45097
|
-
href: item.link,
|
|
45098
|
-
className: "transition-colors hover:text-foreground",
|
|
45099
|
-
children: item.text
|
|
45100
|
-
}
|
|
45101
|
-
) }, idx)) })
|
|
45102
|
-
] }, section.id)) })
|
|
45103
|
-
}
|
|
45104
|
-
)
|
|
45088
|
+
optixFlowConfig
|
|
45089
|
+
}
|
|
45090
|
+
),
|
|
45091
|
+
footerDetails?.description && /* @__PURE__ */ jsx(
|
|
45092
|
+
"p",
|
|
45093
|
+
{
|
|
45094
|
+
className: cn(
|
|
45095
|
+
"max-w-md text-sm leading-relaxed text-muted-foreground",
|
|
45096
|
+
brandDescriptionClassName
|
|
45097
|
+
),
|
|
45098
|
+
children: footerDetails.description
|
|
45099
|
+
}
|
|
45100
|
+
)
|
|
45101
|
+
] }),
|
|
45102
|
+
footerLinks && footerLinks.length > 0 && /* @__PURE__ */ jsx("div", { className: cn("space-y-6", accordionColumnClassName), children: /* @__PURE__ */ jsx("div", { className: "grid gap-8 grid-cols-2 md:grid-cols-3", children: footerLinks.map((section) => /* @__PURE__ */ jsxs("div", { children: [
|
|
45103
|
+
/* @__PURE__ */ jsx("h3", { className: "mb-4 text-sm font-semibold tracking-wide", children: section.title }),
|
|
45104
|
+
/* @__PURE__ */ jsx("ul", { className: "space-y-2.5 text-sm text-muted-foreground", children: section.items.map((item, idx) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
45105
|
+
Pressable,
|
|
45106
|
+
{
|
|
45107
|
+
href: item.link,
|
|
45108
|
+
className: "transition-colors hover:text-foreground",
|
|
45109
|
+
children: item.text
|
|
45110
|
+
}
|
|
45111
|
+
) }, idx)) })
|
|
45112
|
+
] }, section.id)) }) })
|
|
45105
45113
|
]
|
|
45106
45114
|
}
|
|
45107
45115
|
),
|
|
@@ -49615,7 +49623,7 @@ function HeroOverlayCtaGrid({
|
|
|
49615
49623
|
const renderCards = useMemo(() => {
|
|
49616
49624
|
if (cardsSlot) return cardsSlot;
|
|
49617
49625
|
if (!cards || cards.length === 0) return null;
|
|
49618
|
-
return /* @__PURE__ */ jsx("div", { className: "mx-auto w-full max-w-6xl overflow-hidden rounded-3xl border border-border bg-white/95 shadow-2xl px-
|
|
49626
|
+
return /* @__PURE__ */ jsx("div", { className: "mx-auto w-full max-w-6xl overflow-hidden rounded-3xl border border-border bg-white/95 shadow-2xl px-0", children: /* @__PURE__ */ jsx("div", { className: "grid grid-cols-1 divide-y divide-border md:grid-cols-3 md:divide-x md:divide-y-0", children: cards.map((card) => /* @__PURE__ */ jsxs(
|
|
49619
49627
|
Pressable,
|
|
49620
49628
|
{
|
|
49621
49629
|
href: card.href,
|
|
@@ -49625,7 +49633,7 @@ function HeroOverlayCtaGrid({
|
|
|
49625
49633
|
"div",
|
|
49626
49634
|
{
|
|
49627
49635
|
className: cn(
|
|
49628
|
-
"relative flex h-12 w-12 flex-none items-center justify-center rounded-full
|
|
49636
|
+
"relative flex h-12 w-12 flex-none items-center justify-center rounded-full bg-primary text-primary-foreground"
|
|
49629
49637
|
),
|
|
49630
49638
|
children: /* @__PURE__ */ jsx(DynamicIcon, { name: card.icon, size: 22 })
|
|
49631
49639
|
}
|
|
@@ -49671,7 +49679,7 @@ function HeroOverlayCtaGrid({
|
|
|
49671
49679
|
pattern,
|
|
49672
49680
|
patternOpacity,
|
|
49673
49681
|
className: cn(
|
|
49674
|
-
"relative flex h-full min-h-screen w-screen items-center justify-center overflow-hidden bg-black pb-0 pt-0 md:pt-0",
|
|
49682
|
+
"relative flex h-full min-h-screen w-screen items-center justify-center overflow-hidden bg-black pb-0 pt-0 md:pt-0 px-6",
|
|
49675
49683
|
className
|
|
49676
49684
|
),
|
|
49677
49685
|
children: [
|
|
@@ -49687,14 +49695,14 @@ function HeroOverlayCtaGrid({
|
|
|
49687
49695
|
initial: { opacity: 0, y: 28 },
|
|
49688
49696
|
animate: { opacity: 1, y: 0 },
|
|
49689
49697
|
transition: { duration: 0.6, ease: "easeOut" },
|
|
49690
|
-
className: "mx-auto max-w-3xl text-center text-balance text-white px-
|
|
49698
|
+
className: "mx-auto max-w-3xl text-center text-balance text-white px-0",
|
|
49691
49699
|
children: [
|
|
49692
49700
|
renderBadge,
|
|
49693
49701
|
heading && (typeof heading === "string" ? /* @__PURE__ */ jsx(
|
|
49694
49702
|
"h1",
|
|
49695
49703
|
{
|
|
49696
49704
|
className: cn(
|
|
49697
|
-
"mt-6 text-4xl font-bold leading-tight md:text-5xl lg:text-6xl",
|
|
49705
|
+
"mt-6 text-4xl font-bold leading-tight md:text-5xl lg:text-6xl text-balance",
|
|
49698
49706
|
headingClassName
|
|
49699
49707
|
),
|
|
49700
49708
|
children: heading
|
|
@@ -49703,7 +49711,7 @@ function HeroOverlayCtaGrid({
|
|
|
49703
49711
|
"h1",
|
|
49704
49712
|
{
|
|
49705
49713
|
className: cn(
|
|
49706
|
-
"mt-6 text-4xl font-bold leading-tight md:text-5xl lg:text-6xl",
|
|
49714
|
+
"mt-6 text-4xl font-bold leading-tight md:text-5xl lg:text-6xl text-balance",
|
|
49707
49715
|
headingClassName
|
|
49708
49716
|
),
|
|
49709
49717
|
children: heading
|
|
@@ -49712,13 +49720,19 @@ function HeroOverlayCtaGrid({
|
|
|
49712
49720
|
description && (typeof description === "string" ? /* @__PURE__ */ jsx(
|
|
49713
49721
|
"p",
|
|
49714
49722
|
{
|
|
49715
|
-
className: cn(
|
|
49723
|
+
className: cn(
|
|
49724
|
+
"mt-5 text-lg md:text-xl text-balance",
|
|
49725
|
+
descriptionClassName
|
|
49726
|
+
),
|
|
49716
49727
|
children: description
|
|
49717
49728
|
}
|
|
49718
49729
|
) : /* @__PURE__ */ jsx(
|
|
49719
49730
|
"div",
|
|
49720
49731
|
{
|
|
49721
|
-
className: cn(
|
|
49732
|
+
className: cn(
|
|
49733
|
+
"mt-5 text-lg md:text-xl text-balance",
|
|
49734
|
+
descriptionClassName
|
|
49735
|
+
),
|
|
49722
49736
|
children: description
|
|
49723
49737
|
}
|
|
49724
49738
|
)),
|
|
@@ -49745,28 +49759,22 @@ function HeroSplitIconCards({
|
|
|
49745
49759
|
cardItems,
|
|
49746
49760
|
cardsSlot,
|
|
49747
49761
|
background,
|
|
49748
|
-
verticalSpacing,
|
|
49749
49762
|
pattern,
|
|
49750
49763
|
patternOpacity,
|
|
49751
49764
|
className,
|
|
49752
49765
|
contentClassName,
|
|
49753
49766
|
headingClassName,
|
|
49754
|
-
descriptionClassName
|
|
49767
|
+
descriptionClassName,
|
|
49768
|
+
verticalSpacing,
|
|
49769
|
+
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
49770
|
+
spacing = "py-12 md:py-32"
|
|
49755
49771
|
}) {
|
|
49756
49772
|
const renderActions = useMemo(() => {
|
|
49757
49773
|
if (actionsSlot) return actionsSlot;
|
|
49758
49774
|
if (!primaryCta && !secondaryCta) return null;
|
|
49759
49775
|
return /* @__PURE__ */ jsxs("div", { className: "flex flex-wrap gap-4", children: [
|
|
49760
49776
|
primaryCta && /* @__PURE__ */ jsx(Pressable, { href: primaryCta.href, size: "lg", variant: "default", children: primaryCta.label }),
|
|
49761
|
-
secondaryCta && /* @__PURE__ */ jsx(
|
|
49762
|
-
Pressable,
|
|
49763
|
-
{
|
|
49764
|
-
href: secondaryCta.href,
|
|
49765
|
-
size: "lg",
|
|
49766
|
-
variant: "outline",
|
|
49767
|
-
children: secondaryCta.label
|
|
49768
|
-
}
|
|
49769
|
-
)
|
|
49777
|
+
secondaryCta && /* @__PURE__ */ jsx(Pressable, { href: secondaryCta.href, size: "lg", variant: "outline", children: secondaryCta.label })
|
|
49770
49778
|
] });
|
|
49771
49779
|
}, [actionsSlot, primaryCta, secondaryCta]);
|
|
49772
49780
|
const renderCards = useMemo(() => {
|
|
@@ -49774,10 +49782,29 @@ function HeroSplitIconCards({
|
|
|
49774
49782
|
if (!cardItems || cardItems.length === 0) return null;
|
|
49775
49783
|
return /* @__PURE__ */ jsx("div", { className: "grid grid-cols-1 gap-4", children: cardItems.map((item, idx) => {
|
|
49776
49784
|
const card = /* @__PURE__ */ jsx(Card, { className: "h-full border-border/60 px-0 py-0", children: /* @__PURE__ */ jsxs("div", { className: "flex items-start gap-4 p-6", children: [
|
|
49777
|
-
/* @__PURE__ */ jsx(
|
|
49785
|
+
/* @__PURE__ */ jsx(
|
|
49786
|
+
"div",
|
|
49787
|
+
{
|
|
49788
|
+
className: cn(
|
|
49789
|
+
"flex h-14 w-14 items-center justify-center rounded-xl",
|
|
49790
|
+
`${getAccentColor(background)}/10`,
|
|
49791
|
+
getAccentColor(background)
|
|
49792
|
+
),
|
|
49793
|
+
children: /* @__PURE__ */ jsx(DynamicIcon, { name: item.icon, size: 24 })
|
|
49794
|
+
}
|
|
49795
|
+
),
|
|
49778
49796
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
49779
49797
|
/* @__PURE__ */ jsx("h3", { className: "text-lg font-bold ", children: item.title }),
|
|
49780
|
-
item.subtitle ? /* @__PURE__ */ jsx(
|
|
49798
|
+
item.subtitle ? /* @__PURE__ */ jsx(
|
|
49799
|
+
"p",
|
|
49800
|
+
{
|
|
49801
|
+
className: cn(
|
|
49802
|
+
"mt-2 text-sm",
|
|
49803
|
+
getTextColor(background, "muted")
|
|
49804
|
+
),
|
|
49805
|
+
children: item.subtitle
|
|
49806
|
+
}
|
|
49807
|
+
) : null
|
|
49781
49808
|
] })
|
|
49782
49809
|
] }) });
|
|
49783
49810
|
return item.href ? /* @__PURE__ */ jsx(Pressable, { href: item.href, className: "block", children: card }, idx) : /* @__PURE__ */ jsx("div", { children: card }, idx);
|
|
@@ -49787,15 +49814,53 @@ function HeroSplitIconCards({
|
|
|
49787
49814
|
Section,
|
|
49788
49815
|
{
|
|
49789
49816
|
background,
|
|
49790
|
-
spacing: verticalSpacing,
|
|
49817
|
+
spacing: verticalSpacing || spacing,
|
|
49791
49818
|
pattern,
|
|
49792
49819
|
patternOpacity,
|
|
49793
49820
|
className: cn("overflow-hidden", className),
|
|
49821
|
+
containerClassName,
|
|
49794
49822
|
children: /* @__PURE__ */ jsxs("div", { className: "grid grid-cols-1 gap-10 lg:grid-cols-2 lg:items-center", children: [
|
|
49795
49823
|
/* @__PURE__ */ jsx("div", { className: cn("space-y-6", contentClassName), children: children ? children : /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
49796
|
-
eyebrow && (typeof eyebrow === "string" ? /* @__PURE__ */ jsx(
|
|
49797
|
-
|
|
49798
|
-
|
|
49824
|
+
eyebrow && (typeof eyebrow === "string" ? /* @__PURE__ */ jsx(
|
|
49825
|
+
"p",
|
|
49826
|
+
{
|
|
49827
|
+
className: cn(
|
|
49828
|
+
"text-xs font-semibold uppercase tracking-[0.25em]",
|
|
49829
|
+
getAccentColor(background)
|
|
49830
|
+
),
|
|
49831
|
+
children: eyebrow
|
|
49832
|
+
}
|
|
49833
|
+
) : eyebrow),
|
|
49834
|
+
heading && (typeof heading === "string" ? /* @__PURE__ */ jsx(
|
|
49835
|
+
"h2",
|
|
49836
|
+
{
|
|
49837
|
+
className: cn(
|
|
49838
|
+
"text-3xl font-bold md:text-4xl",
|
|
49839
|
+
headingClassName
|
|
49840
|
+
),
|
|
49841
|
+
children: heading
|
|
49842
|
+
}
|
|
49843
|
+
) : /* @__PURE__ */ jsx(
|
|
49844
|
+
"h2",
|
|
49845
|
+
{
|
|
49846
|
+
className: cn(
|
|
49847
|
+
"text-3xl font-bold md:text-4xl",
|
|
49848
|
+
headingClassName
|
|
49849
|
+
),
|
|
49850
|
+
children: heading
|
|
49851
|
+
}
|
|
49852
|
+
)),
|
|
49853
|
+
description && (typeof description === "string" ? /* @__PURE__ */ jsx(
|
|
49854
|
+
"p",
|
|
49855
|
+
{
|
|
49856
|
+
className: cn(
|
|
49857
|
+
"text-lg",
|
|
49858
|
+
getTextColor(background, "muted"),
|
|
49859
|
+
descriptionClassName
|
|
49860
|
+
),
|
|
49861
|
+
children: description
|
|
49862
|
+
}
|
|
49863
|
+
) : /* @__PURE__ */ jsx("div", { className: descriptionClassName, children: description })),
|
|
49799
49864
|
renderActions
|
|
49800
49865
|
] }) }),
|
|
49801
49866
|
renderCards
|
|
@@ -50583,14 +50648,13 @@ function HeroPatternBadgeLogos({
|
|
|
50583
50648
|
actionsSlot,
|
|
50584
50649
|
logos,
|
|
50585
50650
|
logosSlot,
|
|
50586
|
-
logosTagline
|
|
50587
|
-
backgroundImageUrl = "https://cdn.ing/assets/files/record/286186/nbdflpgp4ostrno079hygibsflp3",
|
|
50651
|
+
logosTagline,
|
|
50588
50652
|
background,
|
|
50589
|
-
|
|
50653
|
+
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
50654
|
+
spacing = "py-12 md:py-32",
|
|
50590
50655
|
pattern,
|
|
50591
50656
|
patternOpacity,
|
|
50592
50657
|
className,
|
|
50593
|
-
containerClassName,
|
|
50594
50658
|
contentClassName,
|
|
50595
50659
|
headingClassName,
|
|
50596
50660
|
descriptionClassName,
|
|
@@ -50604,7 +50668,14 @@ function HeroPatternBadgeLogos({
|
|
|
50604
50668
|
if (actionsSlot) return actionsSlot;
|
|
50605
50669
|
if (!actions || actions.length === 0) return null;
|
|
50606
50670
|
return actions.map((action, index) => {
|
|
50607
|
-
const {
|
|
50671
|
+
const {
|
|
50672
|
+
label,
|
|
50673
|
+
icon,
|
|
50674
|
+
iconAfter,
|
|
50675
|
+
children,
|
|
50676
|
+
className: actionClassName,
|
|
50677
|
+
...pressableProps
|
|
50678
|
+
} = action;
|
|
50608
50679
|
return /* @__PURE__ */ jsx(
|
|
50609
50680
|
Pressable,
|
|
50610
50681
|
{
|
|
@@ -50661,7 +50732,7 @@ function HeroPatternBadgeLogos({
|
|
|
50661
50732
|
return /* @__PURE__ */ jsx("div", { className: logoClassName, children: imgElement }, index);
|
|
50662
50733
|
});
|
|
50663
50734
|
}, [logosSlot, logos, optixFlowConfig]);
|
|
50664
|
-
return /* @__PURE__ */
|
|
50735
|
+
return /* @__PURE__ */ jsx(
|
|
50665
50736
|
Section,
|
|
50666
50737
|
{
|
|
50667
50738
|
background,
|
|
@@ -50669,31 +50740,61 @@ function HeroPatternBadgeLogos({
|
|
|
50669
50740
|
pattern,
|
|
50670
50741
|
patternOpacity,
|
|
50671
50742
|
className: cn("relative p-0", className),
|
|
50672
|
-
|
|
50673
|
-
|
|
50674
|
-
|
|
50675
|
-
|
|
50676
|
-
|
|
50677
|
-
|
|
50678
|
-
|
|
50679
|
-
|
|
50743
|
+
containerClassName,
|
|
50744
|
+
children: /* @__PURE__ */ jsx("div", { className: cn("relative"), children: /* @__PURE__ */ jsx("div", { className: "mx-auto flex max-w-5xl flex-col items-center", children: /* @__PURE__ */ jsxs(
|
|
50745
|
+
"div",
|
|
50746
|
+
{
|
|
50747
|
+
className: cn(
|
|
50748
|
+
"z-10 mx-auto flex max-w-5xl flex-col items-center gap-6 text-center",
|
|
50749
|
+
contentClassName
|
|
50750
|
+
),
|
|
50751
|
+
children: [
|
|
50752
|
+
badge && /* @__PURE__ */ jsx("div", { className: badgeClassName, children: typeof badge === "string" ? /* @__PURE__ */ jsx(Badge, { variant: "default", children: badge }) : badge }),
|
|
50753
|
+
/* @__PURE__ */ jsxs("div", { children: [
|
|
50754
|
+
heading && (typeof heading === "string" ? /* @__PURE__ */ jsx(
|
|
50755
|
+
"h1",
|
|
50756
|
+
{
|
|
50757
|
+
className: cn(
|
|
50758
|
+
"mb-6 text-4xl font-bold tracking-tight text-balance md:text-5xl lg:text-7xl",
|
|
50759
|
+
headingClassName
|
|
50760
|
+
),
|
|
50761
|
+
children: heading
|
|
50762
|
+
}
|
|
50763
|
+
) : /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading })),
|
|
50764
|
+
description && (typeof description === "string" ? /* @__PURE__ */ jsx(
|
|
50765
|
+
"p",
|
|
50766
|
+
{
|
|
50767
|
+
className: cn(
|
|
50768
|
+
"mx-auto max-w-2xl md:text-lg lg:text-xl text-balance",
|
|
50769
|
+
descriptionClassName
|
|
50770
|
+
),
|
|
50771
|
+
children: description
|
|
50772
|
+
}
|
|
50773
|
+
) : /* @__PURE__ */ jsx("div", { className: descriptionClassName, children: description }))
|
|
50774
|
+
] }),
|
|
50775
|
+
(actionsSlot || actions && actions.length > 0) && /* @__PURE__ */ jsx(
|
|
50776
|
+
"div",
|
|
50777
|
+
{
|
|
50778
|
+
className: cn("mt-6 flex items-center gap-4", actionsClassName),
|
|
50779
|
+
children: renderActions
|
|
50780
|
+
}
|
|
50680
50781
|
),
|
|
50681
|
-
|
|
50682
|
-
|
|
50683
|
-
|
|
50684
|
-
|
|
50685
|
-
|
|
50686
|
-
|
|
50687
|
-
|
|
50688
|
-
|
|
50689
|
-
|
|
50690
|
-
|
|
50691
|
-
|
|
50692
|
-
|
|
50693
|
-
|
|
50694
|
-
]
|
|
50695
|
-
|
|
50696
|
-
|
|
50782
|
+
(logosSlot || logos && logos.length > 0 || logosTagline) && /* @__PURE__ */ jsxs(
|
|
50783
|
+
"div",
|
|
50784
|
+
{
|
|
50785
|
+
className: cn(
|
|
50786
|
+
"mt-12 flex flex-col items-center gap-4 lg:mt-16",
|
|
50787
|
+
logosClassName
|
|
50788
|
+
),
|
|
50789
|
+
children: [
|
|
50790
|
+
logosTagline && (typeof logosTagline === "string" ? /* @__PURE__ */ jsx("p", { className: cn("text-center text-sm"), children: logosTagline }) : logosTagline),
|
|
50791
|
+
/* @__PURE__ */ jsx("div", { className: "grid grid-cols-2 place-items-center items-center justify-center gap-6 opacity-80 sm:grid-cols-4 sm:gap-4", children: renderLogos })
|
|
50792
|
+
]
|
|
50793
|
+
}
|
|
50794
|
+
)
|
|
50795
|
+
]
|
|
50796
|
+
}
|
|
50797
|
+
) }) })
|
|
50697
50798
|
}
|
|
50698
50799
|
);
|
|
50699
50800
|
}
|
|
@@ -50707,11 +50808,11 @@ function HeroLogoCenteredScreenshot({
|
|
|
50707
50808
|
image,
|
|
50708
50809
|
imageSlot,
|
|
50709
50810
|
background,
|
|
50710
|
-
|
|
50811
|
+
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
50812
|
+
spacing = "py-6 md:py-32",
|
|
50711
50813
|
pattern,
|
|
50712
50814
|
patternOpacity,
|
|
50713
50815
|
className,
|
|
50714
|
-
containerClassName,
|
|
50715
50816
|
contentClassName,
|
|
50716
50817
|
headingClassName,
|
|
50717
50818
|
descriptionClassName,
|
|
@@ -50727,7 +50828,7 @@ function HeroLogoCenteredScreenshot({
|
|
|
50727
50828
|
{
|
|
50728
50829
|
src: logoSrc,
|
|
50729
50830
|
alt: logo.alt,
|
|
50730
|
-
className: cn("h-10 md:h-16", logo.className),
|
|
50831
|
+
className: cn("h-10 md:h-16 object-contain", logo.className),
|
|
50731
50832
|
optixFlowConfig
|
|
50732
50833
|
}
|
|
50733
50834
|
);
|
|
@@ -50735,7 +50836,14 @@ function HeroLogoCenteredScreenshot({
|
|
|
50735
50836
|
const renderAction = useMemo(() => {
|
|
50736
50837
|
if (actionSlot) return actionSlot;
|
|
50737
50838
|
if (!action) return null;
|
|
50738
|
-
const {
|
|
50839
|
+
const {
|
|
50840
|
+
label,
|
|
50841
|
+
icon,
|
|
50842
|
+
iconAfter,
|
|
50843
|
+
children,
|
|
50844
|
+
className: actionClassName,
|
|
50845
|
+
...pressableProps
|
|
50846
|
+
} = action;
|
|
50739
50847
|
return /* @__PURE__ */ jsx(Pressable, { asButton: true, className: actionClassName, ...pressableProps, children: children ?? /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
50740
50848
|
icon,
|
|
50741
50849
|
label,
|
|
@@ -50750,7 +50858,11 @@ function HeroLogoCenteredScreenshot({
|
|
|
50750
50858
|
{
|
|
50751
50859
|
src: image.src,
|
|
50752
50860
|
alt: image.alt,
|
|
50753
|
-
className: cn(
|
|
50861
|
+
className: cn(
|
|
50862
|
+
"mt-20 w-full rounded-xl object-cover h-auto shadow-xl",
|
|
50863
|
+
imageClassName,
|
|
50864
|
+
image.className
|
|
50865
|
+
),
|
|
50754
50866
|
optixFlowConfig
|
|
50755
50867
|
}
|
|
50756
50868
|
);
|
|
@@ -50763,15 +50875,51 @@ function HeroLogoCenteredScreenshot({
|
|
|
50763
50875
|
pattern,
|
|
50764
50876
|
patternOpacity,
|
|
50765
50877
|
className: cn(className),
|
|
50766
|
-
children: /* @__PURE__ */ jsx("div", { className: "
|
|
50767
|
-
/* @__PURE__ */ jsx("div", { className: "mx-auto flex max-w-5xl flex-col items-center", children: /* @__PURE__ */ jsxs(
|
|
50768
|
-
|
|
50769
|
-
|
|
50770
|
-
|
|
50771
|
-
|
|
50772
|
-
|
|
50773
|
-
|
|
50774
|
-
|
|
50878
|
+
children: /* @__PURE__ */ jsx("div", { className: "relative", children: /* @__PURE__ */ jsxs("div", { className: cn("container max-w-7xl", containerClassName), children: [
|
|
50879
|
+
/* @__PURE__ */ jsx("div", { className: "mx-auto flex max-w-5xl flex-col items-center", children: /* @__PURE__ */ jsxs(
|
|
50880
|
+
"div",
|
|
50881
|
+
{
|
|
50882
|
+
className: cn(
|
|
50883
|
+
"z-10 flex flex-col items-center gap-6 text-center",
|
|
50884
|
+
contentClassName
|
|
50885
|
+
),
|
|
50886
|
+
children: [
|
|
50887
|
+
renderLogo,
|
|
50888
|
+
/* @__PURE__ */ jsxs("div", { className: "flex flex-col justify-center items-center w-full text-balance", children: [
|
|
50889
|
+
heading && (typeof heading === "string" ? /* @__PURE__ */ jsx(
|
|
50890
|
+
"h1",
|
|
50891
|
+
{
|
|
50892
|
+
className: cn(
|
|
50893
|
+
"mb-4 text-3xl font-medium lg:text-5xl",
|
|
50894
|
+
headingClassName
|
|
50895
|
+
),
|
|
50896
|
+
children: heading
|
|
50897
|
+
}
|
|
50898
|
+
) : /* @__PURE__ */ jsx(
|
|
50899
|
+
"h1",
|
|
50900
|
+
{
|
|
50901
|
+
className: cn(
|
|
50902
|
+
"mb-4 text-3xl font-medium lg:text-5xl",
|
|
50903
|
+
headingClassName
|
|
50904
|
+
),
|
|
50905
|
+
children: heading
|
|
50906
|
+
}
|
|
50907
|
+
)),
|
|
50908
|
+
description && (typeof description === "string" ? /* @__PURE__ */ jsx(
|
|
50909
|
+
"p",
|
|
50910
|
+
{
|
|
50911
|
+
className: cn(
|
|
50912
|
+
"max-w-3xl lg:text-xl",
|
|
50913
|
+
descriptionClassName
|
|
50914
|
+
),
|
|
50915
|
+
children: description
|
|
50916
|
+
}
|
|
50917
|
+
) : /* @__PURE__ */ jsx("div", { className: descriptionClassName, children: description }))
|
|
50918
|
+
] }),
|
|
50919
|
+
renderAction
|
|
50920
|
+
]
|
|
50921
|
+
}
|
|
50922
|
+
) }),
|
|
50775
50923
|
renderImage
|
|
50776
50924
|
] }) })
|
|
50777
50925
|
}
|