@opensite/ui 1.6.3 → 1.6.5
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/components.cjs +155 -75
- package/dist/components.js +155 -75
- package/dist/feature-utility-cards-grid.cjs +1 -1
- package/dist/feature-utility-cards-grid.js +1 -1
- package/dist/footer-cta-banner.cjs +155 -75
- package/dist/footer-cta-banner.d.cts +5 -1
- package/dist/footer-cta-banner.d.ts +5 -1
- package/dist/footer-cta-banner.js +155 -75
- package/dist/hero-overlay-cta-grid.cjs +85 -90
- package/dist/hero-overlay-cta-grid.js +85 -90
- package/dist/hero-pattern-badge-logos.cjs +28 -9
- package/dist/hero-pattern-badge-logos.js +28 -9
- package/dist/hero-pattern-logo-tech-stack.cjs +133 -105
- package/dist/hero-pattern-logo-tech-stack.d.cts +1 -4
- package/dist/hero-pattern-logo-tech-stack.d.ts +1 -4
- package/dist/hero-pattern-logo-tech-stack.js +133 -105
- package/dist/index.cjs +155 -75
- package/dist/index.js +155 -75
- package/dist/link-page-newsletter-social.cjs +75 -137
- package/dist/link-page-newsletter-social.d.cts +1 -1
- package/dist/link-page-newsletter-social.d.ts +1 -1
- package/dist/link-page-newsletter-social.js +75 -137
- package/dist/link-tree-block.cjs +31 -32
- package/dist/link-tree-block.d.cts +1 -5
- package/dist/link-tree-block.d.ts +1 -5
- package/dist/link-tree-block.js +31 -32
- package/dist/registry.cjs +465 -317
- package/dist/registry.js +465 -317
- package/package.json +1 -1
package/dist/registry.cjs
CHANGED
|
@@ -23631,7 +23631,8 @@ function FooterCtaBanner({
|
|
|
23631
23631
|
legalLinksClassName,
|
|
23632
23632
|
legalLinkClassName,
|
|
23633
23633
|
background,
|
|
23634
|
-
|
|
23634
|
+
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
23635
|
+
spacing = "py-6 md:py-32",
|
|
23635
23636
|
pattern,
|
|
23636
23637
|
patternOpacity,
|
|
23637
23638
|
optixFlowConfig
|
|
@@ -23643,89 +23644,168 @@ function FooterCtaBanner({
|
|
|
23643
23644
|
spacing,
|
|
23644
23645
|
pattern,
|
|
23645
23646
|
patternOpacity,
|
|
23646
|
-
className
|
|
23647
|
+
className,
|
|
23648
|
+
containerClassName,
|
|
23647
23649
|
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn(contentClassName), children: /* @__PURE__ */ jsxRuntime.jsxs("footer", { children: [
|
|
23648
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
23649
|
-
|
|
23650
|
-
|
|
23651
|
-
|
|
23652
|
-
|
|
23653
|
-
|
|
23654
|
-
href: ctaButtonUrl,
|
|
23655
|
-
className: cn("inline-flex items-center justify-center whitespace-nowrap rounded-md border text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 hover:opacity-80 h-11 px-8", ctaButtonClassName),
|
|
23656
|
-
children: ctaButtonText
|
|
23657
|
-
}
|
|
23658
|
-
)
|
|
23659
|
-
] }),
|
|
23660
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("grid gap-10 lg:grid-cols-5", gridClassName), children: [
|
|
23661
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("lg:col-span-2", brandClassName), children: [
|
|
23662
|
-
logo && /* @__PURE__ */ jsxRuntime.jsx(
|
|
23663
|
-
FooterLogo,
|
|
23664
|
-
{
|
|
23665
|
-
logo,
|
|
23666
|
-
logoClassName: cn("mb-6", logoWrapperClassName),
|
|
23667
|
-
logoImageClassName: logoClassName,
|
|
23668
|
-
optixFlowConfig
|
|
23669
|
-
}
|
|
23650
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
23651
|
+
"div",
|
|
23652
|
+
{
|
|
23653
|
+
className: cn(
|
|
23654
|
+
"mb-16 rounded-lg border p-8 text-center md:p-12",
|
|
23655
|
+
ctaBannerClassName
|
|
23670
23656
|
),
|
|
23671
|
-
|
|
23672
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
23673
|
-
|
|
23674
|
-
|
|
23675
|
-
|
|
23657
|
+
children: [
|
|
23658
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
23659
|
+
"h2",
|
|
23660
|
+
{
|
|
23661
|
+
className: cn(
|
|
23662
|
+
"mb-4 text-3xl font-bold md:text-4xl text-balance",
|
|
23663
|
+
ctaHeadingClassName
|
|
23664
|
+
),
|
|
23665
|
+
children: ctaHeading
|
|
23666
|
+
}
|
|
23667
|
+
),
|
|
23668
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
23669
|
+
"p",
|
|
23670
|
+
{
|
|
23671
|
+
className: cn(
|
|
23672
|
+
"mx-auto mb-6 max-w-2xl opacity-80 text-balance",
|
|
23673
|
+
ctaDescriptionClassName
|
|
23674
|
+
),
|
|
23675
|
+
children: ctaDescription
|
|
23676
|
+
}
|
|
23677
|
+
),
|
|
23678
|
+
/* @__PURE__ */ jsxRuntime.jsx(Pressable, { href: ctaButtonUrl, asButton: true, variant: "default", children: ctaButtonText })
|
|
23679
|
+
]
|
|
23680
|
+
}
|
|
23681
|
+
),
|
|
23682
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
23683
|
+
"div",
|
|
23684
|
+
{
|
|
23685
|
+
className: cn(
|
|
23686
|
+
"grid gap-10 grid-cols-2 md:grid-cols-5",
|
|
23687
|
+
gridClassName
|
|
23688
|
+
),
|
|
23689
|
+
children: [
|
|
23690
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("col-span-2", brandClassName), children: [
|
|
23691
|
+
logo && /* @__PURE__ */ jsxRuntime.jsx(
|
|
23692
|
+
FooterLogo,
|
|
23676
23693
|
{
|
|
23677
|
-
|
|
23678
|
-
|
|
23679
|
-
|
|
23694
|
+
logo,
|
|
23695
|
+
logoClassName: cn("mb-6", logoWrapperClassName),
|
|
23696
|
+
logoImageClassName: logoClassName,
|
|
23697
|
+
optixFlowConfig
|
|
23680
23698
|
}
|
|
23681
23699
|
),
|
|
23700
|
+
newsletterClassName && newsletterLabel && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("mb-6", newsletterClassName), children: [
|
|
23701
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "mb-2 text-sm font-medium", children: newsletterLabel }),
|
|
23702
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex max-w-sm gap-2", children: [
|
|
23703
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
23704
|
+
"input",
|
|
23705
|
+
{
|
|
23706
|
+
type: "email",
|
|
23707
|
+
placeholder: newsletterPlaceholder,
|
|
23708
|
+
className: cn(
|
|
23709
|
+
"flex h-10 w-full rounded-md border border-input px-3 py-2 text-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:opacity-50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",
|
|
23710
|
+
newsletterInputClassName
|
|
23711
|
+
)
|
|
23712
|
+
}
|
|
23713
|
+
),
|
|
23714
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
23715
|
+
"button",
|
|
23716
|
+
{
|
|
23717
|
+
type: "submit",
|
|
23718
|
+
className: cn(
|
|
23719
|
+
"inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 bg-primary text-primary-foreground hover:bg-primary/90 h-10 px-4 py-2",
|
|
23720
|
+
newsletterButtonClassName
|
|
23721
|
+
),
|
|
23722
|
+
children: newsletterButtonText
|
|
23723
|
+
}
|
|
23724
|
+
)
|
|
23725
|
+
] })
|
|
23726
|
+
] }),
|
|
23682
23727
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
23683
|
-
"
|
|
23728
|
+
"ul",
|
|
23684
23729
|
{
|
|
23685
|
-
|
|
23686
|
-
|
|
23687
|
-
|
|
23730
|
+
className: cn("flex items-center gap-4", socialLinksClassName),
|
|
23731
|
+
children: socialLinks?.map((social, idx) => /* @__PURE__ */ jsxRuntime.jsx("li", { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
23732
|
+
SocialLinkIcon,
|
|
23733
|
+
{
|
|
23734
|
+
href: social.href,
|
|
23735
|
+
label: social.label,
|
|
23736
|
+
iconNameOverride: social.iconNameOverride,
|
|
23737
|
+
className: cn(
|
|
23738
|
+
"opacity-80 transition-colors hover:opacity-100",
|
|
23739
|
+
socialLinkClassName
|
|
23740
|
+
)
|
|
23741
|
+
}
|
|
23742
|
+
) }, idx))
|
|
23688
23743
|
}
|
|
23689
23744
|
)
|
|
23690
|
-
] })
|
|
23691
|
-
|
|
23692
|
-
|
|
23693
|
-
|
|
23694
|
-
|
|
23695
|
-
|
|
23696
|
-
|
|
23697
|
-
|
|
23698
|
-
|
|
23699
|
-
|
|
23700
|
-
|
|
23701
|
-
|
|
23702
|
-
|
|
23703
|
-
|
|
23704
|
-
|
|
23705
|
-
|
|
23706
|
-
|
|
23707
|
-
|
|
23708
|
-
|
|
23709
|
-
|
|
23710
|
-
}
|
|
23711
|
-
|
|
23712
|
-
|
|
23713
|
-
|
|
23714
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
23715
|
-
|
|
23716
|
-
|
|
23717
|
-
|
|
23718
|
-
|
|
23719
|
-
|
|
23720
|
-
|
|
23721
|
-
|
|
23722
|
-
|
|
23723
|
-
|
|
23724
|
-
|
|
23725
|
-
|
|
23726
|
-
|
|
23727
|
-
|
|
23728
|
-
|
|
23745
|
+
] }),
|
|
23746
|
+
sections?.map((section, sectionIdx) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn(navSectionClassName), children: [
|
|
23747
|
+
/* @__PURE__ */ jsxRuntime.jsx("h3", { className: cn("mb-4 font-semibold", navTitleClassName), children: section.title }),
|
|
23748
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
23749
|
+
"ul",
|
|
23750
|
+
{
|
|
23751
|
+
className: cn(
|
|
23752
|
+
"space-y-3 text-sm opacity-80",
|
|
23753
|
+
navLinksClassName
|
|
23754
|
+
),
|
|
23755
|
+
children: section.links.map((link, linkIdx) => /* @__PURE__ */ jsxRuntime.jsx("li", { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
23756
|
+
Pressable,
|
|
23757
|
+
{
|
|
23758
|
+
href: link.href,
|
|
23759
|
+
className: cn("hover:opacity-100", navLinkClassName),
|
|
23760
|
+
children: link.name
|
|
23761
|
+
}
|
|
23762
|
+
) }, linkIdx))
|
|
23763
|
+
}
|
|
23764
|
+
)
|
|
23765
|
+
] }, sectionIdx))
|
|
23766
|
+
]
|
|
23767
|
+
}
|
|
23768
|
+
),
|
|
23769
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
23770
|
+
"div",
|
|
23771
|
+
{
|
|
23772
|
+
className: cn(
|
|
23773
|
+
"mt-16 flex flex-col justify-between gap-4 border-t pt-8 text-sm opacity-80 md:flex-row md:items-center",
|
|
23774
|
+
bottomClassName
|
|
23775
|
+
),
|
|
23776
|
+
children: [
|
|
23777
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
23778
|
+
"div",
|
|
23779
|
+
{
|
|
23780
|
+
className: cn(
|
|
23781
|
+
"flex flex-col gap-2 md:flex-row md:items-center md:gap-4",
|
|
23782
|
+
copyrightClassName
|
|
23783
|
+
),
|
|
23784
|
+
children: [
|
|
23785
|
+
/* @__PURE__ */ jsxRuntime.jsx(FooterCopyright, { copyright }),
|
|
23786
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
23787
|
+
BrandAttribution,
|
|
23788
|
+
{
|
|
23789
|
+
internalBrandSlug: "open_site_ai",
|
|
23790
|
+
optionIndex: 8,
|
|
23791
|
+
variant: "span",
|
|
23792
|
+
linkClassName: "underline underline-offset-4 transition-colors hover:opacity-100"
|
|
23793
|
+
}
|
|
23794
|
+
)
|
|
23795
|
+
]
|
|
23796
|
+
}
|
|
23797
|
+
),
|
|
23798
|
+
/* @__PURE__ */ jsxRuntime.jsx("ul", { className: cn("flex gap-4", legalLinksClassName), children: legalLinks?.map((link, idx) => /* @__PURE__ */ jsxRuntime.jsx("li", { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
23799
|
+
Pressable,
|
|
23800
|
+
{
|
|
23801
|
+
href: link.href,
|
|
23802
|
+
className: cn("hover:opacity-100", legalLinkClassName),
|
|
23803
|
+
children: link.name
|
|
23804
|
+
}
|
|
23805
|
+
) }, idx)) })
|
|
23806
|
+
]
|
|
23807
|
+
}
|
|
23808
|
+
)
|
|
23729
23809
|
] }) })
|
|
23730
23810
|
}
|
|
23731
23811
|
);
|
|
@@ -27100,7 +27180,7 @@ function FeatureUtilityCardsGrid({
|
|
|
27100
27180
|
href: learnMoreAction.href,
|
|
27101
27181
|
onClick: learnMoreAction.onClick,
|
|
27102
27182
|
className: cn(
|
|
27103
|
-
"flex items-center gap-1 font-medium transition-opacity hover:opacity-80",
|
|
27183
|
+
"flex items-center gap-1 font-medium transition-opacity hover:opacity-80 text-right",
|
|
27104
27184
|
learnMoreAction.className
|
|
27105
27185
|
),
|
|
27106
27186
|
"aria-label": learnMoreAction["aria-label"],
|
|
@@ -49708,7 +49788,7 @@ function HeroOverlayCtaGrid({
|
|
|
49708
49788
|
optixFlowConfig
|
|
49709
49789
|
}
|
|
49710
49790
|
),
|
|
49711
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute inset-0 bg-linear-to-
|
|
49791
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute inset-0 bg-linear-to-b from-black/80 via-black/65 to-black/20" })
|
|
49712
49792
|
] });
|
|
49713
49793
|
}, [backgroundSlot, backgroundImage, backgroundAlt, optixFlowConfig]);
|
|
49714
49794
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
@@ -49719,71 +49799,66 @@ function HeroOverlayCtaGrid({
|
|
|
49719
49799
|
pattern,
|
|
49720
49800
|
patternOpacity,
|
|
49721
49801
|
className: cn(
|
|
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-
|
|
49802
|
+
"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-0",
|
|
49723
49803
|
className
|
|
49724
49804
|
),
|
|
49805
|
+
containerClassName,
|
|
49725
49806
|
children: [
|
|
49726
49807
|
renderBackground,
|
|
49727
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
49728
|
-
|
|
49729
|
-
|
|
49730
|
-
|
|
49731
|
-
|
|
49732
|
-
|
|
49733
|
-
|
|
49734
|
-
|
|
49735
|
-
|
|
49736
|
-
|
|
49737
|
-
|
|
49738
|
-
|
|
49739
|
-
|
|
49740
|
-
|
|
49741
|
-
|
|
49742
|
-
|
|
49743
|
-
|
|
49744
|
-
|
|
49745
|
-
|
|
49746
|
-
|
|
49747
|
-
|
|
49748
|
-
|
|
49749
|
-
|
|
49750
|
-
|
|
49751
|
-
|
|
49752
|
-
|
|
49753
|
-
|
|
49754
|
-
|
|
49755
|
-
|
|
49756
|
-
|
|
49757
|
-
|
|
49758
|
-
|
|
49759
|
-
|
|
49760
|
-
|
|
49761
|
-
|
|
49762
|
-
|
|
49763
|
-
|
|
49764
|
-
|
|
49765
|
-
|
|
49766
|
-
|
|
49767
|
-
|
|
49768
|
-
|
|
49769
|
-
|
|
49770
|
-
|
|
49771
|
-
|
|
49772
|
-
|
|
49773
|
-
|
|
49774
|
-
|
|
49775
|
-
|
|
49776
|
-
|
|
49777
|
-
|
|
49778
|
-
|
|
49779
|
-
|
|
49780
|
-
|
|
49781
|
-
}
|
|
49782
|
-
),
|
|
49783
|
-
renderCards
|
|
49784
|
-
]
|
|
49785
|
-
}
|
|
49786
|
-
)
|
|
49808
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative flex flex-col gap-12", children: [
|
|
49809
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
49810
|
+
framerMotion.motion.div,
|
|
49811
|
+
{
|
|
49812
|
+
initial: { opacity: 0, y: 28 },
|
|
49813
|
+
animate: { opacity: 1, y: 0 },
|
|
49814
|
+
transition: { duration: 0.6, ease: "easeOut" },
|
|
49815
|
+
className: "mx-auto max-w-3xl text-center text-balance text-white px-0",
|
|
49816
|
+
children: [
|
|
49817
|
+
renderBadge,
|
|
49818
|
+
heading && (typeof heading === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
49819
|
+
"h1",
|
|
49820
|
+
{
|
|
49821
|
+
className: cn(
|
|
49822
|
+
"mt-6 text-4xl font-bold leading-tight md:text-5xl lg:text-6xl text-balance",
|
|
49823
|
+
headingClassName
|
|
49824
|
+
),
|
|
49825
|
+
children: heading
|
|
49826
|
+
}
|
|
49827
|
+
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
49828
|
+
"h1",
|
|
49829
|
+
{
|
|
49830
|
+
className: cn(
|
|
49831
|
+
"mt-6 text-4xl font-bold leading-tight md:text-5xl lg:text-6xl text-balance",
|
|
49832
|
+
headingClassName
|
|
49833
|
+
),
|
|
49834
|
+
children: heading
|
|
49835
|
+
}
|
|
49836
|
+
)),
|
|
49837
|
+
description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
49838
|
+
"p",
|
|
49839
|
+
{
|
|
49840
|
+
className: cn(
|
|
49841
|
+
"mt-5 text-lg md:text-xl text-balance",
|
|
49842
|
+
descriptionClassName
|
|
49843
|
+
),
|
|
49844
|
+
children: description
|
|
49845
|
+
}
|
|
49846
|
+
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
49847
|
+
"div",
|
|
49848
|
+
{
|
|
49849
|
+
className: cn(
|
|
49850
|
+
"mt-5 text-lg md:text-xl text-balance",
|
|
49851
|
+
descriptionClassName
|
|
49852
|
+
),
|
|
49853
|
+
children: description
|
|
49854
|
+
}
|
|
49855
|
+
)),
|
|
49856
|
+
renderActions
|
|
49857
|
+
]
|
|
49858
|
+
}
|
|
49859
|
+
),
|
|
49860
|
+
renderCards
|
|
49861
|
+
] })
|
|
49787
49862
|
]
|
|
49788
49863
|
}
|
|
49789
49864
|
);
|
|
@@ -50744,7 +50819,10 @@ function HeroPatternBadgeLogos({
|
|
|
50744
50819
|
{
|
|
50745
50820
|
src: src.light,
|
|
50746
50821
|
alt,
|
|
50747
|
-
className: cn(
|
|
50822
|
+
className: cn(
|
|
50823
|
+
imgClassName,
|
|
50824
|
+
"w-full h-10 object-contain dark:hidden"
|
|
50825
|
+
),
|
|
50748
50826
|
optixFlowConfig
|
|
50749
50827
|
}
|
|
50750
50828
|
),
|
|
@@ -50753,7 +50831,10 @@ function HeroPatternBadgeLogos({
|
|
|
50753
50831
|
{
|
|
50754
50832
|
src: src.dark,
|
|
50755
50833
|
alt,
|
|
50756
|
-
className: cn(
|
|
50834
|
+
className: cn(
|
|
50835
|
+
imgClassName,
|
|
50836
|
+
"w-full h-10 object-contain hidden dark:block"
|
|
50837
|
+
),
|
|
50757
50838
|
optixFlowConfig
|
|
50758
50839
|
}
|
|
50759
50840
|
)
|
|
@@ -50762,14 +50843,24 @@ function HeroPatternBadgeLogos({
|
|
|
50762
50843
|
{
|
|
50763
50844
|
src,
|
|
50764
50845
|
alt,
|
|
50765
|
-
className: imgClassName,
|
|
50846
|
+
className: cn("w-full h-10 object-contain", imgClassName),
|
|
50766
50847
|
optixFlowConfig
|
|
50767
50848
|
}
|
|
50768
50849
|
);
|
|
50769
50850
|
if (href) {
|
|
50770
50851
|
return /* @__PURE__ */ jsxRuntime.jsx(Pressable, { href, className: logoClassName, children: imgElement }, index);
|
|
50771
50852
|
}
|
|
50772
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
50853
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
50854
|
+
"div",
|
|
50855
|
+
{
|
|
50856
|
+
className: cn(
|
|
50857
|
+
"w-auto max-h-10 h-10 flex items-center justify-center",
|
|
50858
|
+
logoClassName
|
|
50859
|
+
),
|
|
50860
|
+
children: imgElement
|
|
50861
|
+
},
|
|
50862
|
+
index
|
|
50863
|
+
);
|
|
50773
50864
|
});
|
|
50774
50865
|
}, [logosSlot, logos, optixFlowConfig]);
|
|
50775
50866
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -50781,11 +50872,11 @@ function HeroPatternBadgeLogos({
|
|
|
50781
50872
|
patternOpacity,
|
|
50782
50873
|
className: cn("relative p-0", className),
|
|
50783
50874
|
containerClassName,
|
|
50784
|
-
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
50875
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
50785
50876
|
"div",
|
|
50786
50877
|
{
|
|
50787
50878
|
className: cn(
|
|
50788
|
-
"
|
|
50879
|
+
"p-6 flex w-full flex-col items-center gap-6 text-center",
|
|
50789
50880
|
contentClassName
|
|
50790
50881
|
),
|
|
50791
50882
|
children: [
|
|
@@ -50815,7 +50906,10 @@ function HeroPatternBadgeLogos({
|
|
|
50815
50906
|
(actionsSlot || actions && actions.length > 0) && /* @__PURE__ */ jsxRuntime.jsx(
|
|
50816
50907
|
"div",
|
|
50817
50908
|
{
|
|
50818
|
-
className: cn(
|
|
50909
|
+
className: cn(
|
|
50910
|
+
"mt-6 flex items-center justify-center gap-4 flex-col md:flex-row w-full",
|
|
50911
|
+
actionsClassName
|
|
50912
|
+
),
|
|
50819
50913
|
children: renderActions
|
|
50820
50914
|
}
|
|
50821
50915
|
),
|
|
@@ -50823,12 +50917,12 @@ function HeroPatternBadgeLogos({
|
|
|
50823
50917
|
"div",
|
|
50824
50918
|
{
|
|
50825
50919
|
className: cn(
|
|
50826
|
-
"mt-
|
|
50920
|
+
"mt-6 flex flex-col items-center gap-4 lg:mt-16 w-full",
|
|
50827
50921
|
logosClassName
|
|
50828
50922
|
),
|
|
50829
50923
|
children: [
|
|
50830
50924
|
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 })
|
|
50925
|
+
/* @__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 w-full", children: renderLogos })
|
|
50832
50926
|
]
|
|
50833
50927
|
}
|
|
50834
50928
|
)
|
|
@@ -50969,20 +51063,19 @@ function HeroPatternLogoTechStack({
|
|
|
50969
51063
|
logo,
|
|
50970
51064
|
logoSlot,
|
|
50971
51065
|
heading,
|
|
50972
|
-
highlightedWord
|
|
51066
|
+
highlightedWord,
|
|
50973
51067
|
description,
|
|
50974
51068
|
actions,
|
|
50975
51069
|
actionsSlot,
|
|
50976
|
-
techStackLabel
|
|
51070
|
+
techStackLabel,
|
|
50977
51071
|
techLogos,
|
|
50978
51072
|
techLogosSlot,
|
|
50979
|
-
backgroundImage = "https://cdn.ing/assets/files/record/286187/4gpn0yq2ptra8iwlvmwwv860ggwv",
|
|
50980
51073
|
background,
|
|
50981
|
-
|
|
51074
|
+
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
51075
|
+
spacing = "py-12 md:py-32",
|
|
50982
51076
|
pattern,
|
|
50983
51077
|
patternOpacity,
|
|
50984
51078
|
className,
|
|
50985
|
-
containerClassName,
|
|
50986
51079
|
contentClassName,
|
|
50987
51080
|
headingClassName,
|
|
50988
51081
|
descriptionClassName,
|
|
@@ -50994,12 +51087,12 @@ function HeroPatternLogoTechStack({
|
|
|
50994
51087
|
if (logoSlot) return logoSlot;
|
|
50995
51088
|
if (!logo) return null;
|
|
50996
51089
|
const logoSrc = typeof logo.src === "string" ? logo.src : logo.src.light;
|
|
50997
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "
|
|
51090
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
50998
51091
|
img.Img,
|
|
50999
51092
|
{
|
|
51000
51093
|
src: logoSrc,
|
|
51001
51094
|
alt: logo.alt,
|
|
51002
|
-
className: cn("h-16", logo.imgClassName),
|
|
51095
|
+
className: cn("h-16 w-auto object-contain", logo.imgClassName),
|
|
51003
51096
|
optixFlowConfig
|
|
51004
51097
|
}
|
|
51005
51098
|
) });
|
|
@@ -51007,56 +51100,89 @@ function HeroPatternLogoTechStack({
|
|
|
51007
51100
|
const renderActions = React52.useMemo(() => {
|
|
51008
51101
|
if (actionsSlot) return actionsSlot;
|
|
51009
51102
|
if (!actions || actions.length === 0) return null;
|
|
51010
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
51011
|
-
|
|
51012
|
-
|
|
51013
|
-
|
|
51014
|
-
|
|
51015
|
-
|
|
51016
|
-
|
|
51017
|
-
|
|
51018
|
-
|
|
51019
|
-
icon,
|
|
51103
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
51104
|
+
"div",
|
|
51105
|
+
{
|
|
51106
|
+
className: cn(
|
|
51107
|
+
"mt-6 flex justify-center flex-col md:flex-row gap-3",
|
|
51108
|
+
actionsClassName
|
|
51109
|
+
),
|
|
51110
|
+
children: actions.map((action, index) => {
|
|
51111
|
+
const {
|
|
51020
51112
|
label,
|
|
51021
|
-
|
|
51022
|
-
|
|
51023
|
-
|
|
51024
|
-
|
|
51025
|
-
|
|
51026
|
-
|
|
51113
|
+
icon,
|
|
51114
|
+
iconAfter,
|
|
51115
|
+
children,
|
|
51116
|
+
className: actionClassName,
|
|
51117
|
+
...pressableProps
|
|
51118
|
+
} = action;
|
|
51119
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
51120
|
+
Pressable,
|
|
51121
|
+
{
|
|
51122
|
+
asButton: true,
|
|
51123
|
+
className: actionClassName,
|
|
51124
|
+
...pressableProps,
|
|
51125
|
+
children: children ?? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
51126
|
+
icon,
|
|
51127
|
+
label,
|
|
51128
|
+
iconAfter
|
|
51129
|
+
] })
|
|
51130
|
+
},
|
|
51131
|
+
index
|
|
51132
|
+
);
|
|
51133
|
+
})
|
|
51134
|
+
}
|
|
51135
|
+
);
|
|
51027
51136
|
}, [actionsSlot, actions, actionsClassName]);
|
|
51028
51137
|
const renderTechLogos = React52.useMemo(() => {
|
|
51029
51138
|
if (techLogosSlot) return techLogosSlot;
|
|
51030
51139
|
if (!techLogos || techLogos.length === 0) return null;
|
|
51031
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
51032
|
-
|
|
51033
|
-
|
|
51034
|
-
|
|
51035
|
-
|
|
51036
|
-
|
|
51037
|
-
|
|
51038
|
-
|
|
51039
|
-
|
|
51040
|
-
|
|
51041
|
-
|
|
51042
|
-
|
|
51043
|
-
|
|
51044
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
51045
|
-
img.Img,
|
|
51140
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
51141
|
+
"div",
|
|
51142
|
+
{
|
|
51143
|
+
className: cn(
|
|
51144
|
+
"mt-8 md:mt-20 flex flex-col items-center gap-5",
|
|
51145
|
+
techLogosClassName
|
|
51146
|
+
),
|
|
51147
|
+
children: [
|
|
51148
|
+
techStackLabel && (typeof techStackLabel === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("font-medium lg:text-left"), children: techStackLabel }) : techStackLabel),
|
|
51149
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-wrap items-center justify-center gap-4", children: techLogos.map((techLogo, index) => {
|
|
51150
|
+
const techLogoSrc = typeof techLogo.src === "string" ? techLogo.src : techLogo.src.light;
|
|
51151
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
51152
|
+
Pressable,
|
|
51046
51153
|
{
|
|
51047
|
-
|
|
51048
|
-
|
|
51049
|
-
|
|
51050
|
-
|
|
51051
|
-
|
|
51052
|
-
|
|
51053
|
-
|
|
51054
|
-
|
|
51055
|
-
|
|
51056
|
-
|
|
51057
|
-
|
|
51058
|
-
|
|
51059
|
-
|
|
51154
|
+
href: techLogo.href,
|
|
51155
|
+
className: cn(
|
|
51156
|
+
"group flex w-auto h-10 items-center justify-center max-w-12 max-h-10 min-h-10 p-1",
|
|
51157
|
+
techLogo.className
|
|
51158
|
+
),
|
|
51159
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
51160
|
+
img.Img,
|
|
51161
|
+
{
|
|
51162
|
+
src: techLogoSrc,
|
|
51163
|
+
alt: techLogo.alt,
|
|
51164
|
+
className: cn(
|
|
51165
|
+
"h-full w-auto object-contain",
|
|
51166
|
+
techLogo.imgClassName
|
|
51167
|
+
),
|
|
51168
|
+
optixFlowConfig
|
|
51169
|
+
}
|
|
51170
|
+
)
|
|
51171
|
+
},
|
|
51172
|
+
index
|
|
51173
|
+
);
|
|
51174
|
+
}) })
|
|
51175
|
+
]
|
|
51176
|
+
}
|
|
51177
|
+
);
|
|
51178
|
+
}, [
|
|
51179
|
+
techLogosSlot,
|
|
51180
|
+
techLogos,
|
|
51181
|
+
techStackLabel,
|
|
51182
|
+
techLogosClassName,
|
|
51183
|
+
optixFlowConfig
|
|
51184
|
+
]);
|
|
51185
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
51060
51186
|
Section,
|
|
51061
51187
|
{
|
|
51062
51188
|
background,
|
|
@@ -51064,30 +51190,56 @@ function HeroPatternLogoTechStack({
|
|
|
51064
51190
|
pattern,
|
|
51065
51191
|
patternOpacity,
|
|
51066
51192
|
className: cn(className),
|
|
51067
|
-
|
|
51068
|
-
|
|
51069
|
-
|
|
51070
|
-
|
|
51071
|
-
|
|
51072
|
-
|
|
51073
|
-
|
|
51074
|
-
|
|
51075
|
-
|
|
51076
|
-
|
|
51077
|
-
|
|
51078
|
-
|
|
51079
|
-
|
|
51080
|
-
|
|
51081
|
-
|
|
51082
|
-
|
|
51083
|
-
|
|
51084
|
-
|
|
51085
|
-
|
|
51086
|
-
|
|
51087
|
-
|
|
51088
|
-
|
|
51089
|
-
|
|
51090
|
-
|
|
51193
|
+
containerClassName,
|
|
51194
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mx-auto flex max-w-5xl flex-col items-center", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
51195
|
+
"div",
|
|
51196
|
+
{
|
|
51197
|
+
className: cn(
|
|
51198
|
+
"flex flex-col items-center gap-6 text-center",
|
|
51199
|
+
contentClassName
|
|
51200
|
+
),
|
|
51201
|
+
children: [
|
|
51202
|
+
renderLogo,
|
|
51203
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
51204
|
+
heading && (typeof heading === "string" ? /* @__PURE__ */ jsxRuntime.jsxs(
|
|
51205
|
+
"h1",
|
|
51206
|
+
{
|
|
51207
|
+
className: cn(
|
|
51208
|
+
"mb-6 text-2xl font-bold tracking-tight text-balance lg:text-5xl",
|
|
51209
|
+
headingClassName
|
|
51210
|
+
),
|
|
51211
|
+
children: [
|
|
51212
|
+
heading,
|
|
51213
|
+
" ",
|
|
51214
|
+
highlightedWord && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "opacity-75", children: highlightedWord })
|
|
51215
|
+
]
|
|
51216
|
+
}
|
|
51217
|
+
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
51218
|
+
"h1",
|
|
51219
|
+
{
|
|
51220
|
+
className: cn(
|
|
51221
|
+
"mb-6 text-2xl font-bold tracking-tight text-balance lg:text-5xl",
|
|
51222
|
+
headingClassName
|
|
51223
|
+
),
|
|
51224
|
+
children: heading
|
|
51225
|
+
}
|
|
51226
|
+
)),
|
|
51227
|
+
description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
51228
|
+
"p",
|
|
51229
|
+
{
|
|
51230
|
+
className: cn(
|
|
51231
|
+
"mx-auto max-w-3xl lg:text-xl text-balance",
|
|
51232
|
+
descriptionClassName
|
|
51233
|
+
),
|
|
51234
|
+
children: description
|
|
51235
|
+
}
|
|
51236
|
+
) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: descriptionClassName, children: description }))
|
|
51237
|
+
] }),
|
|
51238
|
+
renderActions,
|
|
51239
|
+
renderTechLogos
|
|
51240
|
+
]
|
|
51241
|
+
}
|
|
51242
|
+
) }) })
|
|
51091
51243
|
}
|
|
51092
51244
|
);
|
|
51093
51245
|
}
|
|
@@ -98762,7 +98914,6 @@ function TimelineScrollHighlight({
|
|
|
98762
98914
|
var blockBrandedIconsAndPlaceholders = {
|
|
98763
98915
|
avatar1: "https://cdn.ing/assets/i/r/286239/ebm7o3j2kx48vw98emnwjaf5qvl6/avatar-1.webp",
|
|
98764
98916
|
avatar2: "https://cdn.ing/assets/i/r/286240/vgf3rrkwn0769pfdtpal60uo5vpw/avatar-2.webp",
|
|
98765
|
-
avatar3: "https://cdn.ing/assets/i/r/286241/05vbqt3lls0q974r8fv4zn0njllq/avatar-3.webp",
|
|
98766
98917
|
avatar4: "https://cdn.ing/assets/i/r/286242/y0zkazxawxrl3twwkw63twf04pdt/avatar-4.webp",
|
|
98767
98918
|
avatar5: "https://cdn.ing/assets/i/r/286243/alziyfoo570m3vade3usufzlzj6x/avatar-5.webp"};
|
|
98768
98919
|
function LinkTreeBlock({
|
|
@@ -98784,7 +98935,6 @@ function LinkTreeBlock({
|
|
|
98784
98935
|
footerAction,
|
|
98785
98936
|
footerSlot,
|
|
98786
98937
|
className,
|
|
98787
|
-
containerClassName,
|
|
98788
98938
|
contentClassName,
|
|
98789
98939
|
headerClassName,
|
|
98790
98940
|
avatarClassName,
|
|
@@ -98811,20 +98961,20 @@ function LinkTreeBlock({
|
|
|
98811
98961
|
socialLinkClassName,
|
|
98812
98962
|
socialIconClassName,
|
|
98813
98963
|
footerClassName,
|
|
98814
|
-
background
|
|
98815
|
-
|
|
98964
|
+
background,
|
|
98965
|
+
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
98966
|
+
spacing = "py-12 md:py-32",
|
|
98816
98967
|
pattern,
|
|
98817
98968
|
patternOpacity,
|
|
98818
98969
|
patternClassName,
|
|
98819
98970
|
backgroundPattern,
|
|
98820
|
-
accentColor,
|
|
98821
98971
|
optixFlowConfig
|
|
98822
98972
|
}) {
|
|
98823
98973
|
const resolvedBackground = background;
|
|
98824
98974
|
const resolvedPattern = pattern ?? backgroundPattern;
|
|
98825
|
-
const [lightboxOpen, setLightboxOpen] =
|
|
98826
|
-
const [lightboxIndex, setLightboxIndex] =
|
|
98827
|
-
const lightboxItems =
|
|
98975
|
+
const [lightboxOpen, setLightboxOpen] = React52__namespace.useState(false);
|
|
98976
|
+
const [lightboxIndex, setLightboxIndex] = React52__namespace.useState(0);
|
|
98977
|
+
const lightboxItems = React52__namespace.useMemo(() => {
|
|
98828
98978
|
if (!mediaGallery || mediaGallery.length === 0) return [];
|
|
98829
98979
|
return mediaGallery.slice(0, mediaGalleryLimit).map((item, index) => ({
|
|
98830
98980
|
id: item.id ?? `media-${index}`,
|
|
@@ -98836,11 +98986,11 @@ function LinkTreeBlock({
|
|
|
98836
98986
|
share: true
|
|
98837
98987
|
}));
|
|
98838
98988
|
}, [mediaGallery, mediaGalleryLimit]);
|
|
98839
|
-
const handleMediaClick =
|
|
98989
|
+
const handleMediaClick = React52__namespace.useCallback((index) => {
|
|
98840
98990
|
setLightboxIndex(index);
|
|
98841
98991
|
setLightboxOpen(true);
|
|
98842
98992
|
}, []);
|
|
98843
|
-
const handleLightboxClose =
|
|
98993
|
+
const handleLightboxClose = React52__namespace.useCallback(() => {
|
|
98844
98994
|
setLightboxOpen(false);
|
|
98845
98995
|
}, []);
|
|
98846
98996
|
const resolveImage = (value, fallbackAlt) => {
|
|
@@ -98852,7 +99002,7 @@ function LinkTreeBlock({
|
|
|
98852
99002
|
};
|
|
98853
99003
|
const nameForAlt = typeof brandName === "string" ? brandName : "Brand avatar";
|
|
98854
99004
|
const resolvedAvatar = resolveImage(brandAvatar || brandLogo, nameForAlt) || resolveImage(blockBrandedIconsAndPlaceholders.avatar1, nameForAlt);
|
|
98855
|
-
const renderBrandHeader =
|
|
99005
|
+
const renderBrandHeader = React52__namespace.useMemo(() => {
|
|
98856
99006
|
if (brandSlot) return brandSlot;
|
|
98857
99007
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
98858
99008
|
"div",
|
|
@@ -98939,7 +99089,7 @@ function LinkTreeBlock({
|
|
|
98939
99089
|
brandTagline,
|
|
98940
99090
|
taglineClassName
|
|
98941
99091
|
]);
|
|
98942
|
-
const renderLinks =
|
|
99092
|
+
const renderLinks = React52__namespace.useMemo(() => {
|
|
98943
99093
|
if (linksSlot) return linksSlot;
|
|
98944
99094
|
if (!links || links.length === 0) return null;
|
|
98945
99095
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("space-y-3", linksClassName), children: links.map((link, index) => {
|
|
@@ -98971,7 +99121,7 @@ function LinkTreeBlock({
|
|
|
98971
99121
|
className: cn(
|
|
98972
99122
|
"group relative flex w-full items-center gap-3 rounded-xl px-4 py-3.5 transition-all duration-200",
|
|
98973
99123
|
"hover:scale-[1.02] active:scale-[0.98]",
|
|
98974
|
-
isFeatured ? "bg-primary text-primary-foreground shadow-lg hover:bg-primary/90" : "border border-border bg-card hover:bg-accent",
|
|
99124
|
+
isFeatured ? "bg-primary text-primary-foreground shadow-lg hover:bg-primary/90" : "border border-border bg-card text-card-foreground hover:bg-accent",
|
|
98975
99125
|
linkClassName,
|
|
98976
99126
|
isFeatured ? featuredLinkClassName : null,
|
|
98977
99127
|
linkItemClassName
|
|
@@ -98988,7 +99138,7 @@ function LinkTreeBlock({
|
|
|
98988
99138
|
className: cn(
|
|
98989
99139
|
"group relative flex w-full items-center gap-3 rounded-xl px-4 py-3.5 transition-all duration-200",
|
|
98990
99140
|
"hover:scale-[1.02] active:scale-[0.98]",
|
|
98991
|
-
isFeatured ? "bg-primary text-primary-foreground shadow-lg hover:bg-primary/90" : "border border-border bg-card hover:bg-accent",
|
|
99141
|
+
isFeatured ? "bg-primary text-primary-foreground shadow-lg hover:bg-primary/90" : "border border-border bg-card text-card-foreground hover:bg-accent",
|
|
98992
99142
|
linkClassName,
|
|
98993
99143
|
isFeatured ? featuredLinkClassName : null,
|
|
98994
99144
|
linkItemClassName
|
|
@@ -99056,7 +99206,7 @@ function LinkTreeBlock({
|
|
|
99056
99206
|
linkBadgeClassName,
|
|
99057
99207
|
linkChevronClassName
|
|
99058
99208
|
]);
|
|
99059
|
-
const renderMediaGallery =
|
|
99209
|
+
const renderMediaGallery = React52__namespace.useMemo(() => {
|
|
99060
99210
|
if (mediaGallerySlot) return mediaGallerySlot;
|
|
99061
99211
|
if (!mediaGallery || mediaGallery.length === 0) return null;
|
|
99062
99212
|
const items = mediaGallery.slice(0, mediaGalleryLimit);
|
|
@@ -99170,7 +99320,7 @@ function LinkTreeBlock({
|
|
|
99170
99320
|
mediaGalleryOverlayClassName,
|
|
99171
99321
|
mediaGalleryPlayIconClassName
|
|
99172
99322
|
]);
|
|
99173
|
-
const renderSocialLinks =
|
|
99323
|
+
const renderSocialLinks = React52__namespace.useMemo(() => {
|
|
99174
99324
|
if (socialLinksSlot) return socialLinksSlot;
|
|
99175
99325
|
if (!socialLinks || socialLinks.length === 0) return null;
|
|
99176
99326
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -99216,7 +99366,7 @@ function LinkTreeBlock({
|
|
|
99216
99366
|
socialIconClassName,
|
|
99217
99367
|
socialLinkClassName
|
|
99218
99368
|
]);
|
|
99219
|
-
const renderFooter =
|
|
99369
|
+
const renderFooter = React52__namespace.useMemo(() => {
|
|
99220
99370
|
if (footerSlot) return footerSlot;
|
|
99221
99371
|
if (!footerAction) return null;
|
|
99222
99372
|
const resolvedFooterAction = footerAction;
|
|
@@ -99255,7 +99405,7 @@ function LinkTreeBlock({
|
|
|
99255
99405
|
pattern: resolvedPattern,
|
|
99256
99406
|
patternOpacity,
|
|
99257
99407
|
patternClassName,
|
|
99258
|
-
|
|
99408
|
+
containerClassName,
|
|
99259
99409
|
children: [
|
|
99260
99410
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
99261
99411
|
"div",
|
|
@@ -99561,7 +99711,7 @@ function LinkPageNewsletterSocial({
|
|
|
99561
99711
|
name,
|
|
99562
99712
|
bio,
|
|
99563
99713
|
avatar,
|
|
99564
|
-
avatarUrl
|
|
99714
|
+
avatarUrl,
|
|
99565
99715
|
profileSlot,
|
|
99566
99716
|
newsletterHeading,
|
|
99567
99717
|
newsletterDescription,
|
|
@@ -99580,7 +99730,6 @@ function LinkPageNewsletterSocial({
|
|
|
99580
99730
|
footerAction,
|
|
99581
99731
|
footerSlot,
|
|
99582
99732
|
className,
|
|
99583
|
-
containerClassName,
|
|
99584
99733
|
contentClassName,
|
|
99585
99734
|
headerClassName,
|
|
99586
99735
|
avatarClassName,
|
|
@@ -99601,8 +99750,9 @@ function LinkPageNewsletterSocial({
|
|
|
99601
99750
|
linkLabelClassName,
|
|
99602
99751
|
linkChevronClassName,
|
|
99603
99752
|
footerClassName,
|
|
99604
|
-
background
|
|
99605
|
-
|
|
99753
|
+
background,
|
|
99754
|
+
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
99755
|
+
spacing = "py-12 md:py-32",
|
|
99606
99756
|
pattern,
|
|
99607
99757
|
patternOpacity,
|
|
99608
99758
|
patternClassName,
|
|
@@ -99692,32 +99842,24 @@ function LinkPageNewsletterSocial({
|
|
|
99692
99842
|
}
|
|
99693
99843
|
),
|
|
99694
99844
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1", children: [
|
|
99695
|
-
name && (typeof name === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
99696
|
-
|
|
99697
|
-
{
|
|
99698
|
-
className: cn(
|
|
99699
|
-
"text-2xl font-bold",
|
|
99700
|
-
nameClassName
|
|
99701
|
-
),
|
|
99702
|
-
children: name
|
|
99703
|
-
}
|
|
99704
|
-
) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: nameClassName, children: name })),
|
|
99705
|
-
bio && (typeof bio === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
99706
|
-
"p",
|
|
99707
|
-
{
|
|
99708
|
-
className: cn(
|
|
99709
|
-
"max-w-xs text-sm",
|
|
99710
|
-
getTextColor(resolvedBackground, "muted"),
|
|
99711
|
-
bioClassName
|
|
99712
|
-
),
|
|
99713
|
-
children: bio
|
|
99714
|
-
}
|
|
99715
|
-
) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: bioClassName, children: bio }))
|
|
99845
|
+
name && (typeof name === "string" ? /* @__PURE__ */ jsxRuntime.jsx("h1", { className: cn("text-2xl font-bold", nameClassName), children: name }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: nameClassName, children: name })),
|
|
99846
|
+
bio && (typeof bio === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("max-w-xs text-sm text-balance", bioClassName), children: bio }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: bioClassName, children: bio }))
|
|
99716
99847
|
] })
|
|
99717
99848
|
]
|
|
99718
99849
|
}
|
|
99719
99850
|
);
|
|
99720
|
-
}, [
|
|
99851
|
+
}, [
|
|
99852
|
+
profileSlot,
|
|
99853
|
+
resolvedAvatar,
|
|
99854
|
+
avatarClassName,
|
|
99855
|
+
optixFlowConfig,
|
|
99856
|
+
name,
|
|
99857
|
+
resolvedBackground,
|
|
99858
|
+
nameClassName,
|
|
99859
|
+
bio,
|
|
99860
|
+
bioClassName,
|
|
99861
|
+
headerClassName
|
|
99862
|
+
]);
|
|
99721
99863
|
const renderSocialLinks = React52.useMemo(() => {
|
|
99722
99864
|
if (socialLinksSlot) return socialLinksSlot;
|
|
99723
99865
|
if (!socialLinks || socialLinks.length === 0) return null;
|
|
@@ -99744,12 +99886,10 @@ function LinkPageNewsletterSocial({
|
|
|
99744
99886
|
{
|
|
99745
99887
|
...socialPressableProps,
|
|
99746
99888
|
"aria-label": ariaLabel,
|
|
99889
|
+
asButton: true,
|
|
99890
|
+
size: "icon-lg",
|
|
99747
99891
|
className: cn(
|
|
99748
99892
|
"rounded-full p-2.5 transition-all duration-200",
|
|
99749
|
-
"hover:scale-110 active:scale-95",
|
|
99750
|
-
getNestedCardBg(resolvedBackground),
|
|
99751
|
-
getNestedCardTextColor(resolvedBackground),
|
|
99752
|
-
"hover:opacity-80",
|
|
99753
99893
|
socialLinkClassName,
|
|
99754
99894
|
social.className
|
|
99755
99895
|
),
|
|
@@ -99760,7 +99900,14 @@ function LinkPageNewsletterSocial({
|
|
|
99760
99900
|
})
|
|
99761
99901
|
}
|
|
99762
99902
|
);
|
|
99763
|
-
}, [
|
|
99903
|
+
}, [
|
|
99904
|
+
socialLinksSlot,
|
|
99905
|
+
socialLinks,
|
|
99906
|
+
socialLinksClassName,
|
|
99907
|
+
socialIconClassName,
|
|
99908
|
+
resolvedBackground,
|
|
99909
|
+
socialLinkClassName
|
|
99910
|
+
]);
|
|
99764
99911
|
const renderFormFields = React52.useMemo(() => {
|
|
99765
99912
|
if (formSlot) return formSlot;
|
|
99766
99913
|
const {
|
|
@@ -99779,10 +99926,7 @@ function LinkPageNewsletterSocial({
|
|
|
99779
99926
|
type: "email",
|
|
99780
99927
|
placeholder: emailPlaceholder,
|
|
99781
99928
|
error: meta.touched && !!meta.error,
|
|
99782
|
-
className: cn(
|
|
99783
|
-
"w-full",
|
|
99784
|
-
inputClassName
|
|
99785
|
-
),
|
|
99929
|
+
className: cn("w-full", inputClassName),
|
|
99786
99930
|
"aria-label": emailPlaceholder || "Email address"
|
|
99787
99931
|
}
|
|
99788
99932
|
) }),
|
|
@@ -99808,7 +99952,16 @@ function LinkPageNewsletterSocial({
|
|
|
99808
99952
|
}
|
|
99809
99953
|
)
|
|
99810
99954
|
] });
|
|
99811
|
-
}, [
|
|
99955
|
+
}, [
|
|
99956
|
+
formSlot,
|
|
99957
|
+
resolvedSubmitAction,
|
|
99958
|
+
emailPlaceholder,
|
|
99959
|
+
inputClassName,
|
|
99960
|
+
submitButtonClassName,
|
|
99961
|
+
form.isSubmitting,
|
|
99962
|
+
submittingIcon,
|
|
99963
|
+
submittingLabel
|
|
99964
|
+
]);
|
|
99812
99965
|
const renderNewsletter = React52.useMemo(() => {
|
|
99813
99966
|
if (newsletterSlot) return newsletterSlot;
|
|
99814
99967
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
@@ -99831,17 +99984,7 @@ function LinkPageNewsletterSocial({
|
|
|
99831
99984
|
children: newsletterHeading
|
|
99832
99985
|
}
|
|
99833
99986
|
) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: newsletterHeadingClassName, children: newsletterHeading })),
|
|
99834
|
-
newsletterDescription && (typeof newsletterDescription === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
99835
|
-
"p",
|
|
99836
|
-
{
|
|
99837
|
-
className: cn(
|
|
99838
|
-
"text-sm",
|
|
99839
|
-
getTextColor(resolvedBackground, "muted"),
|
|
99840
|
-
newsletterDescriptionClassName
|
|
99841
|
-
),
|
|
99842
|
-
children: newsletterDescription
|
|
99843
|
-
}
|
|
99844
|
-
) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: newsletterDescriptionClassName, children: newsletterDescription }))
|
|
99987
|
+
newsletterDescription && (typeof newsletterDescription === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("text-sm", newsletterDescriptionClassName), children: newsletterDescription }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: newsletterDescriptionClassName, children: newsletterDescription }))
|
|
99845
99988
|
] }),
|
|
99846
99989
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
99847
99990
|
forms.Form,
|
|
@@ -99856,7 +99999,20 @@ function LinkPageNewsletterSocial({
|
|
|
99856
99999
|
]
|
|
99857
100000
|
}
|
|
99858
100001
|
);
|
|
99859
|
-
}, [
|
|
100002
|
+
}, [
|
|
100003
|
+
newsletterSlot,
|
|
100004
|
+
newsletterCardClassName,
|
|
100005
|
+
newsletterHeading,
|
|
100006
|
+
newsletterHeadingClassName,
|
|
100007
|
+
newsletterDescription,
|
|
100008
|
+
resolvedBackground,
|
|
100009
|
+
newsletterDescriptionClassName,
|
|
100010
|
+
form,
|
|
100011
|
+
formConfig?.endpoint,
|
|
100012
|
+
formMethod,
|
|
100013
|
+
formClassName,
|
|
100014
|
+
renderFormFields
|
|
100015
|
+
]);
|
|
99860
100016
|
const renderLinks = React52.useMemo(() => {
|
|
99861
100017
|
if (linksSlot) return linksSlot;
|
|
99862
100018
|
if (!links || links.length === 0) return null;
|
|
@@ -99898,7 +100054,7 @@ function LinkPageNewsletterSocial({
|
|
|
99898
100054
|
Pressable,
|
|
99899
100055
|
{
|
|
99900
100056
|
className: cn(
|
|
99901
|
-
"flex w-full items-center gap-3 rounded-xl px-4 py-3 transition-all duration-200",
|
|
100057
|
+
"flex w-full bg-card text-card-foreground items-center gap-3 rounded-xl px-4 py-3 transition-all duration-200",
|
|
99902
100058
|
"hover:scale-[1.02] active:scale-[0.98]",
|
|
99903
100059
|
"border border-border bg-card hover:opacity-80",
|
|
99904
100060
|
linkClassName,
|
|
@@ -99917,22 +100073,23 @@ function LinkPageNewsletterSocial({
|
|
|
99917
100073
|
children: label
|
|
99918
100074
|
}
|
|
99919
100075
|
) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("flex-1", linkLabelClassName), children: label })),
|
|
99920
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
99921
|
-
"span",
|
|
99922
|
-
{
|
|
99923
|
-
className: cn(
|
|
99924
|
-
getTextColor(resolvedBackground, "muted"),
|
|
99925
|
-
linkChevronClassName
|
|
99926
|
-
),
|
|
99927
|
-
children: resolvedChevronIcon
|
|
99928
|
-
}
|
|
99929
|
-
)
|
|
100076
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: cn(linkChevronClassName), children: resolvedChevronIcon })
|
|
99930
100077
|
]
|
|
99931
100078
|
},
|
|
99932
100079
|
link.id ?? index
|
|
99933
100080
|
);
|
|
99934
100081
|
}) });
|
|
99935
|
-
}, [
|
|
100082
|
+
}, [
|
|
100083
|
+
linksSlot,
|
|
100084
|
+
links,
|
|
100085
|
+
linksClassName,
|
|
100086
|
+
linkIconClassName,
|
|
100087
|
+
resolvedBackground,
|
|
100088
|
+
linkClassName,
|
|
100089
|
+
linkLabelClassName,
|
|
100090
|
+
linkChevronClassName,
|
|
100091
|
+
resolvedChevronIcon
|
|
100092
|
+
]);
|
|
99936
100093
|
const renderFooter = React52.useMemo(() => {
|
|
99937
100094
|
if (footerSlot) return footerSlot;
|
|
99938
100095
|
if (!footerAction) return null;
|
|
@@ -99951,7 +100108,6 @@ function LinkPageNewsletterSocial({
|
|
|
99951
100108
|
{
|
|
99952
100109
|
className: cn(
|
|
99953
100110
|
"flex items-center justify-center gap-1.5 text-xs transition-opacity hover:opacity-80",
|
|
99954
|
-
getTextColor(resolvedBackground, "muted"),
|
|
99955
100111
|
"opacity-50",
|
|
99956
100112
|
footerClassName,
|
|
99957
100113
|
actionClassName
|
|
@@ -99974,22 +100130,14 @@ function LinkPageNewsletterSocial({
|
|
|
99974
100130
|
pattern,
|
|
99975
100131
|
patternOpacity,
|
|
99976
100132
|
patternClassName,
|
|
99977
|
-
|
|
99978
|
-
|
|
99979
|
-
|
|
99980
|
-
|
|
99981
|
-
|
|
99982
|
-
|
|
99983
|
-
|
|
99984
|
-
|
|
99985
|
-
renderProfile,
|
|
99986
|
-
renderSocialLinks,
|
|
99987
|
-
renderNewsletter,
|
|
99988
|
-
renderLinks,
|
|
99989
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "pt-4", children: renderFooter })
|
|
99990
|
-
] })
|
|
99991
|
-
}
|
|
99992
|
-
)
|
|
100133
|
+
containerClassName,
|
|
100134
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex min-h-screen w-full items-start justify-center py-12", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("w-full space-y-8", contentClassName), children: [
|
|
100135
|
+
renderProfile,
|
|
100136
|
+
renderSocialLinks,
|
|
100137
|
+
renderNewsletter,
|
|
100138
|
+
renderLinks,
|
|
100139
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "pt-4", children: renderFooter })
|
|
100140
|
+
] }) })
|
|
99993
100141
|
}
|
|
99994
100142
|
);
|
|
99995
100143
|
}
|