@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/index.cjs
CHANGED
|
@@ -1688,7 +1688,7 @@ var platformIconMap = {
|
|
|
1688
1688
|
yelp: "cib/yelp",
|
|
1689
1689
|
spotify: "cib/spotify",
|
|
1690
1690
|
apple: "cib/apple",
|
|
1691
|
-
x: "line-md/twitter-x",
|
|
1691
|
+
x: "line-md/twitter-x-alt",
|
|
1692
1692
|
github: "cib/github",
|
|
1693
1693
|
snapchat: "cib/snapchat",
|
|
1694
1694
|
discord: "cib/discord",
|
|
@@ -1707,6 +1707,8 @@ var platformIconMap = {
|
|
|
1707
1707
|
npmjs: "simple-icons/npm",
|
|
1708
1708
|
crates: "cib/rust",
|
|
1709
1709
|
rubygems: "cib/rubygems",
|
|
1710
|
+
behance: "cib/behance",
|
|
1711
|
+
dribbble: "cib/dribbble",
|
|
1710
1712
|
unknown: "icon-park-solid/circular-connection"
|
|
1711
1713
|
};
|
|
1712
1714
|
var SocialLinkIcon = React4__namespace.forwardRef(
|
|
@@ -3037,6 +3039,7 @@ var FooterLogo = ({
|
|
|
3037
3039
|
}
|
|
3038
3040
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("inline-flex items-center", logoClassName), children: logoContent });
|
|
3039
3041
|
};
|
|
3042
|
+
var footer_logo_default = FooterLogo;
|
|
3040
3043
|
function FooterCopyright({
|
|
3041
3044
|
copyright,
|
|
3042
3045
|
className
|
|
@@ -3925,8 +3928,8 @@ function FooterSimpleCentered({
|
|
|
3925
3928
|
bottomLinks,
|
|
3926
3929
|
className,
|
|
3927
3930
|
footerClassName,
|
|
3928
|
-
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
3929
3931
|
contentClassName,
|
|
3932
|
+
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
3930
3933
|
spacing = "py-12 md:py-32",
|
|
3931
3934
|
brandClassName,
|
|
3932
3935
|
logoWrapperClassName,
|
|
@@ -4720,6 +4723,8 @@ function FooterBackgroundCard({
|
|
|
4720
4723
|
menuItems,
|
|
4721
4724
|
copyright,
|
|
4722
4725
|
bottomLinks,
|
|
4726
|
+
logoWrapperClassName,
|
|
4727
|
+
logoClassName,
|
|
4723
4728
|
className,
|
|
4724
4729
|
cardClassName,
|
|
4725
4730
|
gridClassName,
|
|
@@ -4738,7 +4743,8 @@ function FooterBackgroundCard({
|
|
|
4738
4743
|
copyrightClassName,
|
|
4739
4744
|
bottomLinksClassName,
|
|
4740
4745
|
background,
|
|
4741
|
-
|
|
4746
|
+
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
4747
|
+
spacing = "py-6 md:py-32",
|
|
4742
4748
|
pattern,
|
|
4743
4749
|
patternOpacity,
|
|
4744
4750
|
optixFlowConfig
|
|
@@ -4756,79 +4762,174 @@ function FooterBackgroundCard({
|
|
|
4756
4762
|
patternOpacity,
|
|
4757
4763
|
className: cn("bg-cover bg-center bg-no-repeat", className),
|
|
4758
4764
|
style: sectionStyle,
|
|
4759
|
-
|
|
4760
|
-
|
|
4761
|
-
|
|
4762
|
-
|
|
4763
|
-
|
|
4764
|
-
|
|
4765
|
-
|
|
4766
|
-
|
|
4767
|
-
|
|
4768
|
-
|
|
4769
|
-
|
|
4770
|
-
}
|
|
4771
|
-
),
|
|
4772
|
-
tagline && /* @__PURE__ */ jsxRuntime.jsx("h3", { className: cn("text-2xl font-medium", taglineClassName), children: tagline })
|
|
4773
|
-
] }),
|
|
4774
|
-
personalMessage && /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("mb-6 text-sm leading-relaxed opacity-80", messageClassName), children: personalMessage }),
|
|
4775
|
-
ctaText && /* @__PURE__ */ jsxRuntime.jsx(
|
|
4776
|
-
Pressable,
|
|
4777
|
-
{
|
|
4778
|
-
href: ctaUrl || "#",
|
|
4779
|
-
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),
|
|
4780
|
-
children: ctaText
|
|
4781
|
-
}
|
|
4782
|
-
)
|
|
4783
|
-
] }),
|
|
4784
|
-
menuItems && menuItems.length > 0 && menuItems.map((menu, idx) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn(menuSectionClassName), children: [
|
|
4785
|
-
/* @__PURE__ */ jsxRuntime.jsx("h3", { className: cn("mb-4 text-sm font-medium tracking-wider uppercase", menuTitleClassName), children: menu.title }),
|
|
4786
|
-
/* @__PURE__ */ jsxRuntime.jsx("ul", { className: "space-y-3", children: menu.links.map((link, index) => /* @__PURE__ */ jsxRuntime.jsx("li", { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
4787
|
-
Pressable,
|
|
4765
|
+
containerClassName,
|
|
4766
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
4767
|
+
"div",
|
|
4768
|
+
{
|
|
4769
|
+
className: cn(
|
|
4770
|
+
"mx-auto max-w-7xl rounded-2xl p-12 shadow-xl md:p-16 bg-card text-card-foreground",
|
|
4771
|
+
cardClassName
|
|
4772
|
+
),
|
|
4773
|
+
children: [
|
|
4774
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
4775
|
+
"div",
|
|
4788
4776
|
{
|
|
4789
|
-
|
|
4790
|
-
|
|
4791
|
-
|
|
4777
|
+
className: cn(
|
|
4778
|
+
"grid grid-cols-1 gap-8 md:grid-cols-2 lg:grid-cols-4 lg:gap-12",
|
|
4779
|
+
gridClassName
|
|
4780
|
+
),
|
|
4781
|
+
children: [
|
|
4782
|
+
(profileImage || tagline || personalMessage || ctaText || logo) && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("lg:col-span-1", profileSectionClassName), children: [
|
|
4783
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4784
|
+
footer_logo_default,
|
|
4785
|
+
{
|
|
4786
|
+
logo,
|
|
4787
|
+
logoClassName: cn("mb-12", logoWrapperClassName),
|
|
4788
|
+
logoImageClassName: logoClassName,
|
|
4789
|
+
optixFlowConfig
|
|
4790
|
+
}
|
|
4791
|
+
),
|
|
4792
|
+
(profileImage || tagline) && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-4 flex items-center gap-4", children: [
|
|
4793
|
+
profileImage && /* @__PURE__ */ jsxRuntime.jsx(
|
|
4794
|
+
img.Img,
|
|
4795
|
+
{
|
|
4796
|
+
src: profileImage,
|
|
4797
|
+
alt: "Profile",
|
|
4798
|
+
className: cn(
|
|
4799
|
+
"h-16 w-16 rounded-full object-cover",
|
|
4800
|
+
profileImageClassName
|
|
4801
|
+
),
|
|
4802
|
+
optixFlowConfig
|
|
4803
|
+
}
|
|
4804
|
+
),
|
|
4805
|
+
tagline && /* @__PURE__ */ jsxRuntime.jsx(
|
|
4806
|
+
"h3",
|
|
4807
|
+
{
|
|
4808
|
+
className: cn("text-2xl font-medium", taglineClassName),
|
|
4809
|
+
children: tagline
|
|
4810
|
+
}
|
|
4811
|
+
)
|
|
4812
|
+
] }),
|
|
4813
|
+
personalMessage && /* @__PURE__ */ jsxRuntime.jsx(
|
|
4814
|
+
"p",
|
|
4815
|
+
{
|
|
4816
|
+
className: cn(
|
|
4817
|
+
"mb-6 text-sm leading-relaxed opacity-80",
|
|
4818
|
+
messageClassName
|
|
4819
|
+
),
|
|
4820
|
+
children: personalMessage
|
|
4821
|
+
}
|
|
4822
|
+
),
|
|
4823
|
+
ctaText && /* @__PURE__ */ jsxRuntime.jsx(
|
|
4824
|
+
Pressable,
|
|
4825
|
+
{
|
|
4826
|
+
href: ctaUrl || "#",
|
|
4827
|
+
className: cn(
|
|
4828
|
+
"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",
|
|
4829
|
+
ctaClassName
|
|
4830
|
+
),
|
|
4831
|
+
children: ctaText
|
|
4832
|
+
}
|
|
4833
|
+
)
|
|
4834
|
+
] }),
|
|
4835
|
+
menuItems && menuItems.length > 0 && menuItems.map((menu, idx) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
4836
|
+
"div",
|
|
4837
|
+
{
|
|
4838
|
+
className: cn("pl-0 md:pl-8", menuSectionClassName),
|
|
4839
|
+
children: [
|
|
4840
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4841
|
+
"h3",
|
|
4842
|
+
{
|
|
4843
|
+
className: cn(
|
|
4844
|
+
"mb-4 text-sm font-medium tracking-wider uppercase",
|
|
4845
|
+
menuTitleClassName
|
|
4846
|
+
),
|
|
4847
|
+
children: menu.title
|
|
4848
|
+
}
|
|
4849
|
+
),
|
|
4850
|
+
/* @__PURE__ */ jsxRuntime.jsx("ul", { className: "space-y-3", children: menu.links.map((link, index) => /* @__PURE__ */ jsxRuntime.jsx("li", { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
4851
|
+
Pressable,
|
|
4852
|
+
{
|
|
4853
|
+
href: link.url,
|
|
4854
|
+
className: cn(
|
|
4855
|
+
"border-b border-transparent opacity-80 transition-all duration-300 ease-in-out hover:opacity-100",
|
|
4856
|
+
menuLinkClassName
|
|
4857
|
+
),
|
|
4858
|
+
children: link.text
|
|
4859
|
+
}
|
|
4860
|
+
) }, index)) })
|
|
4861
|
+
]
|
|
4862
|
+
},
|
|
4863
|
+
idx
|
|
4864
|
+
)),
|
|
4865
|
+
(contactTitle || contact) && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("pl-0 md:pl-8", contactSectionClassName), children: [
|
|
4866
|
+
contactTitle && /* @__PURE__ */ jsxRuntime.jsx(
|
|
4867
|
+
"h3",
|
|
4868
|
+
{
|
|
4869
|
+
className: cn(
|
|
4870
|
+
"mb-4 text-sm font-medium tracking-wider uppercase",
|
|
4871
|
+
contactTitleClassName
|
|
4872
|
+
),
|
|
4873
|
+
children: contactTitle
|
|
4874
|
+
}
|
|
4875
|
+
),
|
|
4876
|
+
contact && /* @__PURE__ */ jsxRuntime.jsxs("ul", { className: "space-y-3", children: [
|
|
4877
|
+
contact.phone && /* @__PURE__ */ jsxRuntime.jsx("li", { className: cn("opacity-80", contactItemClassName), children: contact.phone }),
|
|
4878
|
+
contact.email && /* @__PURE__ */ jsxRuntime.jsx("li", { className: cn("opacity-80", contactItemClassName), children: contact.email }),
|
|
4879
|
+
(contact.location || contact.timezone) && /* @__PURE__ */ jsxRuntime.jsxs("li", { className: cn("opacity-80", contactItemClassName), children: [
|
|
4880
|
+
contact.location,
|
|
4881
|
+
contact.location && contact.timezone && " \u2022 ",
|
|
4882
|
+
contact.timezone
|
|
4883
|
+
] })
|
|
4884
|
+
] })
|
|
4885
|
+
] })
|
|
4886
|
+
]
|
|
4792
4887
|
}
|
|
4793
|
-
)
|
|
4794
|
-
|
|
4795
|
-
|
|
4796
|
-
contactTitle && /* @__PURE__ */ jsxRuntime.jsx("h3", { className: cn("mb-4 text-sm font-medium tracking-wider uppercase", contactTitleClassName), children: contactTitle }),
|
|
4797
|
-
contact && /* @__PURE__ */ jsxRuntime.jsxs("ul", { className: "space-y-3", children: [
|
|
4798
|
-
contact.phone && /* @__PURE__ */ jsxRuntime.jsx("li", { className: cn("opacity-80", contactItemClassName), children: contact.phone }),
|
|
4799
|
-
contact.email && /* @__PURE__ */ jsxRuntime.jsx("li", { className: cn("opacity-80", contactItemClassName), children: contact.email }),
|
|
4800
|
-
(contact.location || contact.timezone) && /* @__PURE__ */ jsxRuntime.jsxs("li", { className: cn("opacity-80", contactItemClassName), children: [
|
|
4801
|
-
contact.location,
|
|
4802
|
-
contact.location && contact.timezone && " \u2022 ",
|
|
4803
|
-
contact.timezone
|
|
4804
|
-
] })
|
|
4805
|
-
] })
|
|
4806
|
-
] })
|
|
4807
|
-
] }),
|
|
4808
|
-
/* @__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: [
|
|
4809
|
-
/* @__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: [
|
|
4810
|
-
/* @__PURE__ */ jsxRuntime.jsx(FooterCopyright, { copyright }),
|
|
4811
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4812
|
-
BrandAttribution,
|
|
4888
|
+
),
|
|
4889
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
4890
|
+
"div",
|
|
4813
4891
|
{
|
|
4814
|
-
|
|
4815
|
-
|
|
4816
|
-
|
|
4817
|
-
|
|
4892
|
+
className: cn(
|
|
4893
|
+
"mt-12 flex flex-col items-center justify-between gap-4 border-t pt-8 md:flex-row",
|
|
4894
|
+
bottomClassName
|
|
4895
|
+
),
|
|
4896
|
+
children: [
|
|
4897
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
4898
|
+
"div",
|
|
4899
|
+
{
|
|
4900
|
+
className: cn(
|
|
4901
|
+
"flex flex-col gap-2 text-sm opacity-80 md:flex-row md:items-center md:gap-4",
|
|
4902
|
+
copyrightClassName
|
|
4903
|
+
),
|
|
4904
|
+
children: [
|
|
4905
|
+
/* @__PURE__ */ jsxRuntime.jsx(FooterCopyright, { copyright }),
|
|
4906
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4907
|
+
BrandAttribution,
|
|
4908
|
+
{
|
|
4909
|
+
internalBrandSlug: "open_site_ai",
|
|
4910
|
+
optionIndex: 3,
|
|
4911
|
+
variant: "span",
|
|
4912
|
+
linkClassName: "hover:opacity-100"
|
|
4913
|
+
}
|
|
4914
|
+
)
|
|
4915
|
+
]
|
|
4916
|
+
}
|
|
4917
|
+
),
|
|
4918
|
+
bottomLinks && bottomLinks.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("flex gap-4", bottomLinksClassName), children: bottomLinks.map((link, idx) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
4919
|
+
Pressable,
|
|
4920
|
+
{
|
|
4921
|
+
href: link.url,
|
|
4922
|
+
className: "text-sm opacity-80 transition-colors hover:opacity-100",
|
|
4923
|
+
children: link.text
|
|
4924
|
+
},
|
|
4925
|
+
idx
|
|
4926
|
+
)) })
|
|
4927
|
+
]
|
|
4818
4928
|
}
|
|
4819
4929
|
)
|
|
4820
|
-
]
|
|
4821
|
-
|
|
4822
|
-
|
|
4823
|
-
{
|
|
4824
|
-
href: link.url,
|
|
4825
|
-
className: "text-sm opacity-80 transition-colors hover:opacity-100",
|
|
4826
|
-
children: link.text
|
|
4827
|
-
},
|
|
4828
|
-
idx
|
|
4829
|
-
)) })
|
|
4830
|
-
] })
|
|
4831
|
-
] })
|
|
4930
|
+
]
|
|
4931
|
+
}
|
|
4932
|
+
)
|
|
4832
4933
|
}
|
|
4833
4934
|
);
|
|
4834
4935
|
}
|
|
@@ -4969,7 +5070,16 @@ function FooterAnimatedSocial({
|
|
|
4969
5070
|
"flex flex-row md:flex-col flex-wrap items-center justify-center gap-4 md:gap-2",
|
|
4970
5071
|
rightColumnClassName
|
|
4971
5072
|
),
|
|
4972
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(framerMotion.motion.div, { variants: itemVariants, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
5073
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(framerMotion.motion.div, { variants: itemVariants, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
5074
|
+
"div",
|
|
5075
|
+
{
|
|
5076
|
+
className: cn(
|
|
5077
|
+
"flex flex-row md:flex-col items-center gap-4 md:gap-6",
|
|
5078
|
+
socialLinksClassName
|
|
5079
|
+
),
|
|
5080
|
+
children: socialLinksContent
|
|
5081
|
+
}
|
|
5082
|
+
) })
|
|
4973
5083
|
}
|
|
4974
5084
|
)
|
|
4975
5085
|
]
|
|
@@ -5477,6 +5587,7 @@ function FooterNavSocial({
|
|
|
5477
5587
|
gridClassName,
|
|
5478
5588
|
leftColumnClassName,
|
|
5479
5589
|
logoWrapperClassName,
|
|
5590
|
+
formConfig,
|
|
5480
5591
|
logoClassName,
|
|
5481
5592
|
navGridClassName,
|
|
5482
5593
|
navSectionClassName,
|
|
@@ -5497,7 +5608,8 @@ function FooterNavSocial({
|
|
|
5497
5608
|
legalLinksClassName,
|
|
5498
5609
|
legalLinkClassName,
|
|
5499
5610
|
background,
|
|
5500
|
-
|
|
5611
|
+
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
5612
|
+
spacing = "py-12 md:py-40",
|
|
5501
5613
|
pattern,
|
|
5502
5614
|
patternOpacity,
|
|
5503
5615
|
optixFlowConfig
|
|
@@ -5506,16 +5618,15 @@ function FooterNavSocial({
|
|
|
5506
5618
|
if (!sections || sections.length === 0) return null;
|
|
5507
5619
|
return sections.map((section, sectionIdx) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn(navSectionClassName), children: [
|
|
5508
5620
|
/* @__PURE__ */ jsxRuntime.jsx("h3", { className: cn("mb-4 font-semibold", navTitleClassName), children: section.title }),
|
|
5509
|
-
/* @__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(
|
|
5510
|
-
Pressable,
|
|
5511
|
-
{
|
|
5512
|
-
href: link.href,
|
|
5513
|
-
className: "hover:opacity-100",
|
|
5514
|
-
children: link.name
|
|
5515
|
-
}
|
|
5516
|
-
) }, linkIdx)) })
|
|
5621
|
+
/* @__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)) })
|
|
5517
5622
|
] }, sectionIdx));
|
|
5518
|
-
}, [
|
|
5623
|
+
}, [
|
|
5624
|
+
sections,
|
|
5625
|
+
navSectionClassName,
|
|
5626
|
+
navTitleClassName,
|
|
5627
|
+
navLinksClassName,
|
|
5628
|
+
navLinkClassName
|
|
5629
|
+
]);
|
|
5519
5630
|
const socialLinksContent = React4.useMemo(() => {
|
|
5520
5631
|
if (!socialLinks || socialLinks.length === 0) return null;
|
|
5521
5632
|
return socialLinks.map((social, idx) => /* @__PURE__ */ jsxRuntime.jsx("li", { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -5524,7 +5635,10 @@ function FooterNavSocial({
|
|
|
5524
5635
|
href: social.href,
|
|
5525
5636
|
label: social.label,
|
|
5526
5637
|
iconNameOverride: social.iconNameOverride,
|
|
5527
|
-
className: cn(
|
|
5638
|
+
className: cn(
|
|
5639
|
+
"opacity-80 transition-colors hover:opacity-100",
|
|
5640
|
+
socialLinkClassName
|
|
5641
|
+
)
|
|
5528
5642
|
}
|
|
5529
5643
|
) }, idx));
|
|
5530
5644
|
}, [socialLinks, socialLinkClassName]);
|
|
@@ -5540,64 +5654,155 @@ function FooterNavSocial({
|
|
|
5540
5654
|
pattern,
|
|
5541
5655
|
patternOpacity,
|
|
5542
5656
|
className: cn(className),
|
|
5657
|
+
containerClassName,
|
|
5543
5658
|
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn(contentClassName), children: /* @__PURE__ */ jsxRuntime.jsxs("footer", { children: [
|
|
5544
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
5545
|
-
|
|
5546
|
-
|
|
5547
|
-
|
|
5548
|
-
|
|
5549
|
-
|
|
5550
|
-
logoClassName: cn("mb-8", logoWrapperClassName),
|
|
5551
|
-
logoImageClassName: logoClassName,
|
|
5552
|
-
optixFlowConfig
|
|
5553
|
-
}
|
|
5659
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
5660
|
+
"div",
|
|
5661
|
+
{
|
|
5662
|
+
className: cn(
|
|
5663
|
+
"grid gap-12 md:gap-24 lg:grid-cols-2",
|
|
5664
|
+
gridClassName
|
|
5554
5665
|
),
|
|
5555
|
-
|
|
5556
|
-
|
|
5557
|
-
|
|
5558
|
-
|
|
5559
|
-
newsletterHeading && /* @__PURE__ */ jsxRuntime.jsx("h3", { className: cn("mb-2 text-lg font-semibold", newsletterHeadingClassName), children: newsletterHeading }),
|
|
5560
|
-
newsletterDescription && /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("mb-4 text-sm opacity-80", newsletterDescriptionClassName), children: newsletterDescription }),
|
|
5561
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("flex max-w-md gap-2", newsletterFormClassName), children: [
|
|
5562
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5563
|
-
"input",
|
|
5666
|
+
children: [
|
|
5667
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn(leftColumnClassName), children: [
|
|
5668
|
+
logo && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5669
|
+
FooterLogo,
|
|
5564
5670
|
{
|
|
5565
|
-
|
|
5566
|
-
|
|
5567
|
-
|
|
5671
|
+
logo,
|
|
5672
|
+
logoClassName: cn("mb-8", logoWrapperClassName),
|
|
5673
|
+
logoImageClassName: logoClassName,
|
|
5674
|
+
optixFlowConfig
|
|
5568
5675
|
}
|
|
5569
5676
|
),
|
|
5570
|
-
|
|
5571
|
-
"
|
|
5677
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5678
|
+
"div",
|
|
5572
5679
|
{
|
|
5573
|
-
|
|
5574
|
-
|
|
5575
|
-
|
|
5680
|
+
className: cn(
|
|
5681
|
+
"grid md:flex w-full gap-8 md:gap-6 lg:gap-12 md:flex-wrap md:justify-between grid-cols-2",
|
|
5682
|
+
navGridClassName
|
|
5683
|
+
),
|
|
5684
|
+
children: sectionsContent
|
|
5576
5685
|
}
|
|
5577
5686
|
)
|
|
5578
|
-
] })
|
|
5579
|
-
|
|
5580
|
-
|
|
5581
|
-
|
|
5582
|
-
|
|
5583
|
-
|
|
5584
|
-
|
|
5585
|
-
|
|
5586
|
-
|
|
5587
|
-
|
|
5588
|
-
|
|
5589
|
-
|
|
5590
|
-
|
|
5591
|
-
|
|
5592
|
-
|
|
5593
|
-
|
|
5594
|
-
|
|
5595
|
-
|
|
5596
|
-
|
|
5597
|
-
|
|
5598
|
-
|
|
5599
|
-
|
|
5600
|
-
|
|
5687
|
+
] }),
|
|
5688
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
5689
|
+
"div",
|
|
5690
|
+
{
|
|
5691
|
+
className: cn(
|
|
5692
|
+
"flex flex-col justify-between mt-0 md:mt-16 space-y-8 md:space-y-12",
|
|
5693
|
+
rightColumnClassName
|
|
5694
|
+
),
|
|
5695
|
+
children: [
|
|
5696
|
+
formConfig && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("", newsletterClassName), children: [
|
|
5697
|
+
newsletterHeading && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5698
|
+
"h3",
|
|
5699
|
+
{
|
|
5700
|
+
className: cn(
|
|
5701
|
+
"mb-4 font-medium",
|
|
5702
|
+
newsletterHeadingClassName
|
|
5703
|
+
),
|
|
5704
|
+
children: newsletterHeading
|
|
5705
|
+
}
|
|
5706
|
+
),
|
|
5707
|
+
newsletterDescription && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5708
|
+
"p",
|
|
5709
|
+
{
|
|
5710
|
+
className: cn(
|
|
5711
|
+
"mb-4 text-sm opacity-80",
|
|
5712
|
+
newsletterDescriptionClassName
|
|
5713
|
+
),
|
|
5714
|
+
children: newsletterDescription
|
|
5715
|
+
}
|
|
5716
|
+
),
|
|
5717
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
5718
|
+
"div",
|
|
5719
|
+
{
|
|
5720
|
+
className: cn(
|
|
5721
|
+
"flex max-w-md gap-2",
|
|
5722
|
+
newsletterFormClassName
|
|
5723
|
+
),
|
|
5724
|
+
children: [
|
|
5725
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5726
|
+
"input",
|
|
5727
|
+
{
|
|
5728
|
+
type: "email",
|
|
5729
|
+
placeholder: newsletterPlaceholder,
|
|
5730
|
+
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"
|
|
5731
|
+
}
|
|
5732
|
+
),
|
|
5733
|
+
newsletterButtonText && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5734
|
+
"button",
|
|
5735
|
+
{
|
|
5736
|
+
type: "submit",
|
|
5737
|
+
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",
|
|
5738
|
+
children: newsletterButtonText
|
|
5739
|
+
}
|
|
5740
|
+
)
|
|
5741
|
+
]
|
|
5742
|
+
}
|
|
5743
|
+
)
|
|
5744
|
+
] }),
|
|
5745
|
+
(socialTitle || socialLinksContent) && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn(socialSectionClassName), children: [
|
|
5746
|
+
socialTitle && /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("mb-4 font-medium", socialTitleClassName), children: socialTitle }),
|
|
5747
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5748
|
+
"ul",
|
|
5749
|
+
{
|
|
5750
|
+
className: cn(
|
|
5751
|
+
"flex items-center gap-4",
|
|
5752
|
+
socialLinksClassName
|
|
5753
|
+
),
|
|
5754
|
+
children: socialLinksContent
|
|
5755
|
+
}
|
|
5756
|
+
)
|
|
5757
|
+
] })
|
|
5758
|
+
]
|
|
5759
|
+
}
|
|
5760
|
+
)
|
|
5761
|
+
]
|
|
5762
|
+
}
|
|
5763
|
+
),
|
|
5764
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
5765
|
+
"div",
|
|
5766
|
+
{
|
|
5767
|
+
className: cn(
|
|
5768
|
+
"mt-16 flex flex-col justify-between gap-4 border-t pt-8 text-sm opacity-80 md:flex-row md:items-center",
|
|
5769
|
+
bottomClassName
|
|
5770
|
+
),
|
|
5771
|
+
children: [
|
|
5772
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
5773
|
+
"div",
|
|
5774
|
+
{
|
|
5775
|
+
className: cn(
|
|
5776
|
+
"flex flex-col gap-2 md:flex-row md:items-center md:gap-4",
|
|
5777
|
+
copyrightClassName
|
|
5778
|
+
),
|
|
5779
|
+
children: [
|
|
5780
|
+
/* @__PURE__ */ jsxRuntime.jsx(FooterCopyright, { copyright }),
|
|
5781
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5782
|
+
BrandAttribution,
|
|
5783
|
+
{
|
|
5784
|
+
internalBrandSlug: "open_site_ai",
|
|
5785
|
+
optionIndex: 1,
|
|
5786
|
+
variant: "span",
|
|
5787
|
+
linkClassName: "underline underline-offset-4 transition-colors hover:opacity-100"
|
|
5788
|
+
}
|
|
5789
|
+
)
|
|
5790
|
+
]
|
|
5791
|
+
}
|
|
5792
|
+
),
|
|
5793
|
+
legalLinksContent && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5794
|
+
"ul",
|
|
5795
|
+
{
|
|
5796
|
+
className: cn(
|
|
5797
|
+
"pt-4 md:pt-0 gap-4 grid md:flex grid-cols-2 items-center w-full md:w-fit",
|
|
5798
|
+
legalLinksClassName
|
|
5799
|
+
),
|
|
5800
|
+
children: legalLinksContent
|
|
5801
|
+
}
|
|
5802
|
+
)
|
|
5803
|
+
]
|
|
5804
|
+
}
|
|
5805
|
+
)
|
|
5601
5806
|
] }) })
|
|
5602
5807
|
}
|
|
5603
5808
|
);
|