@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.js
CHANGED
|
@@ -23591,7 +23591,8 @@ function FooterCtaBanner({
|
|
|
23591
23591
|
legalLinksClassName,
|
|
23592
23592
|
legalLinkClassName,
|
|
23593
23593
|
background,
|
|
23594
|
-
|
|
23594
|
+
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
23595
|
+
spacing = "py-6 md:py-32",
|
|
23595
23596
|
pattern,
|
|
23596
23597
|
patternOpacity,
|
|
23597
23598
|
optixFlowConfig
|
|
@@ -23603,89 +23604,168 @@ function FooterCtaBanner({
|
|
|
23603
23604
|
spacing,
|
|
23604
23605
|
pattern,
|
|
23605
23606
|
patternOpacity,
|
|
23606
|
-
className
|
|
23607
|
+
className,
|
|
23608
|
+
containerClassName,
|
|
23607
23609
|
children: /* @__PURE__ */ jsx("div", { className: cn(contentClassName), children: /* @__PURE__ */ jsxs("footer", { children: [
|
|
23608
|
-
/* @__PURE__ */ jsxs(
|
|
23609
|
-
|
|
23610
|
-
|
|
23611
|
-
|
|
23612
|
-
|
|
23613
|
-
|
|
23614
|
-
href: ctaButtonUrl,
|
|
23615
|
-
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),
|
|
23616
|
-
children: ctaButtonText
|
|
23617
|
-
}
|
|
23618
|
-
)
|
|
23619
|
-
] }),
|
|
23620
|
-
/* @__PURE__ */ jsxs("div", { className: cn("grid gap-10 lg:grid-cols-5", gridClassName), children: [
|
|
23621
|
-
/* @__PURE__ */ jsxs("div", { className: cn("lg:col-span-2", brandClassName), children: [
|
|
23622
|
-
logo && /* @__PURE__ */ jsx(
|
|
23623
|
-
FooterLogo,
|
|
23624
|
-
{
|
|
23625
|
-
logo,
|
|
23626
|
-
logoClassName: cn("mb-6", logoWrapperClassName),
|
|
23627
|
-
logoImageClassName: logoClassName,
|
|
23628
|
-
optixFlowConfig
|
|
23629
|
-
}
|
|
23610
|
+
/* @__PURE__ */ jsxs(
|
|
23611
|
+
"div",
|
|
23612
|
+
{
|
|
23613
|
+
className: cn(
|
|
23614
|
+
"mb-16 rounded-lg border p-8 text-center md:p-12",
|
|
23615
|
+
ctaBannerClassName
|
|
23630
23616
|
),
|
|
23631
|
-
|
|
23632
|
-
/* @__PURE__ */ jsx(
|
|
23633
|
-
|
|
23634
|
-
|
|
23635
|
-
|
|
23617
|
+
children: [
|
|
23618
|
+
/* @__PURE__ */ jsx(
|
|
23619
|
+
"h2",
|
|
23620
|
+
{
|
|
23621
|
+
className: cn(
|
|
23622
|
+
"mb-4 text-3xl font-bold md:text-4xl text-balance",
|
|
23623
|
+
ctaHeadingClassName
|
|
23624
|
+
),
|
|
23625
|
+
children: ctaHeading
|
|
23626
|
+
}
|
|
23627
|
+
),
|
|
23628
|
+
/* @__PURE__ */ jsx(
|
|
23629
|
+
"p",
|
|
23630
|
+
{
|
|
23631
|
+
className: cn(
|
|
23632
|
+
"mx-auto mb-6 max-w-2xl opacity-80 text-balance",
|
|
23633
|
+
ctaDescriptionClassName
|
|
23634
|
+
),
|
|
23635
|
+
children: ctaDescription
|
|
23636
|
+
}
|
|
23637
|
+
),
|
|
23638
|
+
/* @__PURE__ */ jsx(Pressable, { href: ctaButtonUrl, asButton: true, variant: "default", children: ctaButtonText })
|
|
23639
|
+
]
|
|
23640
|
+
}
|
|
23641
|
+
),
|
|
23642
|
+
/* @__PURE__ */ jsxs(
|
|
23643
|
+
"div",
|
|
23644
|
+
{
|
|
23645
|
+
className: cn(
|
|
23646
|
+
"grid gap-10 grid-cols-2 md:grid-cols-5",
|
|
23647
|
+
gridClassName
|
|
23648
|
+
),
|
|
23649
|
+
children: [
|
|
23650
|
+
/* @__PURE__ */ jsxs("div", { className: cn("col-span-2", brandClassName), children: [
|
|
23651
|
+
logo && /* @__PURE__ */ jsx(
|
|
23652
|
+
FooterLogo,
|
|
23636
23653
|
{
|
|
23637
|
-
|
|
23638
|
-
|
|
23639
|
-
|
|
23654
|
+
logo,
|
|
23655
|
+
logoClassName: cn("mb-6", logoWrapperClassName),
|
|
23656
|
+
logoImageClassName: logoClassName,
|
|
23657
|
+
optixFlowConfig
|
|
23640
23658
|
}
|
|
23641
23659
|
),
|
|
23660
|
+
newsletterClassName && newsletterLabel && /* @__PURE__ */ jsxs("div", { className: cn("mb-6", newsletterClassName), children: [
|
|
23661
|
+
/* @__PURE__ */ jsx("p", { className: "mb-2 text-sm font-medium", children: newsletterLabel }),
|
|
23662
|
+
/* @__PURE__ */ jsxs("div", { className: "flex max-w-sm gap-2", children: [
|
|
23663
|
+
/* @__PURE__ */ jsx(
|
|
23664
|
+
"input",
|
|
23665
|
+
{
|
|
23666
|
+
type: "email",
|
|
23667
|
+
placeholder: newsletterPlaceholder,
|
|
23668
|
+
className: cn(
|
|
23669
|
+
"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",
|
|
23670
|
+
newsletterInputClassName
|
|
23671
|
+
)
|
|
23672
|
+
}
|
|
23673
|
+
),
|
|
23674
|
+
/* @__PURE__ */ jsx(
|
|
23675
|
+
"button",
|
|
23676
|
+
{
|
|
23677
|
+
type: "submit",
|
|
23678
|
+
className: cn(
|
|
23679
|
+
"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",
|
|
23680
|
+
newsletterButtonClassName
|
|
23681
|
+
),
|
|
23682
|
+
children: newsletterButtonText
|
|
23683
|
+
}
|
|
23684
|
+
)
|
|
23685
|
+
] })
|
|
23686
|
+
] }),
|
|
23642
23687
|
/* @__PURE__ */ jsx(
|
|
23643
|
-
"
|
|
23688
|
+
"ul",
|
|
23644
23689
|
{
|
|
23645
|
-
|
|
23646
|
-
|
|
23647
|
-
|
|
23690
|
+
className: cn("flex items-center gap-4", socialLinksClassName),
|
|
23691
|
+
children: socialLinks?.map((social, idx) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
23692
|
+
SocialLinkIcon,
|
|
23693
|
+
{
|
|
23694
|
+
href: social.href,
|
|
23695
|
+
label: social.label,
|
|
23696
|
+
iconNameOverride: social.iconNameOverride,
|
|
23697
|
+
className: cn(
|
|
23698
|
+
"opacity-80 transition-colors hover:opacity-100",
|
|
23699
|
+
socialLinkClassName
|
|
23700
|
+
)
|
|
23701
|
+
}
|
|
23702
|
+
) }, idx))
|
|
23648
23703
|
}
|
|
23649
23704
|
)
|
|
23650
|
-
] })
|
|
23651
|
-
|
|
23652
|
-
|
|
23653
|
-
|
|
23654
|
-
|
|
23655
|
-
|
|
23656
|
-
|
|
23657
|
-
|
|
23658
|
-
|
|
23659
|
-
|
|
23660
|
-
|
|
23661
|
-
|
|
23662
|
-
|
|
23663
|
-
|
|
23664
|
-
|
|
23665
|
-
|
|
23666
|
-
|
|
23667
|
-
|
|
23668
|
-
|
|
23669
|
-
|
|
23670
|
-
}
|
|
23671
|
-
|
|
23672
|
-
|
|
23673
|
-
|
|
23674
|
-
/* @__PURE__ */ jsxs(
|
|
23675
|
-
|
|
23676
|
-
|
|
23677
|
-
|
|
23678
|
-
|
|
23679
|
-
|
|
23680
|
-
|
|
23681
|
-
|
|
23682
|
-
|
|
23683
|
-
|
|
23684
|
-
|
|
23685
|
-
|
|
23686
|
-
|
|
23687
|
-
|
|
23688
|
-
|
|
23705
|
+
] }),
|
|
23706
|
+
sections?.map((section, sectionIdx) => /* @__PURE__ */ jsxs("div", { className: cn(navSectionClassName), children: [
|
|
23707
|
+
/* @__PURE__ */ jsx("h3", { className: cn("mb-4 font-semibold", navTitleClassName), children: section.title }),
|
|
23708
|
+
/* @__PURE__ */ jsx(
|
|
23709
|
+
"ul",
|
|
23710
|
+
{
|
|
23711
|
+
className: cn(
|
|
23712
|
+
"space-y-3 text-sm opacity-80",
|
|
23713
|
+
navLinksClassName
|
|
23714
|
+
),
|
|
23715
|
+
children: section.links.map((link, linkIdx) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
23716
|
+
Pressable,
|
|
23717
|
+
{
|
|
23718
|
+
href: link.href,
|
|
23719
|
+
className: cn("hover:opacity-100", navLinkClassName),
|
|
23720
|
+
children: link.name
|
|
23721
|
+
}
|
|
23722
|
+
) }, linkIdx))
|
|
23723
|
+
}
|
|
23724
|
+
)
|
|
23725
|
+
] }, sectionIdx))
|
|
23726
|
+
]
|
|
23727
|
+
}
|
|
23728
|
+
),
|
|
23729
|
+
/* @__PURE__ */ jsxs(
|
|
23730
|
+
"div",
|
|
23731
|
+
{
|
|
23732
|
+
className: cn(
|
|
23733
|
+
"mt-16 flex flex-col justify-between gap-4 border-t pt-8 text-sm opacity-80 md:flex-row md:items-center",
|
|
23734
|
+
bottomClassName
|
|
23735
|
+
),
|
|
23736
|
+
children: [
|
|
23737
|
+
/* @__PURE__ */ jsxs(
|
|
23738
|
+
"div",
|
|
23739
|
+
{
|
|
23740
|
+
className: cn(
|
|
23741
|
+
"flex flex-col gap-2 md:flex-row md:items-center md:gap-4",
|
|
23742
|
+
copyrightClassName
|
|
23743
|
+
),
|
|
23744
|
+
children: [
|
|
23745
|
+
/* @__PURE__ */ jsx(FooterCopyright, { copyright }),
|
|
23746
|
+
/* @__PURE__ */ jsx(
|
|
23747
|
+
BrandAttribution,
|
|
23748
|
+
{
|
|
23749
|
+
internalBrandSlug: "open_site_ai",
|
|
23750
|
+
optionIndex: 8,
|
|
23751
|
+
variant: "span",
|
|
23752
|
+
linkClassName: "underline underline-offset-4 transition-colors hover:opacity-100"
|
|
23753
|
+
}
|
|
23754
|
+
)
|
|
23755
|
+
]
|
|
23756
|
+
}
|
|
23757
|
+
),
|
|
23758
|
+
/* @__PURE__ */ jsx("ul", { className: cn("flex gap-4", legalLinksClassName), children: legalLinks?.map((link, idx) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
23759
|
+
Pressable,
|
|
23760
|
+
{
|
|
23761
|
+
href: link.href,
|
|
23762
|
+
className: cn("hover:opacity-100", legalLinkClassName),
|
|
23763
|
+
children: link.name
|
|
23764
|
+
}
|
|
23765
|
+
) }, idx)) })
|
|
23766
|
+
]
|
|
23767
|
+
}
|
|
23768
|
+
)
|
|
23689
23769
|
] }) })
|
|
23690
23770
|
}
|
|
23691
23771
|
);
|
|
@@ -27060,7 +27140,7 @@ function FeatureUtilityCardsGrid({
|
|
|
27060
27140
|
href: learnMoreAction.href,
|
|
27061
27141
|
onClick: learnMoreAction.onClick,
|
|
27062
27142
|
className: cn(
|
|
27063
|
-
"flex items-center gap-1 font-medium transition-opacity hover:opacity-80",
|
|
27143
|
+
"flex items-center gap-1 font-medium transition-opacity hover:opacity-80 text-right",
|
|
27064
27144
|
learnMoreAction.className
|
|
27065
27145
|
),
|
|
27066
27146
|
"aria-label": learnMoreAction["aria-label"],
|
|
@@ -49668,7 +49748,7 @@ function HeroOverlayCtaGrid({
|
|
|
49668
49748
|
optixFlowConfig
|
|
49669
49749
|
}
|
|
49670
49750
|
),
|
|
49671
|
-
/* @__PURE__ */ jsx("div", { className: "absolute inset-0 bg-linear-to-
|
|
49751
|
+
/* @__PURE__ */ jsx("div", { className: "absolute inset-0 bg-linear-to-b from-black/80 via-black/65 to-black/20" })
|
|
49672
49752
|
] });
|
|
49673
49753
|
}, [backgroundSlot, backgroundImage, backgroundAlt, optixFlowConfig]);
|
|
49674
49754
|
return /* @__PURE__ */ jsxs(
|
|
@@ -49679,71 +49759,66 @@ function HeroOverlayCtaGrid({
|
|
|
49679
49759
|
pattern,
|
|
49680
49760
|
patternOpacity,
|
|
49681
49761
|
className: cn(
|
|
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-
|
|
49762
|
+
"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",
|
|
49683
49763
|
className
|
|
49684
49764
|
),
|
|
49765
|
+
containerClassName,
|
|
49685
49766
|
children: [
|
|
49686
49767
|
renderBackground,
|
|
49687
|
-
/* @__PURE__ */ jsxs(
|
|
49688
|
-
|
|
49689
|
-
|
|
49690
|
-
|
|
49691
|
-
|
|
49692
|
-
|
|
49693
|
-
|
|
49694
|
-
|
|
49695
|
-
|
|
49696
|
-
|
|
49697
|
-
|
|
49698
|
-
|
|
49699
|
-
|
|
49700
|
-
|
|
49701
|
-
|
|
49702
|
-
|
|
49703
|
-
|
|
49704
|
-
|
|
49705
|
-
|
|
49706
|
-
|
|
49707
|
-
|
|
49708
|
-
|
|
49709
|
-
|
|
49710
|
-
|
|
49711
|
-
|
|
49712
|
-
|
|
49713
|
-
|
|
49714
|
-
|
|
49715
|
-
|
|
49716
|
-
|
|
49717
|
-
|
|
49718
|
-
|
|
49719
|
-
|
|
49720
|
-
|
|
49721
|
-
|
|
49722
|
-
|
|
49723
|
-
|
|
49724
|
-
|
|
49725
|
-
|
|
49726
|
-
|
|
49727
|
-
|
|
49728
|
-
|
|
49729
|
-
|
|
49730
|
-
|
|
49731
|
-
|
|
49732
|
-
|
|
49733
|
-
|
|
49734
|
-
|
|
49735
|
-
|
|
49736
|
-
|
|
49737
|
-
|
|
49738
|
-
|
|
49739
|
-
|
|
49740
|
-
|
|
49741
|
-
}
|
|
49742
|
-
),
|
|
49743
|
-
renderCards
|
|
49744
|
-
]
|
|
49745
|
-
}
|
|
49746
|
-
)
|
|
49768
|
+
/* @__PURE__ */ jsxs("div", { className: "relative flex flex-col gap-12", children: [
|
|
49769
|
+
/* @__PURE__ */ jsxs(
|
|
49770
|
+
motion.div,
|
|
49771
|
+
{
|
|
49772
|
+
initial: { opacity: 0, y: 28 },
|
|
49773
|
+
animate: { opacity: 1, y: 0 },
|
|
49774
|
+
transition: { duration: 0.6, ease: "easeOut" },
|
|
49775
|
+
className: "mx-auto max-w-3xl text-center text-balance text-white px-0",
|
|
49776
|
+
children: [
|
|
49777
|
+
renderBadge,
|
|
49778
|
+
heading && (typeof heading === "string" ? /* @__PURE__ */ jsx(
|
|
49779
|
+
"h1",
|
|
49780
|
+
{
|
|
49781
|
+
className: cn(
|
|
49782
|
+
"mt-6 text-4xl font-bold leading-tight md:text-5xl lg:text-6xl text-balance",
|
|
49783
|
+
headingClassName
|
|
49784
|
+
),
|
|
49785
|
+
children: heading
|
|
49786
|
+
}
|
|
49787
|
+
) : /* @__PURE__ */ jsx(
|
|
49788
|
+
"h1",
|
|
49789
|
+
{
|
|
49790
|
+
className: cn(
|
|
49791
|
+
"mt-6 text-4xl font-bold leading-tight md:text-5xl lg:text-6xl text-balance",
|
|
49792
|
+
headingClassName
|
|
49793
|
+
),
|
|
49794
|
+
children: heading
|
|
49795
|
+
}
|
|
49796
|
+
)),
|
|
49797
|
+
description && (typeof description === "string" ? /* @__PURE__ */ jsx(
|
|
49798
|
+
"p",
|
|
49799
|
+
{
|
|
49800
|
+
className: cn(
|
|
49801
|
+
"mt-5 text-lg md:text-xl text-balance",
|
|
49802
|
+
descriptionClassName
|
|
49803
|
+
),
|
|
49804
|
+
children: description
|
|
49805
|
+
}
|
|
49806
|
+
) : /* @__PURE__ */ jsx(
|
|
49807
|
+
"div",
|
|
49808
|
+
{
|
|
49809
|
+
className: cn(
|
|
49810
|
+
"mt-5 text-lg md:text-xl text-balance",
|
|
49811
|
+
descriptionClassName
|
|
49812
|
+
),
|
|
49813
|
+
children: description
|
|
49814
|
+
}
|
|
49815
|
+
)),
|
|
49816
|
+
renderActions
|
|
49817
|
+
]
|
|
49818
|
+
}
|
|
49819
|
+
),
|
|
49820
|
+
renderCards
|
|
49821
|
+
] })
|
|
49747
49822
|
]
|
|
49748
49823
|
}
|
|
49749
49824
|
);
|
|
@@ -50704,7 +50779,10 @@ function HeroPatternBadgeLogos({
|
|
|
50704
50779
|
{
|
|
50705
50780
|
src: src.light,
|
|
50706
50781
|
alt,
|
|
50707
|
-
className: cn(
|
|
50782
|
+
className: cn(
|
|
50783
|
+
imgClassName,
|
|
50784
|
+
"w-full h-10 object-contain dark:hidden"
|
|
50785
|
+
),
|
|
50708
50786
|
optixFlowConfig
|
|
50709
50787
|
}
|
|
50710
50788
|
),
|
|
@@ -50713,7 +50791,10 @@ function HeroPatternBadgeLogos({
|
|
|
50713
50791
|
{
|
|
50714
50792
|
src: src.dark,
|
|
50715
50793
|
alt,
|
|
50716
|
-
className: cn(
|
|
50794
|
+
className: cn(
|
|
50795
|
+
imgClassName,
|
|
50796
|
+
"w-full h-10 object-contain hidden dark:block"
|
|
50797
|
+
),
|
|
50717
50798
|
optixFlowConfig
|
|
50718
50799
|
}
|
|
50719
50800
|
)
|
|
@@ -50722,14 +50803,24 @@ function HeroPatternBadgeLogos({
|
|
|
50722
50803
|
{
|
|
50723
50804
|
src,
|
|
50724
50805
|
alt,
|
|
50725
|
-
className: imgClassName,
|
|
50806
|
+
className: cn("w-full h-10 object-contain", imgClassName),
|
|
50726
50807
|
optixFlowConfig
|
|
50727
50808
|
}
|
|
50728
50809
|
);
|
|
50729
50810
|
if (href) {
|
|
50730
50811
|
return /* @__PURE__ */ jsx(Pressable, { href, className: logoClassName, children: imgElement }, index);
|
|
50731
50812
|
}
|
|
50732
|
-
return /* @__PURE__ */ jsx(
|
|
50813
|
+
return /* @__PURE__ */ jsx(
|
|
50814
|
+
"div",
|
|
50815
|
+
{
|
|
50816
|
+
className: cn(
|
|
50817
|
+
"w-auto max-h-10 h-10 flex items-center justify-center",
|
|
50818
|
+
logoClassName
|
|
50819
|
+
),
|
|
50820
|
+
children: imgElement
|
|
50821
|
+
},
|
|
50822
|
+
index
|
|
50823
|
+
);
|
|
50733
50824
|
});
|
|
50734
50825
|
}, [logosSlot, logos, optixFlowConfig]);
|
|
50735
50826
|
return /* @__PURE__ */ jsx(
|
|
@@ -50741,11 +50832,11 @@ function HeroPatternBadgeLogos({
|
|
|
50741
50832
|
patternOpacity,
|
|
50742
50833
|
className: cn("relative p-0", className),
|
|
50743
50834
|
containerClassName,
|
|
50744
|
-
children: /* @__PURE__ */ jsx("div", { className:
|
|
50835
|
+
children: /* @__PURE__ */ jsx("div", { className: "relative", children: /* @__PURE__ */ jsx("div", { className: "relative", children: /* @__PURE__ */ jsxs(
|
|
50745
50836
|
"div",
|
|
50746
50837
|
{
|
|
50747
50838
|
className: cn(
|
|
50748
|
-
"
|
|
50839
|
+
"p-6 flex w-full flex-col items-center gap-6 text-center",
|
|
50749
50840
|
contentClassName
|
|
50750
50841
|
),
|
|
50751
50842
|
children: [
|
|
@@ -50775,7 +50866,10 @@ function HeroPatternBadgeLogos({
|
|
|
50775
50866
|
(actionsSlot || actions && actions.length > 0) && /* @__PURE__ */ jsx(
|
|
50776
50867
|
"div",
|
|
50777
50868
|
{
|
|
50778
|
-
className: cn(
|
|
50869
|
+
className: cn(
|
|
50870
|
+
"mt-6 flex items-center justify-center gap-4 flex-col md:flex-row w-full",
|
|
50871
|
+
actionsClassName
|
|
50872
|
+
),
|
|
50779
50873
|
children: renderActions
|
|
50780
50874
|
}
|
|
50781
50875
|
),
|
|
@@ -50783,12 +50877,12 @@ function HeroPatternBadgeLogos({
|
|
|
50783
50877
|
"div",
|
|
50784
50878
|
{
|
|
50785
50879
|
className: cn(
|
|
50786
|
-
"mt-
|
|
50880
|
+
"mt-6 flex flex-col items-center gap-4 lg:mt-16 w-full",
|
|
50787
50881
|
logosClassName
|
|
50788
50882
|
),
|
|
50789
50883
|
children: [
|
|
50790
50884
|
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 })
|
|
50885
|
+
/* @__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 w-full", children: renderLogos })
|
|
50792
50886
|
]
|
|
50793
50887
|
}
|
|
50794
50888
|
)
|
|
@@ -50929,20 +51023,19 @@ function HeroPatternLogoTechStack({
|
|
|
50929
51023
|
logo,
|
|
50930
51024
|
logoSlot,
|
|
50931
51025
|
heading,
|
|
50932
|
-
highlightedWord
|
|
51026
|
+
highlightedWord,
|
|
50933
51027
|
description,
|
|
50934
51028
|
actions,
|
|
50935
51029
|
actionsSlot,
|
|
50936
|
-
techStackLabel
|
|
51030
|
+
techStackLabel,
|
|
50937
51031
|
techLogos,
|
|
50938
51032
|
techLogosSlot,
|
|
50939
|
-
backgroundImage = "https://cdn.ing/assets/files/record/286187/4gpn0yq2ptra8iwlvmwwv860ggwv",
|
|
50940
51033
|
background,
|
|
50941
|
-
|
|
51034
|
+
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
51035
|
+
spacing = "py-12 md:py-32",
|
|
50942
51036
|
pattern,
|
|
50943
51037
|
patternOpacity,
|
|
50944
51038
|
className,
|
|
50945
|
-
containerClassName,
|
|
50946
51039
|
contentClassName,
|
|
50947
51040
|
headingClassName,
|
|
50948
51041
|
descriptionClassName,
|
|
@@ -50954,12 +51047,12 @@ function HeroPatternLogoTechStack({
|
|
|
50954
51047
|
if (logoSlot) return logoSlot;
|
|
50955
51048
|
if (!logo) return null;
|
|
50956
51049
|
const logoSrc = typeof logo.src === "string" ? logo.src : logo.src.light;
|
|
50957
|
-
return /* @__PURE__ */ jsx("div", { className: "
|
|
51050
|
+
return /* @__PURE__ */ jsx("div", { className: "relative", children: /* @__PURE__ */ jsx(
|
|
50958
51051
|
Img,
|
|
50959
51052
|
{
|
|
50960
51053
|
src: logoSrc,
|
|
50961
51054
|
alt: logo.alt,
|
|
50962
|
-
className: cn("h-16", logo.imgClassName),
|
|
51055
|
+
className: cn("h-16 w-auto object-contain", logo.imgClassName),
|
|
50963
51056
|
optixFlowConfig
|
|
50964
51057
|
}
|
|
50965
51058
|
) });
|
|
@@ -50967,56 +51060,89 @@ function HeroPatternLogoTechStack({
|
|
|
50967
51060
|
const renderActions = useMemo(() => {
|
|
50968
51061
|
if (actionsSlot) return actionsSlot;
|
|
50969
51062
|
if (!actions || actions.length === 0) return null;
|
|
50970
|
-
return /* @__PURE__ */ jsx(
|
|
50971
|
-
|
|
50972
|
-
|
|
50973
|
-
|
|
50974
|
-
|
|
50975
|
-
|
|
50976
|
-
|
|
50977
|
-
|
|
50978
|
-
|
|
50979
|
-
icon,
|
|
51063
|
+
return /* @__PURE__ */ jsx(
|
|
51064
|
+
"div",
|
|
51065
|
+
{
|
|
51066
|
+
className: cn(
|
|
51067
|
+
"mt-6 flex justify-center flex-col md:flex-row gap-3",
|
|
51068
|
+
actionsClassName
|
|
51069
|
+
),
|
|
51070
|
+
children: actions.map((action, index) => {
|
|
51071
|
+
const {
|
|
50980
51072
|
label,
|
|
50981
|
-
|
|
50982
|
-
|
|
50983
|
-
|
|
50984
|
-
|
|
50985
|
-
|
|
50986
|
-
|
|
51073
|
+
icon,
|
|
51074
|
+
iconAfter,
|
|
51075
|
+
children,
|
|
51076
|
+
className: actionClassName,
|
|
51077
|
+
...pressableProps
|
|
51078
|
+
} = action;
|
|
51079
|
+
return /* @__PURE__ */ jsx(
|
|
51080
|
+
Pressable,
|
|
51081
|
+
{
|
|
51082
|
+
asButton: true,
|
|
51083
|
+
className: actionClassName,
|
|
51084
|
+
...pressableProps,
|
|
51085
|
+
children: children ?? /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
51086
|
+
icon,
|
|
51087
|
+
label,
|
|
51088
|
+
iconAfter
|
|
51089
|
+
] })
|
|
51090
|
+
},
|
|
51091
|
+
index
|
|
51092
|
+
);
|
|
51093
|
+
})
|
|
51094
|
+
}
|
|
51095
|
+
);
|
|
50987
51096
|
}, [actionsSlot, actions, actionsClassName]);
|
|
50988
51097
|
const renderTechLogos = useMemo(() => {
|
|
50989
51098
|
if (techLogosSlot) return techLogosSlot;
|
|
50990
51099
|
if (!techLogos || techLogos.length === 0) return null;
|
|
50991
|
-
return /* @__PURE__ */ jsxs(
|
|
50992
|
-
|
|
50993
|
-
|
|
50994
|
-
|
|
50995
|
-
|
|
50996
|
-
|
|
50997
|
-
|
|
50998
|
-
|
|
50999
|
-
|
|
51000
|
-
|
|
51001
|
-
|
|
51002
|
-
|
|
51003
|
-
|
|
51004
|
-
children: /* @__PURE__ */ jsx(
|
|
51005
|
-
Img,
|
|
51100
|
+
return /* @__PURE__ */ jsxs(
|
|
51101
|
+
"div",
|
|
51102
|
+
{
|
|
51103
|
+
className: cn(
|
|
51104
|
+
"mt-8 md:mt-20 flex flex-col items-center gap-5",
|
|
51105
|
+
techLogosClassName
|
|
51106
|
+
),
|
|
51107
|
+
children: [
|
|
51108
|
+
techStackLabel && (typeof techStackLabel === "string" ? /* @__PURE__ */ jsx("p", { className: cn("font-medium lg:text-left"), children: techStackLabel }) : techStackLabel),
|
|
51109
|
+
/* @__PURE__ */ jsx("div", { className: "flex flex-wrap items-center justify-center gap-4", children: techLogos.map((techLogo, index) => {
|
|
51110
|
+
const techLogoSrc = typeof techLogo.src === "string" ? techLogo.src : techLogo.src.light;
|
|
51111
|
+
return /* @__PURE__ */ jsx(
|
|
51112
|
+
Pressable,
|
|
51006
51113
|
{
|
|
51007
|
-
|
|
51008
|
-
|
|
51009
|
-
|
|
51010
|
-
|
|
51011
|
-
|
|
51012
|
-
|
|
51013
|
-
|
|
51014
|
-
|
|
51015
|
-
|
|
51016
|
-
|
|
51017
|
-
|
|
51018
|
-
|
|
51019
|
-
|
|
51114
|
+
href: techLogo.href,
|
|
51115
|
+
className: cn(
|
|
51116
|
+
"group flex w-auto h-10 items-center justify-center max-w-12 max-h-10 min-h-10 p-1",
|
|
51117
|
+
techLogo.className
|
|
51118
|
+
),
|
|
51119
|
+
children: /* @__PURE__ */ jsx(
|
|
51120
|
+
Img,
|
|
51121
|
+
{
|
|
51122
|
+
src: techLogoSrc,
|
|
51123
|
+
alt: techLogo.alt,
|
|
51124
|
+
className: cn(
|
|
51125
|
+
"h-full w-auto object-contain",
|
|
51126
|
+
techLogo.imgClassName
|
|
51127
|
+
),
|
|
51128
|
+
optixFlowConfig
|
|
51129
|
+
}
|
|
51130
|
+
)
|
|
51131
|
+
},
|
|
51132
|
+
index
|
|
51133
|
+
);
|
|
51134
|
+
}) })
|
|
51135
|
+
]
|
|
51136
|
+
}
|
|
51137
|
+
);
|
|
51138
|
+
}, [
|
|
51139
|
+
techLogosSlot,
|
|
51140
|
+
techLogos,
|
|
51141
|
+
techStackLabel,
|
|
51142
|
+
techLogosClassName,
|
|
51143
|
+
optixFlowConfig
|
|
51144
|
+
]);
|
|
51145
|
+
return /* @__PURE__ */ jsx(
|
|
51020
51146
|
Section,
|
|
51021
51147
|
{
|
|
51022
51148
|
background,
|
|
@@ -51024,30 +51150,56 @@ function HeroPatternLogoTechStack({
|
|
|
51024
51150
|
pattern,
|
|
51025
51151
|
patternOpacity,
|
|
51026
51152
|
className: cn(className),
|
|
51027
|
-
|
|
51028
|
-
|
|
51029
|
-
|
|
51030
|
-
|
|
51031
|
-
|
|
51032
|
-
|
|
51033
|
-
|
|
51034
|
-
|
|
51035
|
-
|
|
51036
|
-
|
|
51037
|
-
|
|
51038
|
-
|
|
51039
|
-
|
|
51040
|
-
|
|
51041
|
-
|
|
51042
|
-
|
|
51043
|
-
|
|
51044
|
-
|
|
51045
|
-
|
|
51046
|
-
|
|
51047
|
-
|
|
51048
|
-
|
|
51049
|
-
|
|
51050
|
-
|
|
51153
|
+
containerClassName,
|
|
51154
|
+
children: /* @__PURE__ */ jsx("div", { className: "relative", children: /* @__PURE__ */ jsx("div", { className: "mx-auto flex max-w-5xl flex-col items-center", children: /* @__PURE__ */ jsxs(
|
|
51155
|
+
"div",
|
|
51156
|
+
{
|
|
51157
|
+
className: cn(
|
|
51158
|
+
"flex flex-col items-center gap-6 text-center",
|
|
51159
|
+
contentClassName
|
|
51160
|
+
),
|
|
51161
|
+
children: [
|
|
51162
|
+
renderLogo,
|
|
51163
|
+
/* @__PURE__ */ jsxs("div", { children: [
|
|
51164
|
+
heading && (typeof heading === "string" ? /* @__PURE__ */ jsxs(
|
|
51165
|
+
"h1",
|
|
51166
|
+
{
|
|
51167
|
+
className: cn(
|
|
51168
|
+
"mb-6 text-2xl font-bold tracking-tight text-balance lg:text-5xl",
|
|
51169
|
+
headingClassName
|
|
51170
|
+
),
|
|
51171
|
+
children: [
|
|
51172
|
+
heading,
|
|
51173
|
+
" ",
|
|
51174
|
+
highlightedWord && /* @__PURE__ */ jsx("span", { className: "opacity-75", children: highlightedWord })
|
|
51175
|
+
]
|
|
51176
|
+
}
|
|
51177
|
+
) : /* @__PURE__ */ jsx(
|
|
51178
|
+
"h1",
|
|
51179
|
+
{
|
|
51180
|
+
className: cn(
|
|
51181
|
+
"mb-6 text-2xl font-bold tracking-tight text-balance lg:text-5xl",
|
|
51182
|
+
headingClassName
|
|
51183
|
+
),
|
|
51184
|
+
children: heading
|
|
51185
|
+
}
|
|
51186
|
+
)),
|
|
51187
|
+
description && (typeof description === "string" ? /* @__PURE__ */ jsx(
|
|
51188
|
+
"p",
|
|
51189
|
+
{
|
|
51190
|
+
className: cn(
|
|
51191
|
+
"mx-auto max-w-3xl lg:text-xl text-balance",
|
|
51192
|
+
descriptionClassName
|
|
51193
|
+
),
|
|
51194
|
+
children: description
|
|
51195
|
+
}
|
|
51196
|
+
) : /* @__PURE__ */ jsx("div", { className: descriptionClassName, children: description }))
|
|
51197
|
+
] }),
|
|
51198
|
+
renderActions,
|
|
51199
|
+
renderTechLogos
|
|
51200
|
+
]
|
|
51201
|
+
}
|
|
51202
|
+
) }) })
|
|
51051
51203
|
}
|
|
51052
51204
|
);
|
|
51053
51205
|
}
|
|
@@ -98722,7 +98874,6 @@ function TimelineScrollHighlight({
|
|
|
98722
98874
|
var blockBrandedIconsAndPlaceholders = {
|
|
98723
98875
|
avatar1: "https://cdn.ing/assets/i/r/286239/ebm7o3j2kx48vw98emnwjaf5qvl6/avatar-1.webp",
|
|
98724
98876
|
avatar2: "https://cdn.ing/assets/i/r/286240/vgf3rrkwn0769pfdtpal60uo5vpw/avatar-2.webp",
|
|
98725
|
-
avatar3: "https://cdn.ing/assets/i/r/286241/05vbqt3lls0q974r8fv4zn0njllq/avatar-3.webp",
|
|
98726
98877
|
avatar4: "https://cdn.ing/assets/i/r/286242/y0zkazxawxrl3twwkw63twf04pdt/avatar-4.webp",
|
|
98727
98878
|
avatar5: "https://cdn.ing/assets/i/r/286243/alziyfoo570m3vade3usufzlzj6x/avatar-5.webp"};
|
|
98728
98879
|
function LinkTreeBlock({
|
|
@@ -98744,7 +98895,6 @@ function LinkTreeBlock({
|
|
|
98744
98895
|
footerAction,
|
|
98745
98896
|
footerSlot,
|
|
98746
98897
|
className,
|
|
98747
|
-
containerClassName,
|
|
98748
98898
|
contentClassName,
|
|
98749
98899
|
headerClassName,
|
|
98750
98900
|
avatarClassName,
|
|
@@ -98771,20 +98921,20 @@ function LinkTreeBlock({
|
|
|
98771
98921
|
socialLinkClassName,
|
|
98772
98922
|
socialIconClassName,
|
|
98773
98923
|
footerClassName,
|
|
98774
|
-
background
|
|
98775
|
-
|
|
98924
|
+
background,
|
|
98925
|
+
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
98926
|
+
spacing = "py-12 md:py-32",
|
|
98776
98927
|
pattern,
|
|
98777
98928
|
patternOpacity,
|
|
98778
98929
|
patternClassName,
|
|
98779
98930
|
backgroundPattern,
|
|
98780
|
-
accentColor,
|
|
98781
98931
|
optixFlowConfig
|
|
98782
98932
|
}) {
|
|
98783
98933
|
const resolvedBackground = background;
|
|
98784
98934
|
const resolvedPattern = pattern ?? backgroundPattern;
|
|
98785
|
-
const [lightboxOpen, setLightboxOpen] = useState(false);
|
|
98786
|
-
const [lightboxIndex, setLightboxIndex] = useState(0);
|
|
98787
|
-
const lightboxItems = useMemo(() => {
|
|
98935
|
+
const [lightboxOpen, setLightboxOpen] = React52.useState(false);
|
|
98936
|
+
const [lightboxIndex, setLightboxIndex] = React52.useState(0);
|
|
98937
|
+
const lightboxItems = React52.useMemo(() => {
|
|
98788
98938
|
if (!mediaGallery || mediaGallery.length === 0) return [];
|
|
98789
98939
|
return mediaGallery.slice(0, mediaGalleryLimit).map((item, index) => ({
|
|
98790
98940
|
id: item.id ?? `media-${index}`,
|
|
@@ -98796,11 +98946,11 @@ function LinkTreeBlock({
|
|
|
98796
98946
|
share: true
|
|
98797
98947
|
}));
|
|
98798
98948
|
}, [mediaGallery, mediaGalleryLimit]);
|
|
98799
|
-
const handleMediaClick = useCallback((index) => {
|
|
98949
|
+
const handleMediaClick = React52.useCallback((index) => {
|
|
98800
98950
|
setLightboxIndex(index);
|
|
98801
98951
|
setLightboxOpen(true);
|
|
98802
98952
|
}, []);
|
|
98803
|
-
const handleLightboxClose = useCallback(() => {
|
|
98953
|
+
const handleLightboxClose = React52.useCallback(() => {
|
|
98804
98954
|
setLightboxOpen(false);
|
|
98805
98955
|
}, []);
|
|
98806
98956
|
const resolveImage = (value, fallbackAlt) => {
|
|
@@ -98812,7 +98962,7 @@ function LinkTreeBlock({
|
|
|
98812
98962
|
};
|
|
98813
98963
|
const nameForAlt = typeof brandName === "string" ? brandName : "Brand avatar";
|
|
98814
98964
|
const resolvedAvatar = resolveImage(brandAvatar || brandLogo, nameForAlt) || resolveImage(blockBrandedIconsAndPlaceholders.avatar1, nameForAlt);
|
|
98815
|
-
const renderBrandHeader = useMemo(() => {
|
|
98965
|
+
const renderBrandHeader = React52.useMemo(() => {
|
|
98816
98966
|
if (brandSlot) return brandSlot;
|
|
98817
98967
|
return /* @__PURE__ */ jsxs(
|
|
98818
98968
|
"div",
|
|
@@ -98899,7 +99049,7 @@ function LinkTreeBlock({
|
|
|
98899
99049
|
brandTagline,
|
|
98900
99050
|
taglineClassName
|
|
98901
99051
|
]);
|
|
98902
|
-
const renderLinks = useMemo(() => {
|
|
99052
|
+
const renderLinks = React52.useMemo(() => {
|
|
98903
99053
|
if (linksSlot) return linksSlot;
|
|
98904
99054
|
if (!links || links.length === 0) return null;
|
|
98905
99055
|
return /* @__PURE__ */ jsx("div", { className: cn("space-y-3", linksClassName), children: links.map((link, index) => {
|
|
@@ -98931,7 +99081,7 @@ function LinkTreeBlock({
|
|
|
98931
99081
|
className: cn(
|
|
98932
99082
|
"group relative flex w-full items-center gap-3 rounded-xl px-4 py-3.5 transition-all duration-200",
|
|
98933
99083
|
"hover:scale-[1.02] active:scale-[0.98]",
|
|
98934
|
-
isFeatured ? "bg-primary text-primary-foreground shadow-lg hover:bg-primary/90" : "border border-border bg-card hover:bg-accent",
|
|
99084
|
+
isFeatured ? "bg-primary text-primary-foreground shadow-lg hover:bg-primary/90" : "border border-border bg-card text-card-foreground hover:bg-accent",
|
|
98935
99085
|
linkClassName,
|
|
98936
99086
|
isFeatured ? featuredLinkClassName : null,
|
|
98937
99087
|
linkItemClassName
|
|
@@ -98948,7 +99098,7 @@ function LinkTreeBlock({
|
|
|
98948
99098
|
className: cn(
|
|
98949
99099
|
"group relative flex w-full items-center gap-3 rounded-xl px-4 py-3.5 transition-all duration-200",
|
|
98950
99100
|
"hover:scale-[1.02] active:scale-[0.98]",
|
|
98951
|
-
isFeatured ? "bg-primary text-primary-foreground shadow-lg hover:bg-primary/90" : "border border-border bg-card hover:bg-accent",
|
|
99101
|
+
isFeatured ? "bg-primary text-primary-foreground shadow-lg hover:bg-primary/90" : "border border-border bg-card text-card-foreground hover:bg-accent",
|
|
98952
99102
|
linkClassName,
|
|
98953
99103
|
isFeatured ? featuredLinkClassName : null,
|
|
98954
99104
|
linkItemClassName
|
|
@@ -99016,7 +99166,7 @@ function LinkTreeBlock({
|
|
|
99016
99166
|
linkBadgeClassName,
|
|
99017
99167
|
linkChevronClassName
|
|
99018
99168
|
]);
|
|
99019
|
-
const renderMediaGallery = useMemo(() => {
|
|
99169
|
+
const renderMediaGallery = React52.useMemo(() => {
|
|
99020
99170
|
if (mediaGallerySlot) return mediaGallerySlot;
|
|
99021
99171
|
if (!mediaGallery || mediaGallery.length === 0) return null;
|
|
99022
99172
|
const items = mediaGallery.slice(0, mediaGalleryLimit);
|
|
@@ -99130,7 +99280,7 @@ function LinkTreeBlock({
|
|
|
99130
99280
|
mediaGalleryOverlayClassName,
|
|
99131
99281
|
mediaGalleryPlayIconClassName
|
|
99132
99282
|
]);
|
|
99133
|
-
const renderSocialLinks = useMemo(() => {
|
|
99283
|
+
const renderSocialLinks = React52.useMemo(() => {
|
|
99134
99284
|
if (socialLinksSlot) return socialLinksSlot;
|
|
99135
99285
|
if (!socialLinks || socialLinks.length === 0) return null;
|
|
99136
99286
|
return /* @__PURE__ */ jsx(
|
|
@@ -99176,7 +99326,7 @@ function LinkTreeBlock({
|
|
|
99176
99326
|
socialIconClassName,
|
|
99177
99327
|
socialLinkClassName
|
|
99178
99328
|
]);
|
|
99179
|
-
const renderFooter = useMemo(() => {
|
|
99329
|
+
const renderFooter = React52.useMemo(() => {
|
|
99180
99330
|
if (footerSlot) return footerSlot;
|
|
99181
99331
|
if (!footerAction) return null;
|
|
99182
99332
|
const resolvedFooterAction = footerAction;
|
|
@@ -99215,7 +99365,7 @@ function LinkTreeBlock({
|
|
|
99215
99365
|
pattern: resolvedPattern,
|
|
99216
99366
|
patternOpacity,
|
|
99217
99367
|
patternClassName,
|
|
99218
|
-
|
|
99368
|
+
containerClassName,
|
|
99219
99369
|
children: [
|
|
99220
99370
|
/* @__PURE__ */ jsx(
|
|
99221
99371
|
"div",
|
|
@@ -99521,7 +99671,7 @@ function LinkPageNewsletterSocial({
|
|
|
99521
99671
|
name,
|
|
99522
99672
|
bio,
|
|
99523
99673
|
avatar,
|
|
99524
|
-
avatarUrl
|
|
99674
|
+
avatarUrl,
|
|
99525
99675
|
profileSlot,
|
|
99526
99676
|
newsletterHeading,
|
|
99527
99677
|
newsletterDescription,
|
|
@@ -99540,7 +99690,6 @@ function LinkPageNewsletterSocial({
|
|
|
99540
99690
|
footerAction,
|
|
99541
99691
|
footerSlot,
|
|
99542
99692
|
className,
|
|
99543
|
-
containerClassName,
|
|
99544
99693
|
contentClassName,
|
|
99545
99694
|
headerClassName,
|
|
99546
99695
|
avatarClassName,
|
|
@@ -99561,8 +99710,9 @@ function LinkPageNewsletterSocial({
|
|
|
99561
99710
|
linkLabelClassName,
|
|
99562
99711
|
linkChevronClassName,
|
|
99563
99712
|
footerClassName,
|
|
99564
|
-
background
|
|
99565
|
-
|
|
99713
|
+
background,
|
|
99714
|
+
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
99715
|
+
spacing = "py-12 md:py-32",
|
|
99566
99716
|
pattern,
|
|
99567
99717
|
patternOpacity,
|
|
99568
99718
|
patternClassName,
|
|
@@ -99652,32 +99802,24 @@ function LinkPageNewsletterSocial({
|
|
|
99652
99802
|
}
|
|
99653
99803
|
),
|
|
99654
99804
|
/* @__PURE__ */ jsxs("div", { className: "space-y-1", children: [
|
|
99655
|
-
name && (typeof name === "string" ? /* @__PURE__ */ jsx(
|
|
99656
|
-
|
|
99657
|
-
{
|
|
99658
|
-
className: cn(
|
|
99659
|
-
"text-2xl font-bold",
|
|
99660
|
-
nameClassName
|
|
99661
|
-
),
|
|
99662
|
-
children: name
|
|
99663
|
-
}
|
|
99664
|
-
) : /* @__PURE__ */ jsx("div", { className: nameClassName, children: name })),
|
|
99665
|
-
bio && (typeof bio === "string" ? /* @__PURE__ */ jsx(
|
|
99666
|
-
"p",
|
|
99667
|
-
{
|
|
99668
|
-
className: cn(
|
|
99669
|
-
"max-w-xs text-sm",
|
|
99670
|
-
getTextColor(resolvedBackground, "muted"),
|
|
99671
|
-
bioClassName
|
|
99672
|
-
),
|
|
99673
|
-
children: bio
|
|
99674
|
-
}
|
|
99675
|
-
) : /* @__PURE__ */ jsx("div", { className: bioClassName, children: bio }))
|
|
99805
|
+
name && (typeof name === "string" ? /* @__PURE__ */ jsx("h1", { className: cn("text-2xl font-bold", nameClassName), children: name }) : /* @__PURE__ */ jsx("div", { className: nameClassName, children: name })),
|
|
99806
|
+
bio && (typeof bio === "string" ? /* @__PURE__ */ jsx("p", { className: cn("max-w-xs text-sm text-balance", bioClassName), children: bio }) : /* @__PURE__ */ jsx("div", { className: bioClassName, children: bio }))
|
|
99676
99807
|
] })
|
|
99677
99808
|
]
|
|
99678
99809
|
}
|
|
99679
99810
|
);
|
|
99680
|
-
}, [
|
|
99811
|
+
}, [
|
|
99812
|
+
profileSlot,
|
|
99813
|
+
resolvedAvatar,
|
|
99814
|
+
avatarClassName,
|
|
99815
|
+
optixFlowConfig,
|
|
99816
|
+
name,
|
|
99817
|
+
resolvedBackground,
|
|
99818
|
+
nameClassName,
|
|
99819
|
+
bio,
|
|
99820
|
+
bioClassName,
|
|
99821
|
+
headerClassName
|
|
99822
|
+
]);
|
|
99681
99823
|
const renderSocialLinks = useMemo(() => {
|
|
99682
99824
|
if (socialLinksSlot) return socialLinksSlot;
|
|
99683
99825
|
if (!socialLinks || socialLinks.length === 0) return null;
|
|
@@ -99704,12 +99846,10 @@ function LinkPageNewsletterSocial({
|
|
|
99704
99846
|
{
|
|
99705
99847
|
...socialPressableProps,
|
|
99706
99848
|
"aria-label": ariaLabel,
|
|
99849
|
+
asButton: true,
|
|
99850
|
+
size: "icon-lg",
|
|
99707
99851
|
className: cn(
|
|
99708
99852
|
"rounded-full p-2.5 transition-all duration-200",
|
|
99709
|
-
"hover:scale-110 active:scale-95",
|
|
99710
|
-
getNestedCardBg(resolvedBackground),
|
|
99711
|
-
getNestedCardTextColor(resolvedBackground),
|
|
99712
|
-
"hover:opacity-80",
|
|
99713
99853
|
socialLinkClassName,
|
|
99714
99854
|
social.className
|
|
99715
99855
|
),
|
|
@@ -99720,7 +99860,14 @@ function LinkPageNewsletterSocial({
|
|
|
99720
99860
|
})
|
|
99721
99861
|
}
|
|
99722
99862
|
);
|
|
99723
|
-
}, [
|
|
99863
|
+
}, [
|
|
99864
|
+
socialLinksSlot,
|
|
99865
|
+
socialLinks,
|
|
99866
|
+
socialLinksClassName,
|
|
99867
|
+
socialIconClassName,
|
|
99868
|
+
resolvedBackground,
|
|
99869
|
+
socialLinkClassName
|
|
99870
|
+
]);
|
|
99724
99871
|
const renderFormFields = useMemo(() => {
|
|
99725
99872
|
if (formSlot) return formSlot;
|
|
99726
99873
|
const {
|
|
@@ -99739,10 +99886,7 @@ function LinkPageNewsletterSocial({
|
|
|
99739
99886
|
type: "email",
|
|
99740
99887
|
placeholder: emailPlaceholder,
|
|
99741
99888
|
error: meta.touched && !!meta.error,
|
|
99742
|
-
className: cn(
|
|
99743
|
-
"w-full",
|
|
99744
|
-
inputClassName
|
|
99745
|
-
),
|
|
99889
|
+
className: cn("w-full", inputClassName),
|
|
99746
99890
|
"aria-label": emailPlaceholder || "Email address"
|
|
99747
99891
|
}
|
|
99748
99892
|
) }),
|
|
@@ -99768,7 +99912,16 @@ function LinkPageNewsletterSocial({
|
|
|
99768
99912
|
}
|
|
99769
99913
|
)
|
|
99770
99914
|
] });
|
|
99771
|
-
}, [
|
|
99915
|
+
}, [
|
|
99916
|
+
formSlot,
|
|
99917
|
+
resolvedSubmitAction,
|
|
99918
|
+
emailPlaceholder,
|
|
99919
|
+
inputClassName,
|
|
99920
|
+
submitButtonClassName,
|
|
99921
|
+
form.isSubmitting,
|
|
99922
|
+
submittingIcon,
|
|
99923
|
+
submittingLabel
|
|
99924
|
+
]);
|
|
99772
99925
|
const renderNewsletter = useMemo(() => {
|
|
99773
99926
|
if (newsletterSlot) return newsletterSlot;
|
|
99774
99927
|
return /* @__PURE__ */ jsxs(
|
|
@@ -99791,17 +99944,7 @@ function LinkPageNewsletterSocial({
|
|
|
99791
99944
|
children: newsletterHeading
|
|
99792
99945
|
}
|
|
99793
99946
|
) : /* @__PURE__ */ jsx("div", { className: newsletterHeadingClassName, children: newsletterHeading })),
|
|
99794
|
-
newsletterDescription && (typeof newsletterDescription === "string" ? /* @__PURE__ */ jsx(
|
|
99795
|
-
"p",
|
|
99796
|
-
{
|
|
99797
|
-
className: cn(
|
|
99798
|
-
"text-sm",
|
|
99799
|
-
getTextColor(resolvedBackground, "muted"),
|
|
99800
|
-
newsletterDescriptionClassName
|
|
99801
|
-
),
|
|
99802
|
-
children: newsletterDescription
|
|
99803
|
-
}
|
|
99804
|
-
) : /* @__PURE__ */ jsx("div", { className: newsletterDescriptionClassName, children: newsletterDescription }))
|
|
99947
|
+
newsletterDescription && (typeof newsletterDescription === "string" ? /* @__PURE__ */ jsx("p", { className: cn("text-sm", newsletterDescriptionClassName), children: newsletterDescription }) : /* @__PURE__ */ jsx("div", { className: newsletterDescriptionClassName, children: newsletterDescription }))
|
|
99805
99948
|
] }),
|
|
99806
99949
|
/* @__PURE__ */ jsx(
|
|
99807
99950
|
Form,
|
|
@@ -99816,7 +99959,20 @@ function LinkPageNewsletterSocial({
|
|
|
99816
99959
|
]
|
|
99817
99960
|
}
|
|
99818
99961
|
);
|
|
99819
|
-
}, [
|
|
99962
|
+
}, [
|
|
99963
|
+
newsletterSlot,
|
|
99964
|
+
newsletterCardClassName,
|
|
99965
|
+
newsletterHeading,
|
|
99966
|
+
newsletterHeadingClassName,
|
|
99967
|
+
newsletterDescription,
|
|
99968
|
+
resolvedBackground,
|
|
99969
|
+
newsletterDescriptionClassName,
|
|
99970
|
+
form,
|
|
99971
|
+
formConfig?.endpoint,
|
|
99972
|
+
formMethod,
|
|
99973
|
+
formClassName,
|
|
99974
|
+
renderFormFields
|
|
99975
|
+
]);
|
|
99820
99976
|
const renderLinks = useMemo(() => {
|
|
99821
99977
|
if (linksSlot) return linksSlot;
|
|
99822
99978
|
if (!links || links.length === 0) return null;
|
|
@@ -99858,7 +100014,7 @@ function LinkPageNewsletterSocial({
|
|
|
99858
100014
|
Pressable,
|
|
99859
100015
|
{
|
|
99860
100016
|
className: cn(
|
|
99861
|
-
"flex w-full items-center gap-3 rounded-xl px-4 py-3 transition-all duration-200",
|
|
100017
|
+
"flex w-full bg-card text-card-foreground items-center gap-3 rounded-xl px-4 py-3 transition-all duration-200",
|
|
99862
100018
|
"hover:scale-[1.02] active:scale-[0.98]",
|
|
99863
100019
|
"border border-border bg-card hover:opacity-80",
|
|
99864
100020
|
linkClassName,
|
|
@@ -99877,22 +100033,23 @@ function LinkPageNewsletterSocial({
|
|
|
99877
100033
|
children: label
|
|
99878
100034
|
}
|
|
99879
100035
|
) : /* @__PURE__ */ jsx("div", { className: cn("flex-1", linkLabelClassName), children: label })),
|
|
99880
|
-
/* @__PURE__ */ jsx(
|
|
99881
|
-
"span",
|
|
99882
|
-
{
|
|
99883
|
-
className: cn(
|
|
99884
|
-
getTextColor(resolvedBackground, "muted"),
|
|
99885
|
-
linkChevronClassName
|
|
99886
|
-
),
|
|
99887
|
-
children: resolvedChevronIcon
|
|
99888
|
-
}
|
|
99889
|
-
)
|
|
100036
|
+
/* @__PURE__ */ jsx("span", { className: cn(linkChevronClassName), children: resolvedChevronIcon })
|
|
99890
100037
|
]
|
|
99891
100038
|
},
|
|
99892
100039
|
link.id ?? index
|
|
99893
100040
|
);
|
|
99894
100041
|
}) });
|
|
99895
|
-
}, [
|
|
100042
|
+
}, [
|
|
100043
|
+
linksSlot,
|
|
100044
|
+
links,
|
|
100045
|
+
linksClassName,
|
|
100046
|
+
linkIconClassName,
|
|
100047
|
+
resolvedBackground,
|
|
100048
|
+
linkClassName,
|
|
100049
|
+
linkLabelClassName,
|
|
100050
|
+
linkChevronClassName,
|
|
100051
|
+
resolvedChevronIcon
|
|
100052
|
+
]);
|
|
99896
100053
|
const renderFooter = useMemo(() => {
|
|
99897
100054
|
if (footerSlot) return footerSlot;
|
|
99898
100055
|
if (!footerAction) return null;
|
|
@@ -99911,7 +100068,6 @@ function LinkPageNewsletterSocial({
|
|
|
99911
100068
|
{
|
|
99912
100069
|
className: cn(
|
|
99913
100070
|
"flex items-center justify-center gap-1.5 text-xs transition-opacity hover:opacity-80",
|
|
99914
|
-
getTextColor(resolvedBackground, "muted"),
|
|
99915
100071
|
"opacity-50",
|
|
99916
100072
|
footerClassName,
|
|
99917
100073
|
actionClassName
|
|
@@ -99934,22 +100090,14 @@ function LinkPageNewsletterSocial({
|
|
|
99934
100090
|
pattern,
|
|
99935
100091
|
patternOpacity,
|
|
99936
100092
|
patternClassName,
|
|
99937
|
-
|
|
99938
|
-
|
|
99939
|
-
|
|
99940
|
-
|
|
99941
|
-
|
|
99942
|
-
|
|
99943
|
-
|
|
99944
|
-
|
|
99945
|
-
renderProfile,
|
|
99946
|
-
renderSocialLinks,
|
|
99947
|
-
renderNewsletter,
|
|
99948
|
-
renderLinks,
|
|
99949
|
-
/* @__PURE__ */ jsx("div", { className: "pt-4", children: renderFooter })
|
|
99950
|
-
] })
|
|
99951
|
-
}
|
|
99952
|
-
)
|
|
100093
|
+
containerClassName,
|
|
100094
|
+
children: /* @__PURE__ */ jsx("div", { className: "flex min-h-screen w-full items-start justify-center py-12", children: /* @__PURE__ */ jsxs("div", { className: cn("w-full space-y-8", contentClassName), children: [
|
|
100095
|
+
renderProfile,
|
|
100096
|
+
renderSocialLinks,
|
|
100097
|
+
renderNewsletter,
|
|
100098
|
+
renderLinks,
|
|
100099
|
+
/* @__PURE__ */ jsx("div", { className: "pt-4", children: renderFooter })
|
|
100100
|
+
] }) })
|
|
99953
100101
|
}
|
|
99954
100102
|
);
|
|
99955
100103
|
}
|