@opensite/ui 1.5.1 → 1.5.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/about-location-info-hero.cjs +26 -48
- package/dist/about-location-info-hero.d.cts +1 -1
- package/dist/about-location-info-hero.d.ts +1 -1
- package/dist/about-location-info-hero.js +26 -48
- package/dist/components.cjs +338 -133
- package/dist/components.js +338 -133
- package/dist/footer-accordion-social.cjs +3 -1
- package/dist/footer-accordion-social.js +3 -1
- package/dist/footer-animated-social.cjs +13 -2
- package/dist/footer-animated-social.js +13 -2
- package/dist/footer-background-card.cjs +239 -69
- package/dist/footer-background-card.d.cts +9 -1
- package/dist/footer-background-card.d.ts +9 -1
- package/dist/footer-background-card.js +240 -70
- package/dist/footer-brand-description.cjs +3 -1
- package/dist/footer-brand-description.js +3 -1
- package/dist/footer-brand-links-contact.cjs +3 -1
- package/dist/footer-brand-links-contact.js +3 -1
- package/dist/footer-comprehensive-links.cjs +3 -1
- package/dist/footer-comprehensive-links.js +3 -1
- package/dist/footer-contact-card.cjs +3 -1
- package/dist/footer-contact-card.js +3 -1
- package/dist/footer-cta-banner.cjs +3 -1
- package/dist/footer-cta-banner.js +3 -1
- package/dist/footer-cta-social.cjs +3 -1
- package/dist/footer-cta-social.js +3 -1
- package/dist/footer-info-cards-accordion.cjs +3 -1
- package/dist/footer-info-cards-accordion.js +3 -1
- package/dist/footer-nav-social.cjs +159 -62
- package/dist/footer-nav-social.d.cts +9 -1
- package/dist/footer-nav-social.d.ts +9 -1
- package/dist/footer-nav-social.js +159 -62
- package/dist/footer-newsletter-contact.cjs +3 -1
- package/dist/footer-newsletter-contact.js +3 -1
- package/dist/footer-newsletter-grid.cjs +3 -1
- package/dist/footer-newsletter-grid.js +3 -1
- package/dist/footer-newsletter-minimal.cjs +3 -1
- package/dist/footer-newsletter-minimal.js +3 -1
- package/dist/footer-simple-centered.cjs +1 -1
- package/dist/footer-simple-centered.d.cts +1 -1
- package/dist/footer-simple-centered.d.ts +1 -1
- package/dist/footer-simple-centered.js +1 -1
- package/dist/footer-social-apps.cjs +3 -1
- package/dist/footer-social-apps.js +3 -1
- package/dist/footer-social-newsletter.cjs +3 -1
- package/dist/footer-social-newsletter.js +3 -1
- package/dist/footer-split-image-accordion.cjs +3 -1
- package/dist/footer-split-image-accordion.js +3 -1
- package/dist/hero-centered-screenshot.cjs +46 -59
- package/dist/hero-centered-screenshot.d.cts +1 -1
- package/dist/hero-centered-screenshot.d.ts +1 -1
- package/dist/hero-centered-screenshot.js +46 -59
- package/dist/index.cjs +338 -133
- package/dist/index.js +338 -133
- package/dist/navbar-fullscreen-menu.cjs +3 -1
- package/dist/navbar-fullscreen-menu.js +3 -1
- package/dist/navbar-transparent-overlay.cjs +3 -1
- package/dist/navbar-transparent-overlay.js +3 -1
- package/dist/registry.cjs +410 -166
- package/dist/registry.js +410 -166
- package/dist/social-link-icon.cjs +3 -1
- package/dist/social-link-icon.js +3 -1
- package/package.json +2 -2
package/dist/components.cjs
CHANGED
|
@@ -1657,7 +1657,7 @@ var platformIconMap = {
|
|
|
1657
1657
|
yelp: "cib/yelp",
|
|
1658
1658
|
spotify: "cib/spotify",
|
|
1659
1659
|
apple: "cib/apple",
|
|
1660
|
-
x: "line-md/twitter-x",
|
|
1660
|
+
x: "line-md/twitter-x-alt",
|
|
1661
1661
|
github: "cib/github",
|
|
1662
1662
|
snapchat: "cib/snapchat",
|
|
1663
1663
|
discord: "cib/discord",
|
|
@@ -1676,6 +1676,8 @@ var platformIconMap = {
|
|
|
1676
1676
|
npmjs: "simple-icons/npm",
|
|
1677
1677
|
crates: "cib/rust",
|
|
1678
1678
|
rubygems: "cib/rubygems",
|
|
1679
|
+
behance: "cib/behance",
|
|
1680
|
+
dribbble: "cib/dribbble",
|
|
1679
1681
|
unknown: "icon-park-solid/circular-connection"
|
|
1680
1682
|
};
|
|
1681
1683
|
var SocialLinkIcon = React4__namespace.forwardRef(
|
|
@@ -3006,6 +3008,7 @@ var FooterLogo = ({
|
|
|
3006
3008
|
}
|
|
3007
3009
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("inline-flex items-center", logoClassName), children: logoContent });
|
|
3008
3010
|
};
|
|
3011
|
+
var footer_logo_default = FooterLogo;
|
|
3009
3012
|
function FooterCopyright({
|
|
3010
3013
|
copyright,
|
|
3011
3014
|
className
|
|
@@ -3894,8 +3897,8 @@ function FooterSimpleCentered({
|
|
|
3894
3897
|
bottomLinks,
|
|
3895
3898
|
className,
|
|
3896
3899
|
footerClassName,
|
|
3897
|
-
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
3898
3900
|
contentClassName,
|
|
3901
|
+
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
3899
3902
|
spacing = "py-12 md:py-32",
|
|
3900
3903
|
brandClassName,
|
|
3901
3904
|
logoWrapperClassName,
|
|
@@ -4689,6 +4692,8 @@ function FooterBackgroundCard({
|
|
|
4689
4692
|
menuItems,
|
|
4690
4693
|
copyright,
|
|
4691
4694
|
bottomLinks,
|
|
4695
|
+
logoWrapperClassName,
|
|
4696
|
+
logoClassName,
|
|
4692
4697
|
className,
|
|
4693
4698
|
cardClassName,
|
|
4694
4699
|
gridClassName,
|
|
@@ -4707,7 +4712,8 @@ function FooterBackgroundCard({
|
|
|
4707
4712
|
copyrightClassName,
|
|
4708
4713
|
bottomLinksClassName,
|
|
4709
4714
|
background,
|
|
4710
|
-
|
|
4715
|
+
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
4716
|
+
spacing = "py-6 md:py-32",
|
|
4711
4717
|
pattern,
|
|
4712
4718
|
patternOpacity,
|
|
4713
4719
|
optixFlowConfig
|
|
@@ -4725,79 +4731,174 @@ function FooterBackgroundCard({
|
|
|
4725
4731
|
patternOpacity,
|
|
4726
4732
|
className: cn("bg-cover bg-center bg-no-repeat", className),
|
|
4727
4733
|
style: sectionStyle,
|
|
4728
|
-
|
|
4729
|
-
|
|
4730
|
-
|
|
4731
|
-
|
|
4732
|
-
|
|
4733
|
-
|
|
4734
|
-
|
|
4735
|
-
|
|
4736
|
-
|
|
4737
|
-
|
|
4738
|
-
|
|
4739
|
-
}
|
|
4740
|
-
),
|
|
4741
|
-
tagline && /* @__PURE__ */ jsxRuntime.jsx("h3", { className: cn("text-2xl font-medium", taglineClassName), children: tagline })
|
|
4742
|
-
] }),
|
|
4743
|
-
personalMessage && /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("mb-6 text-sm leading-relaxed opacity-80", messageClassName), children: personalMessage }),
|
|
4744
|
-
ctaText && /* @__PURE__ */ jsxRuntime.jsx(
|
|
4745
|
-
Pressable,
|
|
4746
|
-
{
|
|
4747
|
-
href: ctaUrl || "#",
|
|
4748
|
-
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-10 px-4 py-2", ctaClassName),
|
|
4749
|
-
children: ctaText
|
|
4750
|
-
}
|
|
4751
|
-
)
|
|
4752
|
-
] }),
|
|
4753
|
-
menuItems && menuItems.length > 0 && menuItems.map((menu, idx) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn(menuSectionClassName), children: [
|
|
4754
|
-
/* @__PURE__ */ jsxRuntime.jsx("h3", { className: cn("mb-4 text-sm font-medium tracking-wider uppercase", menuTitleClassName), children: menu.title }),
|
|
4755
|
-
/* @__PURE__ */ jsxRuntime.jsx("ul", { className: "space-y-3", children: menu.links.map((link, index) => /* @__PURE__ */ jsxRuntime.jsx("li", { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
4756
|
-
Pressable,
|
|
4734
|
+
containerClassName,
|
|
4735
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
4736
|
+
"div",
|
|
4737
|
+
{
|
|
4738
|
+
className: cn(
|
|
4739
|
+
"mx-auto max-w-7xl rounded-2xl p-12 shadow-xl md:p-16 bg-card text-card-foreground",
|
|
4740
|
+
cardClassName
|
|
4741
|
+
),
|
|
4742
|
+
children: [
|
|
4743
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
4744
|
+
"div",
|
|
4757
4745
|
{
|
|
4758
|
-
|
|
4759
|
-
|
|
4760
|
-
|
|
4746
|
+
className: cn(
|
|
4747
|
+
"grid grid-cols-1 gap-8 md:grid-cols-2 lg:grid-cols-4 lg:gap-12",
|
|
4748
|
+
gridClassName
|
|
4749
|
+
),
|
|
4750
|
+
children: [
|
|
4751
|
+
(profileImage || tagline || personalMessage || ctaText || logo) && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("lg:col-span-1", profileSectionClassName), children: [
|
|
4752
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4753
|
+
footer_logo_default,
|
|
4754
|
+
{
|
|
4755
|
+
logo,
|
|
4756
|
+
logoClassName: cn("mb-12", logoWrapperClassName),
|
|
4757
|
+
logoImageClassName: logoClassName,
|
|
4758
|
+
optixFlowConfig
|
|
4759
|
+
}
|
|
4760
|
+
),
|
|
4761
|
+
(profileImage || tagline) && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-4 flex items-center gap-4", children: [
|
|
4762
|
+
profileImage && /* @__PURE__ */ jsxRuntime.jsx(
|
|
4763
|
+
img.Img,
|
|
4764
|
+
{
|
|
4765
|
+
src: profileImage,
|
|
4766
|
+
alt: "Profile",
|
|
4767
|
+
className: cn(
|
|
4768
|
+
"h-16 w-16 rounded-full object-cover",
|
|
4769
|
+
profileImageClassName
|
|
4770
|
+
),
|
|
4771
|
+
optixFlowConfig
|
|
4772
|
+
}
|
|
4773
|
+
),
|
|
4774
|
+
tagline && /* @__PURE__ */ jsxRuntime.jsx(
|
|
4775
|
+
"h3",
|
|
4776
|
+
{
|
|
4777
|
+
className: cn("text-2xl font-medium", taglineClassName),
|
|
4778
|
+
children: tagline
|
|
4779
|
+
}
|
|
4780
|
+
)
|
|
4781
|
+
] }),
|
|
4782
|
+
personalMessage && /* @__PURE__ */ jsxRuntime.jsx(
|
|
4783
|
+
"p",
|
|
4784
|
+
{
|
|
4785
|
+
className: cn(
|
|
4786
|
+
"mb-6 text-sm leading-relaxed opacity-80",
|
|
4787
|
+
messageClassName
|
|
4788
|
+
),
|
|
4789
|
+
children: personalMessage
|
|
4790
|
+
}
|
|
4791
|
+
),
|
|
4792
|
+
ctaText && /* @__PURE__ */ jsxRuntime.jsx(
|
|
4793
|
+
Pressable,
|
|
4794
|
+
{
|
|
4795
|
+
href: ctaUrl || "#",
|
|
4796
|
+
className: cn(
|
|
4797
|
+
"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-10 px-4 py-2",
|
|
4798
|
+
ctaClassName
|
|
4799
|
+
),
|
|
4800
|
+
children: ctaText
|
|
4801
|
+
}
|
|
4802
|
+
)
|
|
4803
|
+
] }),
|
|
4804
|
+
menuItems && menuItems.length > 0 && menuItems.map((menu, idx) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
4805
|
+
"div",
|
|
4806
|
+
{
|
|
4807
|
+
className: cn("pl-0 md:pl-8", menuSectionClassName),
|
|
4808
|
+
children: [
|
|
4809
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4810
|
+
"h3",
|
|
4811
|
+
{
|
|
4812
|
+
className: cn(
|
|
4813
|
+
"mb-4 text-sm font-medium tracking-wider uppercase",
|
|
4814
|
+
menuTitleClassName
|
|
4815
|
+
),
|
|
4816
|
+
children: menu.title
|
|
4817
|
+
}
|
|
4818
|
+
),
|
|
4819
|
+
/* @__PURE__ */ jsxRuntime.jsx("ul", { className: "space-y-3", children: menu.links.map((link, index) => /* @__PURE__ */ jsxRuntime.jsx("li", { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
4820
|
+
Pressable,
|
|
4821
|
+
{
|
|
4822
|
+
href: link.url,
|
|
4823
|
+
className: cn(
|
|
4824
|
+
"border-b border-transparent opacity-80 transition-all duration-300 ease-in-out hover:opacity-100",
|
|
4825
|
+
menuLinkClassName
|
|
4826
|
+
),
|
|
4827
|
+
children: link.text
|
|
4828
|
+
}
|
|
4829
|
+
) }, index)) })
|
|
4830
|
+
]
|
|
4831
|
+
},
|
|
4832
|
+
idx
|
|
4833
|
+
)),
|
|
4834
|
+
(contactTitle || contact) && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("pl-0 md:pl-8", contactSectionClassName), children: [
|
|
4835
|
+
contactTitle && /* @__PURE__ */ jsxRuntime.jsx(
|
|
4836
|
+
"h3",
|
|
4837
|
+
{
|
|
4838
|
+
className: cn(
|
|
4839
|
+
"mb-4 text-sm font-medium tracking-wider uppercase",
|
|
4840
|
+
contactTitleClassName
|
|
4841
|
+
),
|
|
4842
|
+
children: contactTitle
|
|
4843
|
+
}
|
|
4844
|
+
),
|
|
4845
|
+
contact && /* @__PURE__ */ jsxRuntime.jsxs("ul", { className: "space-y-3", children: [
|
|
4846
|
+
contact.phone && /* @__PURE__ */ jsxRuntime.jsx("li", { className: cn("opacity-80", contactItemClassName), children: contact.phone }),
|
|
4847
|
+
contact.email && /* @__PURE__ */ jsxRuntime.jsx("li", { className: cn("opacity-80", contactItemClassName), children: contact.email }),
|
|
4848
|
+
(contact.location || contact.timezone) && /* @__PURE__ */ jsxRuntime.jsxs("li", { className: cn("opacity-80", contactItemClassName), children: [
|
|
4849
|
+
contact.location,
|
|
4850
|
+
contact.location && contact.timezone && " \u2022 ",
|
|
4851
|
+
contact.timezone
|
|
4852
|
+
] })
|
|
4853
|
+
] })
|
|
4854
|
+
] })
|
|
4855
|
+
]
|
|
4761
4856
|
}
|
|
4762
|
-
)
|
|
4763
|
-
|
|
4764
|
-
|
|
4765
|
-
contactTitle && /* @__PURE__ */ jsxRuntime.jsx("h3", { className: cn("mb-4 text-sm font-medium tracking-wider uppercase", contactTitleClassName), children: contactTitle }),
|
|
4766
|
-
contact && /* @__PURE__ */ jsxRuntime.jsxs("ul", { className: "space-y-3", children: [
|
|
4767
|
-
contact.phone && /* @__PURE__ */ jsxRuntime.jsx("li", { className: cn("opacity-80", contactItemClassName), children: contact.phone }),
|
|
4768
|
-
contact.email && /* @__PURE__ */ jsxRuntime.jsx("li", { className: cn("opacity-80", contactItemClassName), children: contact.email }),
|
|
4769
|
-
(contact.location || contact.timezone) && /* @__PURE__ */ jsxRuntime.jsxs("li", { className: cn("opacity-80", contactItemClassName), children: [
|
|
4770
|
-
contact.location,
|
|
4771
|
-
contact.location && contact.timezone && " \u2022 ",
|
|
4772
|
-
contact.timezone
|
|
4773
|
-
] })
|
|
4774
|
-
] })
|
|
4775
|
-
] })
|
|
4776
|
-
] }),
|
|
4777
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("mt-12 flex flex-col items-center justify-between gap-4 border-t pt-8 md:flex-row", bottomClassName), children: [
|
|
4778
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("flex flex-col gap-2 text-sm opacity-80 md:flex-row md:items-center md:gap-4", copyrightClassName), children: [
|
|
4779
|
-
/* @__PURE__ */ jsxRuntime.jsx(FooterCopyright, { copyright }),
|
|
4780
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4781
|
-
BrandAttribution,
|
|
4857
|
+
),
|
|
4858
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
4859
|
+
"div",
|
|
4782
4860
|
{
|
|
4783
|
-
|
|
4784
|
-
|
|
4785
|
-
|
|
4786
|
-
|
|
4861
|
+
className: cn(
|
|
4862
|
+
"mt-12 flex flex-col items-center justify-between gap-4 border-t pt-8 md:flex-row",
|
|
4863
|
+
bottomClassName
|
|
4864
|
+
),
|
|
4865
|
+
children: [
|
|
4866
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
4867
|
+
"div",
|
|
4868
|
+
{
|
|
4869
|
+
className: cn(
|
|
4870
|
+
"flex flex-col gap-2 text-sm opacity-80 md:flex-row md:items-center md:gap-4",
|
|
4871
|
+
copyrightClassName
|
|
4872
|
+
),
|
|
4873
|
+
children: [
|
|
4874
|
+
/* @__PURE__ */ jsxRuntime.jsx(FooterCopyright, { copyright }),
|
|
4875
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4876
|
+
BrandAttribution,
|
|
4877
|
+
{
|
|
4878
|
+
internalBrandSlug: "open_site_ai",
|
|
4879
|
+
optionIndex: 3,
|
|
4880
|
+
variant: "span",
|
|
4881
|
+
linkClassName: "hover:opacity-100"
|
|
4882
|
+
}
|
|
4883
|
+
)
|
|
4884
|
+
]
|
|
4885
|
+
}
|
|
4886
|
+
),
|
|
4887
|
+
bottomLinks && bottomLinks.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("flex gap-4", bottomLinksClassName), children: bottomLinks.map((link, idx) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
4888
|
+
Pressable,
|
|
4889
|
+
{
|
|
4890
|
+
href: link.url,
|
|
4891
|
+
className: "text-sm opacity-80 transition-colors hover:opacity-100",
|
|
4892
|
+
children: link.text
|
|
4893
|
+
},
|
|
4894
|
+
idx
|
|
4895
|
+
)) })
|
|
4896
|
+
]
|
|
4787
4897
|
}
|
|
4788
4898
|
)
|
|
4789
|
-
]
|
|
4790
|
-
|
|
4791
|
-
|
|
4792
|
-
{
|
|
4793
|
-
href: link.url,
|
|
4794
|
-
className: "text-sm opacity-80 transition-colors hover:opacity-100",
|
|
4795
|
-
children: link.text
|
|
4796
|
-
},
|
|
4797
|
-
idx
|
|
4798
|
-
)) })
|
|
4799
|
-
] })
|
|
4800
|
-
] })
|
|
4899
|
+
]
|
|
4900
|
+
}
|
|
4901
|
+
)
|
|
4801
4902
|
}
|
|
4802
4903
|
);
|
|
4803
4904
|
}
|
|
@@ -4938,7 +5039,16 @@ function FooterAnimatedSocial({
|
|
|
4938
5039
|
"flex flex-row md:flex-col flex-wrap items-center justify-center gap-4 md:gap-2",
|
|
4939
5040
|
rightColumnClassName
|
|
4940
5041
|
),
|
|
4941
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(framerMotion.motion.div, { variants: itemVariants, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
5042
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(framerMotion.motion.div, { variants: itemVariants, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
5043
|
+
"div",
|
|
5044
|
+
{
|
|
5045
|
+
className: cn(
|
|
5046
|
+
"flex flex-row md:flex-col items-center gap-4 md:gap-6",
|
|
5047
|
+
socialLinksClassName
|
|
5048
|
+
),
|
|
5049
|
+
children: socialLinksContent
|
|
5050
|
+
}
|
|
5051
|
+
) })
|
|
4942
5052
|
}
|
|
4943
5053
|
)
|
|
4944
5054
|
]
|
|
@@ -5446,6 +5556,7 @@ function FooterNavSocial({
|
|
|
5446
5556
|
gridClassName,
|
|
5447
5557
|
leftColumnClassName,
|
|
5448
5558
|
logoWrapperClassName,
|
|
5559
|
+
formConfig,
|
|
5449
5560
|
logoClassName,
|
|
5450
5561
|
navGridClassName,
|
|
5451
5562
|
navSectionClassName,
|
|
@@ -5466,7 +5577,8 @@ function FooterNavSocial({
|
|
|
5466
5577
|
legalLinksClassName,
|
|
5467
5578
|
legalLinkClassName,
|
|
5468
5579
|
background,
|
|
5469
|
-
|
|
5580
|
+
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
5581
|
+
spacing = "py-12 md:py-40",
|
|
5470
5582
|
pattern,
|
|
5471
5583
|
patternOpacity,
|
|
5472
5584
|
optixFlowConfig
|
|
@@ -5475,16 +5587,15 @@ function FooterNavSocial({
|
|
|
5475
5587
|
if (!sections || sections.length === 0) return null;
|
|
5476
5588
|
return sections.map((section, sectionIdx) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn(navSectionClassName), children: [
|
|
5477
5589
|
/* @__PURE__ */ jsxRuntime.jsx("h3", { className: cn("mb-4 font-semibold", navTitleClassName), children: section.title }),
|
|
5478
|
-
/* @__PURE__ */ jsxRuntime.jsx("ul", { className: cn("space-y-3 text-sm opacity-80", navLinksClassName), children: section.links.map((link, linkIdx) => /* @__PURE__ */ jsxRuntime.jsx("li", { className: cn(navLinkClassName), children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
5479
|
-
Pressable,
|
|
5480
|
-
{
|
|
5481
|
-
href: link.href,
|
|
5482
|
-
className: "hover:opacity-100",
|
|
5483
|
-
children: link.name
|
|
5484
|
-
}
|
|
5485
|
-
) }, linkIdx)) })
|
|
5590
|
+
/* @__PURE__ */ jsxRuntime.jsx("ul", { className: cn("space-y-3 text-sm opacity-80", navLinksClassName), children: section.links.map((link, linkIdx) => /* @__PURE__ */ jsxRuntime.jsx("li", { className: cn(navLinkClassName), children: /* @__PURE__ */ jsxRuntime.jsx(Pressable, { href: link.href, className: "hover:opacity-100", children: link.name }) }, linkIdx)) })
|
|
5486
5591
|
] }, sectionIdx));
|
|
5487
|
-
}, [
|
|
5592
|
+
}, [
|
|
5593
|
+
sections,
|
|
5594
|
+
navSectionClassName,
|
|
5595
|
+
navTitleClassName,
|
|
5596
|
+
navLinksClassName,
|
|
5597
|
+
navLinkClassName
|
|
5598
|
+
]);
|
|
5488
5599
|
const socialLinksContent = React4.useMemo(() => {
|
|
5489
5600
|
if (!socialLinks || socialLinks.length === 0) return null;
|
|
5490
5601
|
return socialLinks.map((social, idx) => /* @__PURE__ */ jsxRuntime.jsx("li", { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -5493,7 +5604,10 @@ function FooterNavSocial({
|
|
|
5493
5604
|
href: social.href,
|
|
5494
5605
|
label: social.label,
|
|
5495
5606
|
iconNameOverride: social.iconNameOverride,
|
|
5496
|
-
className: cn(
|
|
5607
|
+
className: cn(
|
|
5608
|
+
"opacity-80 transition-colors hover:opacity-100",
|
|
5609
|
+
socialLinkClassName
|
|
5610
|
+
)
|
|
5497
5611
|
}
|
|
5498
5612
|
) }, idx));
|
|
5499
5613
|
}, [socialLinks, socialLinkClassName]);
|
|
@@ -5509,64 +5623,155 @@ function FooterNavSocial({
|
|
|
5509
5623
|
pattern,
|
|
5510
5624
|
patternOpacity,
|
|
5511
5625
|
className: cn(className),
|
|
5626
|
+
containerClassName,
|
|
5512
5627
|
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn(contentClassName), children: /* @__PURE__ */ jsxRuntime.jsxs("footer", { children: [
|
|
5513
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
5514
|
-
|
|
5515
|
-
|
|
5516
|
-
|
|
5517
|
-
|
|
5518
|
-
|
|
5519
|
-
logoClassName: cn("mb-8", logoWrapperClassName),
|
|
5520
|
-
logoImageClassName: logoClassName,
|
|
5521
|
-
optixFlowConfig
|
|
5522
|
-
}
|
|
5628
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
5629
|
+
"div",
|
|
5630
|
+
{
|
|
5631
|
+
className: cn(
|
|
5632
|
+
"grid gap-12 md:gap-24 lg:grid-cols-2",
|
|
5633
|
+
gridClassName
|
|
5523
5634
|
),
|
|
5524
|
-
|
|
5525
|
-
|
|
5526
|
-
|
|
5527
|
-
|
|
5528
|
-
newsletterHeading && /* @__PURE__ */ jsxRuntime.jsx("h3", { className: cn("mb-2 text-lg font-semibold", newsletterHeadingClassName), children: newsletterHeading }),
|
|
5529
|
-
newsletterDescription && /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("mb-4 text-sm opacity-80", newsletterDescriptionClassName), children: newsletterDescription }),
|
|
5530
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("flex max-w-md gap-2", newsletterFormClassName), children: [
|
|
5531
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5532
|
-
"input",
|
|
5635
|
+
children: [
|
|
5636
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn(leftColumnClassName), children: [
|
|
5637
|
+
logo && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5638
|
+
FooterLogo,
|
|
5533
5639
|
{
|
|
5534
|
-
|
|
5535
|
-
|
|
5536
|
-
|
|
5640
|
+
logo,
|
|
5641
|
+
logoClassName: cn("mb-8", logoWrapperClassName),
|
|
5642
|
+
logoImageClassName: logoClassName,
|
|
5643
|
+
optixFlowConfig
|
|
5537
5644
|
}
|
|
5538
5645
|
),
|
|
5539
|
-
|
|
5540
|
-
"
|
|
5646
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5647
|
+
"div",
|
|
5541
5648
|
{
|
|
5542
|
-
|
|
5543
|
-
|
|
5544
|
-
|
|
5649
|
+
className: cn(
|
|
5650
|
+
"grid md:flex w-full gap-8 md:gap-6 lg:gap-12 md:flex-wrap md:justify-between grid-cols-2",
|
|
5651
|
+
navGridClassName
|
|
5652
|
+
),
|
|
5653
|
+
children: sectionsContent
|
|
5545
5654
|
}
|
|
5546
5655
|
)
|
|
5547
|
-
] })
|
|
5548
|
-
|
|
5549
|
-
|
|
5550
|
-
|
|
5551
|
-
|
|
5552
|
-
|
|
5553
|
-
|
|
5554
|
-
|
|
5555
|
-
|
|
5556
|
-
|
|
5557
|
-
|
|
5558
|
-
|
|
5559
|
-
|
|
5560
|
-
|
|
5561
|
-
|
|
5562
|
-
|
|
5563
|
-
|
|
5564
|
-
|
|
5565
|
-
|
|
5566
|
-
|
|
5567
|
-
|
|
5568
|
-
|
|
5569
|
-
|
|
5656
|
+
] }),
|
|
5657
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
5658
|
+
"div",
|
|
5659
|
+
{
|
|
5660
|
+
className: cn(
|
|
5661
|
+
"flex flex-col justify-between mt-0 md:mt-16 space-y-8 md:space-y-12",
|
|
5662
|
+
rightColumnClassName
|
|
5663
|
+
),
|
|
5664
|
+
children: [
|
|
5665
|
+
formConfig && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("", newsletterClassName), children: [
|
|
5666
|
+
newsletterHeading && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5667
|
+
"h3",
|
|
5668
|
+
{
|
|
5669
|
+
className: cn(
|
|
5670
|
+
"mb-4 font-medium",
|
|
5671
|
+
newsletterHeadingClassName
|
|
5672
|
+
),
|
|
5673
|
+
children: newsletterHeading
|
|
5674
|
+
}
|
|
5675
|
+
),
|
|
5676
|
+
newsletterDescription && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5677
|
+
"p",
|
|
5678
|
+
{
|
|
5679
|
+
className: cn(
|
|
5680
|
+
"mb-4 text-sm opacity-80",
|
|
5681
|
+
newsletterDescriptionClassName
|
|
5682
|
+
),
|
|
5683
|
+
children: newsletterDescription
|
|
5684
|
+
}
|
|
5685
|
+
),
|
|
5686
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
5687
|
+
"div",
|
|
5688
|
+
{
|
|
5689
|
+
className: cn(
|
|
5690
|
+
"flex max-w-md gap-2",
|
|
5691
|
+
newsletterFormClassName
|
|
5692
|
+
),
|
|
5693
|
+
children: [
|
|
5694
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5695
|
+
"input",
|
|
5696
|
+
{
|
|
5697
|
+
type: "email",
|
|
5698
|
+
placeholder: newsletterPlaceholder,
|
|
5699
|
+
className: "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"
|
|
5700
|
+
}
|
|
5701
|
+
),
|
|
5702
|
+
newsletterButtonText && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5703
|
+
"button",
|
|
5704
|
+
{
|
|
5705
|
+
type: "submit",
|
|
5706
|
+
className: "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",
|
|
5707
|
+
children: newsletterButtonText
|
|
5708
|
+
}
|
|
5709
|
+
)
|
|
5710
|
+
]
|
|
5711
|
+
}
|
|
5712
|
+
)
|
|
5713
|
+
] }),
|
|
5714
|
+
(socialTitle || socialLinksContent) && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn(socialSectionClassName), children: [
|
|
5715
|
+
socialTitle && /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("mb-4 font-medium", socialTitleClassName), children: socialTitle }),
|
|
5716
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5717
|
+
"ul",
|
|
5718
|
+
{
|
|
5719
|
+
className: cn(
|
|
5720
|
+
"flex items-center gap-4",
|
|
5721
|
+
socialLinksClassName
|
|
5722
|
+
),
|
|
5723
|
+
children: socialLinksContent
|
|
5724
|
+
}
|
|
5725
|
+
)
|
|
5726
|
+
] })
|
|
5727
|
+
]
|
|
5728
|
+
}
|
|
5729
|
+
)
|
|
5730
|
+
]
|
|
5731
|
+
}
|
|
5732
|
+
),
|
|
5733
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
5734
|
+
"div",
|
|
5735
|
+
{
|
|
5736
|
+
className: cn(
|
|
5737
|
+
"mt-16 flex flex-col justify-between gap-4 border-t pt-8 text-sm opacity-80 md:flex-row md:items-center",
|
|
5738
|
+
bottomClassName
|
|
5739
|
+
),
|
|
5740
|
+
children: [
|
|
5741
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
5742
|
+
"div",
|
|
5743
|
+
{
|
|
5744
|
+
className: cn(
|
|
5745
|
+
"flex flex-col gap-2 md:flex-row md:items-center md:gap-4",
|
|
5746
|
+
copyrightClassName
|
|
5747
|
+
),
|
|
5748
|
+
children: [
|
|
5749
|
+
/* @__PURE__ */ jsxRuntime.jsx(FooterCopyright, { copyright }),
|
|
5750
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5751
|
+
BrandAttribution,
|
|
5752
|
+
{
|
|
5753
|
+
internalBrandSlug: "open_site_ai",
|
|
5754
|
+
optionIndex: 1,
|
|
5755
|
+
variant: "span",
|
|
5756
|
+
linkClassName: "underline underline-offset-4 transition-colors hover:opacity-100"
|
|
5757
|
+
}
|
|
5758
|
+
)
|
|
5759
|
+
]
|
|
5760
|
+
}
|
|
5761
|
+
),
|
|
5762
|
+
legalLinksContent && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5763
|
+
"ul",
|
|
5764
|
+
{
|
|
5765
|
+
className: cn(
|
|
5766
|
+
"pt-4 md:pt-0 gap-4 grid md:flex grid-cols-2 items-center w-full md:w-fit",
|
|
5767
|
+
legalLinksClassName
|
|
5768
|
+
),
|
|
5769
|
+
children: legalLinksContent
|
|
5770
|
+
}
|
|
5771
|
+
)
|
|
5772
|
+
]
|
|
5773
|
+
}
|
|
5774
|
+
)
|
|
5570
5775
|
] }) })
|
|
5571
5776
|
}
|
|
5572
5777
|
);
|