@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/registry.cjs CHANGED
@@ -27141,7 +27141,7 @@ function FeatureUtilityCardsGrid({
27141
27141
  Card,
27142
27142
  {
27143
27143
  className: cn(
27144
- "py-0 shadow-sm overflow-hidden pt-0 transition-shadow duration-300 hover:shadow-lg",
27144
+ "gap-0! py-0 shadow-sm overflow-hidden pt-0 transition-shadow duration-300 hover:shadow-lg",
27145
27145
  cardClassName,
27146
27146
  utility.className
27147
27147
  ),
@@ -28456,7 +28456,11 @@ function FeatureCategoryImageCards({
28456
28456
  return features.map((feature, index) => /* @__PURE__ */ jsxRuntime.jsxs(
28457
28457
  Card,
28458
28458
  {
28459
- className: cn("border-none", cardClassName, feature.className),
28459
+ className: cn(
28460
+ "bg-card text-card-foreground flex flex-col gap-6 rounded-xl border pt-6 shadow-sm border-none",
28461
+ cardClassName,
28462
+ feature.className
28463
+ ),
28460
28464
  children: [
28461
28465
  /* @__PURE__ */ jsxRuntime.jsxs(CardHeader, { className: "text-center", children: [
28462
28466
  feature.title && (typeof feature.title === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
@@ -28488,7 +28492,7 @@ function FeatureCategoryImageCards({
28488
28492
  }
28489
28493
  ) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("md:text-lg", feature.categoryClassName), children: feature.category }))
28490
28494
  ] }),
28491
- /* @__PURE__ */ jsxRuntime.jsx(CardContent, { className: "px-7 pb-7", children: renderFeatureImage(feature) })
28495
+ /* @__PURE__ */ jsxRuntime.jsx(CardContent, { className: "px-7 pb-0", children: renderFeatureImage(feature) })
28492
28496
  ]
28493
28497
  },
28494
28498
  index
@@ -28518,7 +28522,7 @@ function FeatureCategoryImageCards({
28518
28522
  "h2",
28519
28523
  {
28520
28524
  className: cn(
28521
- "text-3xl font-semibold md:text-5xl",
28525
+ "text-3xl font-semibold md:text-5xl text-balance",
28522
28526
  titleClassName
28523
28527
  ),
28524
28528
  children: title
@@ -28527,13 +28531,31 @@ function FeatureCategoryImageCards({
28527
28531
  "div",
28528
28532
  {
28529
28533
  className: cn(
28530
- "text-3xl font-semibold md:text-5xl",
28534
+ "text-3xl font-semibold md:text-5xl text-balance",
28531
28535
  titleClassName
28532
28536
  ),
28533
28537
  children: title
28534
28538
  }
28535
28539
  )),
28536
- description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("max-w-2xl md:text-lg", descriptionClassName), children: description }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("max-w-2xl md:text-lg", descriptionClassName), children: description }))
28540
+ description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
28541
+ "p",
28542
+ {
28543
+ className: cn(
28544
+ "max-w-2xl md:text-lg text-balance",
28545
+ descriptionClassName
28546
+ ),
28547
+ children: description
28548
+ }
28549
+ ) : /* @__PURE__ */ jsxRuntime.jsx(
28550
+ "div",
28551
+ {
28552
+ className: cn(
28553
+ "max-w-2xl md:text-lg text-balance",
28554
+ descriptionClassName
28555
+ ),
28556
+ children: description
28557
+ }
28558
+ ))
28537
28559
  ]
28538
28560
  }
28539
28561
  ),
@@ -44729,7 +44751,8 @@ function FooterAccordionSocial({
44729
44751
  onSuccess,
44730
44752
  onError,
44731
44753
  background,
44732
- spacing,
44754
+ containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
44755
+ spacing = "py-6 md:py-32",
44733
44756
  pattern,
44734
44757
  patternOpacity,
44735
44758
  patternClassName
@@ -44783,6 +44806,7 @@ function FooterAccordionSocial({
44783
44806
  patternOpacity,
44784
44807
  patternClassName,
44785
44808
  className,
44809
+ containerClassName,
44786
44810
  children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-10", children: [
44787
44811
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid gap-10 lg:grid-cols-2 lg:gap-20", children: [
44788
44812
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-6", children: [
@@ -44915,7 +44939,8 @@ function FooterInfoCardsAccordion({
44915
44939
  copyrightClassName,
44916
44940
  submenuLinksClassName,
44917
44941
  background,
44918
- spacing,
44942
+ containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
44943
+ spacing = "py-6 md:py-32",
44919
44944
  pattern,
44920
44945
  patternOpacity,
44921
44946
  optixFlowConfig
@@ -44935,6 +44960,7 @@ function FooterInfoCardsAccordion({
44935
44960
  pattern,
44936
44961
  patternOpacity,
44937
44962
  className: cn(className),
44963
+ containerClassName,
44938
44964
  children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("space-y-12 lg:space-y-14", contentClassName), children: [
44939
44965
  footerDetails?.image?.src && (newsletterTitle || newsletterDescription || subscribeText) && /* @__PURE__ */ jsxRuntime.jsxs(
44940
44966
  "div",
@@ -45087,61 +45113,43 @@ function FooterInfoCardsAccordion({
45087
45113
  brandGridClassName
45088
45114
  ),
45089
45115
  children: [
45090
- (footerDetails?.logo || footerDetails?.description) && /* @__PURE__ */ jsxRuntime.jsxs(
45091
- "div",
45092
- {
45093
- className: cn(
45094
- "space-y-5",
45095
- brandColumnClassName
45096
- ),
45097
- children: [
45098
- footerDetails?.logo && /* @__PURE__ */ jsxRuntime.jsx(
45099
- FooterLogo,
45100
- {
45101
- logo: {
45102
- ...footerDetails.logo,
45103
- url: footerDetails.logoUrl || "/"
45104
- },
45105
- logoClassName: cn(
45106
- "inline-block w-full max-w-64",
45107
- logoClassName
45108
- ),
45109
- optixFlowConfig
45110
- }
45116
+ (footerDetails?.logo || footerDetails?.description) && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("space-y-5", brandColumnClassName), children: [
45117
+ footerDetails?.logo && /* @__PURE__ */ jsxRuntime.jsx(
45118
+ FooterLogo,
45119
+ {
45120
+ logo: {
45121
+ ...footerDetails.logo,
45122
+ url: footerDetails.logoUrl || "/"
45123
+ },
45124
+ logoClassName: cn(
45125
+ "inline-block w-full max-w-64",
45126
+ logoClassName
45111
45127
  ),
45112
- footerDetails?.description && /* @__PURE__ */ jsxRuntime.jsx(
45113
- "p",
45114
- {
45115
- className: cn(
45116
- "max-w-md text-sm leading-relaxed text-muted-foreground",
45117
- brandDescriptionClassName
45118
- ),
45119
- children: footerDetails.description
45120
- }
45121
- )
45122
- ]
45123
- }
45124
- ),
45125
- footerLinks && footerLinks.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(
45126
- "div",
45127
- {
45128
- className: cn(
45129
- "space-y-6",
45130
- accordionColumnClassName
45131
- ),
45132
- children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid gap-8 sm:grid-cols-2 lg:grid-cols-3", children: footerLinks.map((section) => /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
45133
- /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "mb-4 text-sm font-semibold tracking-wide", children: section.title }),
45134
- /* @__PURE__ */ jsxRuntime.jsx("ul", { className: "space-y-2.5 text-sm text-muted-foreground", children: section.items.map((item, idx) => /* @__PURE__ */ jsxRuntime.jsx("li", { children: /* @__PURE__ */ jsxRuntime.jsx(
45135
- Pressable,
45136
- {
45137
- href: item.link,
45138
- className: "transition-colors hover:text-foreground",
45139
- children: item.text
45140
- }
45141
- ) }, idx)) })
45142
- ] }, section.id)) })
45143
- }
45144
- )
45128
+ optixFlowConfig
45129
+ }
45130
+ ),
45131
+ footerDetails?.description && /* @__PURE__ */ jsxRuntime.jsx(
45132
+ "p",
45133
+ {
45134
+ className: cn(
45135
+ "max-w-md text-sm leading-relaxed text-muted-foreground",
45136
+ brandDescriptionClassName
45137
+ ),
45138
+ children: footerDetails.description
45139
+ }
45140
+ )
45141
+ ] }),
45142
+ footerLinks && footerLinks.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("space-y-6", accordionColumnClassName), children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid gap-8 grid-cols-2 md:grid-cols-3", children: footerLinks.map((section) => /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
45143
+ /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "mb-4 text-sm font-semibold tracking-wide", children: section.title }),
45144
+ /* @__PURE__ */ jsxRuntime.jsx("ul", { className: "space-y-2.5 text-sm text-muted-foreground", children: section.items.map((item, idx) => /* @__PURE__ */ jsxRuntime.jsx("li", { children: /* @__PURE__ */ jsxRuntime.jsx(
45145
+ Pressable,
45146
+ {
45147
+ href: item.link,
45148
+ className: "transition-colors hover:text-foreground",
45149
+ children: item.text
45150
+ }
45151
+ ) }, idx)) })
45152
+ ] }, section.id)) }) })
45145
45153
  ]
45146
45154
  }
45147
45155
  ),
@@ -49655,7 +49663,7 @@ function HeroOverlayCtaGrid({
49655
49663
  const renderCards = React52.useMemo(() => {
49656
49664
  if (cardsSlot) return cardsSlot;
49657
49665
  if (!cards || cards.length === 0) return null;
49658
- return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mx-auto w-full max-w-6xl overflow-hidden rounded-3xl border border-border bg-white/95 shadow-2xl px-6 md:px-20", children: /* @__PURE__ */ jsxRuntime.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__ */ jsxRuntime.jsxs(
49666
+ return /* @__PURE__ */ jsxRuntime.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__ */ jsxRuntime.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__ */ jsxRuntime.jsxs(
49659
49667
  Pressable,
49660
49668
  {
49661
49669
  href: card.href,
@@ -49665,7 +49673,7 @@ function HeroOverlayCtaGrid({
49665
49673
  "div",
49666
49674
  {
49667
49675
  className: cn(
49668
- "relative flex h-12 w-12 flex-none items-center justify-center rounded-full transition-colors group-hover:text-black bg-white"
49676
+ "relative flex h-12 w-12 flex-none items-center justify-center rounded-full bg-primary text-primary-foreground"
49669
49677
  ),
49670
49678
  children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: card.icon, size: 22 })
49671
49679
  }
@@ -49711,7 +49719,7 @@ function HeroOverlayCtaGrid({
49711
49719
  pattern,
49712
49720
  patternOpacity,
49713
49721
  className: cn(
49714
- "relative flex h-full min-h-screen w-screen items-center justify-center overflow-hidden bg-black pb-0 pt-0 md:pt-0",
49722
+ "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",
49715
49723
  className
49716
49724
  ),
49717
49725
  children: [
@@ -49727,14 +49735,14 @@ function HeroOverlayCtaGrid({
49727
49735
  initial: { opacity: 0, y: 28 },
49728
49736
  animate: { opacity: 1, y: 0 },
49729
49737
  transition: { duration: 0.6, ease: "easeOut" },
49730
- className: "mx-auto max-w-3xl text-center text-balance text-white px-6 md:px-20",
49738
+ className: "mx-auto max-w-3xl text-center text-balance text-white px-0",
49731
49739
  children: [
49732
49740
  renderBadge,
49733
49741
  heading && (typeof heading === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
49734
49742
  "h1",
49735
49743
  {
49736
49744
  className: cn(
49737
- "mt-6 text-4xl font-bold leading-tight md:text-5xl lg:text-6xl",
49745
+ "mt-6 text-4xl font-bold leading-tight md:text-5xl lg:text-6xl text-balance",
49738
49746
  headingClassName
49739
49747
  ),
49740
49748
  children: heading
@@ -49743,7 +49751,7 @@ function HeroOverlayCtaGrid({
49743
49751
  "h1",
49744
49752
  {
49745
49753
  className: cn(
49746
- "mt-6 text-4xl font-bold leading-tight md:text-5xl lg:text-6xl",
49754
+ "mt-6 text-4xl font-bold leading-tight md:text-5xl lg:text-6xl text-balance",
49747
49755
  headingClassName
49748
49756
  ),
49749
49757
  children: heading
@@ -49752,13 +49760,19 @@ function HeroOverlayCtaGrid({
49752
49760
  description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
49753
49761
  "p",
49754
49762
  {
49755
- className: cn("mt-5 text-lg md:text-xl", descriptionClassName),
49763
+ className: cn(
49764
+ "mt-5 text-lg md:text-xl text-balance",
49765
+ descriptionClassName
49766
+ ),
49756
49767
  children: description
49757
49768
  }
49758
49769
  ) : /* @__PURE__ */ jsxRuntime.jsx(
49759
49770
  "div",
49760
49771
  {
49761
- className: cn("mt-5 text-lg md:text-xl", descriptionClassName),
49772
+ className: cn(
49773
+ "mt-5 text-lg md:text-xl text-balance",
49774
+ descriptionClassName
49775
+ ),
49762
49776
  children: description
49763
49777
  }
49764
49778
  )),
@@ -49785,28 +49799,22 @@ function HeroSplitIconCards({
49785
49799
  cardItems,
49786
49800
  cardsSlot,
49787
49801
  background,
49788
- verticalSpacing,
49789
49802
  pattern,
49790
49803
  patternOpacity,
49791
49804
  className,
49792
49805
  contentClassName,
49793
49806
  headingClassName,
49794
- descriptionClassName
49807
+ descriptionClassName,
49808
+ verticalSpacing,
49809
+ containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
49810
+ spacing = "py-12 md:py-32"
49795
49811
  }) {
49796
49812
  const renderActions = React52.useMemo(() => {
49797
49813
  if (actionsSlot) return actionsSlot;
49798
49814
  if (!primaryCta && !secondaryCta) return null;
49799
49815
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-wrap gap-4", children: [
49800
49816
  primaryCta && /* @__PURE__ */ jsxRuntime.jsx(Pressable, { href: primaryCta.href, size: "lg", variant: "default", children: primaryCta.label }),
49801
- secondaryCta && /* @__PURE__ */ jsxRuntime.jsx(
49802
- Pressable,
49803
- {
49804
- href: secondaryCta.href,
49805
- size: "lg",
49806
- variant: "outline",
49807
- children: secondaryCta.label
49808
- }
49809
- )
49817
+ secondaryCta && /* @__PURE__ */ jsxRuntime.jsx(Pressable, { href: secondaryCta.href, size: "lg", variant: "outline", children: secondaryCta.label })
49810
49818
  ] });
49811
49819
  }, [actionsSlot, primaryCta, secondaryCta]);
49812
49820
  const renderCards = React52.useMemo(() => {
@@ -49814,10 +49822,29 @@ function HeroSplitIconCards({
49814
49822
  if (!cardItems || cardItems.length === 0) return null;
49815
49823
  return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-1 gap-4", children: cardItems.map((item, idx) => {
49816
49824
  const card = /* @__PURE__ */ jsxRuntime.jsx(Card, { className: "h-full border-border/60 px-0 py-0", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-start gap-4 p-6", children: [
49817
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("flex h-14 w-14 items-center justify-center rounded-xl", `${getAccentColor(background)}/10`, getAccentColor(background)), children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: item.icon, size: 24 }) }),
49825
+ /* @__PURE__ */ jsxRuntime.jsx(
49826
+ "div",
49827
+ {
49828
+ className: cn(
49829
+ "flex h-14 w-14 items-center justify-center rounded-xl",
49830
+ `${getAccentColor(background)}/10`,
49831
+ getAccentColor(background)
49832
+ ),
49833
+ children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: item.icon, size: 24 })
49834
+ }
49835
+ ),
49818
49836
  /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
49819
49837
  /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-lg font-bold ", children: item.title }),
49820
- item.subtitle ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("mt-2 text-sm", getTextColor(background, "muted")), children: item.subtitle }) : null
49838
+ item.subtitle ? /* @__PURE__ */ jsxRuntime.jsx(
49839
+ "p",
49840
+ {
49841
+ className: cn(
49842
+ "mt-2 text-sm",
49843
+ getTextColor(background, "muted")
49844
+ ),
49845
+ children: item.subtitle
49846
+ }
49847
+ ) : null
49821
49848
  ] })
49822
49849
  ] }) });
49823
49850
  return item.href ? /* @__PURE__ */ jsxRuntime.jsx(Pressable, { href: item.href, className: "block", children: card }, idx) : /* @__PURE__ */ jsxRuntime.jsx("div", { children: card }, idx);
@@ -49827,15 +49854,53 @@ function HeroSplitIconCards({
49827
49854
  Section,
49828
49855
  {
49829
49856
  background,
49830
- spacing: verticalSpacing,
49857
+ spacing: verticalSpacing || spacing,
49831
49858
  pattern,
49832
49859
  patternOpacity,
49833
49860
  className: cn("overflow-hidden", className),
49861
+ containerClassName,
49834
49862
  children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid grid-cols-1 gap-10 lg:grid-cols-2 lg:items-center", children: [
49835
49863
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("space-y-6", contentClassName), children: children ? children : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
49836
- eyebrow && (typeof eyebrow === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("text-xs font-semibold uppercase tracking-[0.25em]", getAccentColor(background)), children: eyebrow }) : eyebrow),
49837
- heading && (typeof heading === "string" ? /* @__PURE__ */ jsxRuntime.jsx("h2", { className: cn("text-3xl font-bold md:text-4xl", headingClassName), children: heading }) : /* @__PURE__ */ jsxRuntime.jsx("h2", { className: cn("text-3xl font-bold md:text-4xl", headingClassName), children: heading })),
49838
- description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("text-lg", getTextColor(background, "muted"), descriptionClassName), children: description }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: descriptionClassName, children: description })),
49864
+ eyebrow && (typeof eyebrow === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
49865
+ "p",
49866
+ {
49867
+ className: cn(
49868
+ "text-xs font-semibold uppercase tracking-[0.25em]",
49869
+ getAccentColor(background)
49870
+ ),
49871
+ children: eyebrow
49872
+ }
49873
+ ) : eyebrow),
49874
+ heading && (typeof heading === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
49875
+ "h2",
49876
+ {
49877
+ className: cn(
49878
+ "text-3xl font-bold md:text-4xl",
49879
+ headingClassName
49880
+ ),
49881
+ children: heading
49882
+ }
49883
+ ) : /* @__PURE__ */ jsxRuntime.jsx(
49884
+ "h2",
49885
+ {
49886
+ className: cn(
49887
+ "text-3xl font-bold md:text-4xl",
49888
+ headingClassName
49889
+ ),
49890
+ children: heading
49891
+ }
49892
+ )),
49893
+ description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
49894
+ "p",
49895
+ {
49896
+ className: cn(
49897
+ "text-lg",
49898
+ getTextColor(background, "muted"),
49899
+ descriptionClassName
49900
+ ),
49901
+ children: description
49902
+ }
49903
+ ) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: descriptionClassName, children: description })),
49839
49904
  renderActions
49840
49905
  ] }) }),
49841
49906
  renderCards
@@ -50623,14 +50688,13 @@ function HeroPatternBadgeLogos({
50623
50688
  actionsSlot,
50624
50689
  logos,
50625
50690
  logosSlot,
50626
- logosTagline = "Powering the next generation of digital products",
50627
- backgroundImageUrl = "https://cdn.ing/assets/files/record/286186/nbdflpgp4ostrno079hygibsflp3",
50691
+ logosTagline,
50628
50692
  background,
50629
- spacing,
50693
+ containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
50694
+ spacing = "py-12 md:py-32",
50630
50695
  pattern,
50631
50696
  patternOpacity,
50632
50697
  className,
50633
- containerClassName,
50634
50698
  contentClassName,
50635
50699
  headingClassName,
50636
50700
  descriptionClassName,
@@ -50644,7 +50708,14 @@ function HeroPatternBadgeLogos({
50644
50708
  if (actionsSlot) return actionsSlot;
50645
50709
  if (!actions || actions.length === 0) return null;
50646
50710
  return actions.map((action, index) => {
50647
- const { label, icon, iconAfter, children, className: actionClassName, ...pressableProps } = action;
50711
+ const {
50712
+ label,
50713
+ icon,
50714
+ iconAfter,
50715
+ children,
50716
+ className: actionClassName,
50717
+ ...pressableProps
50718
+ } = action;
50648
50719
  return /* @__PURE__ */ jsxRuntime.jsx(
50649
50720
  Pressable,
50650
50721
  {
@@ -50701,7 +50772,7 @@ function HeroPatternBadgeLogos({
50701
50772
  return /* @__PURE__ */ jsxRuntime.jsx("div", { className: logoClassName, children: imgElement }, index);
50702
50773
  });
50703
50774
  }, [logosSlot, logos, optixFlowConfig]);
50704
- return /* @__PURE__ */ jsxRuntime.jsxs(
50775
+ return /* @__PURE__ */ jsxRuntime.jsx(
50705
50776
  Section,
50706
50777
  {
50707
50778
  background,
@@ -50709,31 +50780,61 @@ function HeroPatternBadgeLogos({
50709
50780
  pattern,
50710
50781
  patternOpacity,
50711
50782
  className: cn("relative p-0", className),
50712
- children: [
50713
- /* @__PURE__ */ jsxRuntime.jsx(
50714
- "div",
50715
- {
50716
- className: cn(
50717
- "absolute h-full w-full bg-contain bg-repeat opacity-100 lg:block",
50718
- "mask-[linear-gradient(to_right,var(--color-border),transparent,transparent,var(--color-border))]",
50719
- backgroundClassName
50783
+ containerClassName,
50784
+ children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("relative"), children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mx-auto flex max-w-5xl flex-col items-center", children: /* @__PURE__ */ jsxRuntime.jsxs(
50785
+ "div",
50786
+ {
50787
+ className: cn(
50788
+ "z-10 mx-auto flex max-w-5xl flex-col items-center gap-6 text-center",
50789
+ contentClassName
50790
+ ),
50791
+ children: [
50792
+ badge && /* @__PURE__ */ jsxRuntime.jsx("div", { className: badgeClassName, children: typeof badge === "string" ? /* @__PURE__ */ jsxRuntime.jsx(Badge, { variant: "default", children: badge }) : badge }),
50793
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
50794
+ heading && (typeof heading === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
50795
+ "h1",
50796
+ {
50797
+ className: cn(
50798
+ "mb-6 text-4xl font-bold tracking-tight text-balance md:text-5xl lg:text-7xl",
50799
+ headingClassName
50800
+ ),
50801
+ children: heading
50802
+ }
50803
+ ) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: headingClassName, children: heading })),
50804
+ description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
50805
+ "p",
50806
+ {
50807
+ className: cn(
50808
+ "mx-auto max-w-2xl md:text-lg lg:text-xl text-balance",
50809
+ descriptionClassName
50810
+ ),
50811
+ children: description
50812
+ }
50813
+ ) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: descriptionClassName, children: description }))
50814
+ ] }),
50815
+ (actionsSlot || actions && actions.length > 0) && /* @__PURE__ */ jsxRuntime.jsx(
50816
+ "div",
50817
+ {
50818
+ className: cn("mt-6 flex items-center gap-4", actionsClassName),
50819
+ children: renderActions
50820
+ }
50720
50821
  ),
50721
- style: { backgroundImage: `url('${backgroundImageUrl}')` }
50722
- }
50723
- ),
50724
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("container py-28 md:py-32", containerClassName), children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mx-auto flex max-w-5xl flex-col items-center", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("z-10 mx-auto flex max-w-5xl flex-col items-center gap-6 text-center", contentClassName), children: [
50725
- badge && /* @__PURE__ */ jsxRuntime.jsx("div", { className: badgeClassName, children: typeof badge === "string" ? /* @__PURE__ */ jsxRuntime.jsx(Badge, { variant: "outline", className: "transition-colors hover:bg-secondary/20", children: badge }) : badge }),
50726
- /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
50727
- heading && (typeof heading === "string" ? /* @__PURE__ */ jsxRuntime.jsx("h1", { className: cn("mb-6 text-4xl font-bold tracking-tight text-pretty md:text-5xl lg:text-7xl", headingClassName), children: heading }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: headingClassName, children: heading })),
50728
- description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("mx-auto max-w-2xl md:text-lg lg:text-xl", getTextColor(background, "muted"), descriptionClassName), children: description }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: descriptionClassName, children: description }))
50729
- ] }),
50730
- (actionsSlot || actions && actions.length > 0) && /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("mt-6 flex items-center gap-4", actionsClassName), children: renderActions }),
50731
- (logosSlot || logos && logos.length > 0 || logosTagline) && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("mt-12 flex flex-col items-center gap-4 lg:mt-16", logosClassName), children: [
50732
- logosTagline && (typeof logosTagline === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("text-center text-sm", getTextColor(background, "muted")), children: logosTagline }) : logosTagline),
50733
- /* @__PURE__ */ jsxRuntime.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 })
50734
- ] })
50735
- ] }) }) })
50736
- ]
50822
+ (logosSlot || logos && logos.length > 0 || logosTagline) && /* @__PURE__ */ jsxRuntime.jsxs(
50823
+ "div",
50824
+ {
50825
+ className: cn(
50826
+ "mt-12 flex flex-col items-center gap-4 lg:mt-16",
50827
+ logosClassName
50828
+ ),
50829
+ children: [
50830
+ logosTagline && (typeof logosTagline === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("text-center text-sm"), children: logosTagline }) : logosTagline),
50831
+ /* @__PURE__ */ jsxRuntime.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 })
50832
+ ]
50833
+ }
50834
+ )
50835
+ ]
50836
+ }
50837
+ ) }) })
50737
50838
  }
50738
50839
  );
50739
50840
  }
@@ -50747,11 +50848,11 @@ function HeroLogoCenteredScreenshot({
50747
50848
  image,
50748
50849
  imageSlot,
50749
50850
  background,
50750
- spacing,
50851
+ containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
50852
+ spacing = "py-6 md:py-32",
50751
50853
  pattern,
50752
50854
  patternOpacity,
50753
50855
  className,
50754
- containerClassName,
50755
50856
  contentClassName,
50756
50857
  headingClassName,
50757
50858
  descriptionClassName,
@@ -50767,7 +50868,7 @@ function HeroLogoCenteredScreenshot({
50767
50868
  {
50768
50869
  src: logoSrc,
50769
50870
  alt: logo.alt,
50770
- className: cn("h-10 md:h-16", logo.className),
50871
+ className: cn("h-10 md:h-16 object-contain", logo.className),
50771
50872
  optixFlowConfig
50772
50873
  }
50773
50874
  );
@@ -50775,7 +50876,14 @@ function HeroLogoCenteredScreenshot({
50775
50876
  const renderAction = React52.useMemo(() => {
50776
50877
  if (actionSlot) return actionSlot;
50777
50878
  if (!action) return null;
50778
- const { label, icon, iconAfter, children, className: actionClassName, ...pressableProps } = action;
50879
+ const {
50880
+ label,
50881
+ icon,
50882
+ iconAfter,
50883
+ children,
50884
+ className: actionClassName,
50885
+ ...pressableProps
50886
+ } = action;
50779
50887
  return /* @__PURE__ */ jsxRuntime.jsx(Pressable, { asButton: true, className: actionClassName, ...pressableProps, children: children ?? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
50780
50888
  icon,
50781
50889
  label,
@@ -50790,7 +50898,11 @@ function HeroLogoCenteredScreenshot({
50790
50898
  {
50791
50899
  src: image.src,
50792
50900
  alt: image.alt,
50793
- className: cn("mt-20 aspect-video w-full rounded-t-lg object-cover", imageClassName, image.className),
50901
+ className: cn(
50902
+ "mt-20 w-full rounded-xl object-cover h-auto shadow-xl",
50903
+ imageClassName,
50904
+ image.className
50905
+ ),
50794
50906
  optixFlowConfig
50795
50907
  }
50796
50908
  );
@@ -50803,15 +50915,51 @@ function HeroLogoCenteredScreenshot({
50803
50915
  pattern,
50804
50916
  patternOpacity,
50805
50917
  className: cn(className),
50806
- children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "border-b", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("container max-w-7xl", containerClassName), children: [
50807
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mx-auto flex max-w-5xl flex-col items-center", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("z-10 flex flex-col items-center gap-6 text-center", contentClassName), children: [
50808
- renderLogo,
50809
- /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
50810
- heading && (typeof heading === "string" ? /* @__PURE__ */ jsxRuntime.jsx("h1", { className: cn("mb-4 text-3xl font-medium text-pretty lg:text-5xl", headingClassName), children: heading }) : /* @__PURE__ */ jsxRuntime.jsx("h1", { className: cn("mb-4 text-3xl font-medium text-pretty lg:text-5xl", headingClassName), children: heading })),
50811
- description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("max-w-3xl lg:text-xl", getTextColor(background, "muted"), descriptionClassName), children: description }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: descriptionClassName, children: description }))
50812
- ] }),
50813
- renderAction
50814
- ] }) }),
50918
+ children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("container max-w-7xl", containerClassName), children: [
50919
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mx-auto flex max-w-5xl flex-col items-center", children: /* @__PURE__ */ jsxRuntime.jsxs(
50920
+ "div",
50921
+ {
50922
+ className: cn(
50923
+ "z-10 flex flex-col items-center gap-6 text-center",
50924
+ contentClassName
50925
+ ),
50926
+ children: [
50927
+ renderLogo,
50928
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col justify-center items-center w-full text-balance", children: [
50929
+ heading && (typeof heading === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
50930
+ "h1",
50931
+ {
50932
+ className: cn(
50933
+ "mb-4 text-3xl font-medium lg:text-5xl",
50934
+ headingClassName
50935
+ ),
50936
+ children: heading
50937
+ }
50938
+ ) : /* @__PURE__ */ jsxRuntime.jsx(
50939
+ "h1",
50940
+ {
50941
+ className: cn(
50942
+ "mb-4 text-3xl font-medium lg:text-5xl",
50943
+ headingClassName
50944
+ ),
50945
+ children: heading
50946
+ }
50947
+ )),
50948
+ description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
50949
+ "p",
50950
+ {
50951
+ className: cn(
50952
+ "max-w-3xl lg:text-xl",
50953
+ descriptionClassName
50954
+ ),
50955
+ children: description
50956
+ }
50957
+ ) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: descriptionClassName, children: description }))
50958
+ ] }),
50959
+ renderAction
50960
+ ]
50961
+ }
50962
+ ) }),
50815
50963
  renderImage
50816
50964
  ] }) })
50817
50965
  }