@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.js
CHANGED
|
@@ -1634,7 +1634,7 @@ var platformIconMap = {
|
|
|
1634
1634
|
yelp: "cib/yelp",
|
|
1635
1635
|
spotify: "cib/spotify",
|
|
1636
1636
|
apple: "cib/apple",
|
|
1637
|
-
x: "line-md/twitter-x",
|
|
1637
|
+
x: "line-md/twitter-x-alt",
|
|
1638
1638
|
github: "cib/github",
|
|
1639
1639
|
snapchat: "cib/snapchat",
|
|
1640
1640
|
discord: "cib/discord",
|
|
@@ -1653,6 +1653,8 @@ var platformIconMap = {
|
|
|
1653
1653
|
npmjs: "simple-icons/npm",
|
|
1654
1654
|
crates: "cib/rust",
|
|
1655
1655
|
rubygems: "cib/rubygems",
|
|
1656
|
+
behance: "cib/behance",
|
|
1657
|
+
dribbble: "cib/dribbble",
|
|
1656
1658
|
unknown: "icon-park-solid/circular-connection"
|
|
1657
1659
|
};
|
|
1658
1660
|
var SocialLinkIcon = React4.forwardRef(
|
|
@@ -2983,6 +2985,7 @@ var FooterLogo = ({
|
|
|
2983
2985
|
}
|
|
2984
2986
|
return /* @__PURE__ */ jsx("div", { className: cn("inline-flex items-center", logoClassName), children: logoContent });
|
|
2985
2987
|
};
|
|
2988
|
+
var footer_logo_default = FooterLogo;
|
|
2986
2989
|
function FooterCopyright({
|
|
2987
2990
|
copyright,
|
|
2988
2991
|
className
|
|
@@ -3871,8 +3874,8 @@ function FooterSimpleCentered({
|
|
|
3871
3874
|
bottomLinks,
|
|
3872
3875
|
className,
|
|
3873
3876
|
footerClassName,
|
|
3874
|
-
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
3875
3877
|
contentClassName,
|
|
3878
|
+
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
3876
3879
|
spacing = "py-12 md:py-32",
|
|
3877
3880
|
brandClassName,
|
|
3878
3881
|
logoWrapperClassName,
|
|
@@ -4666,6 +4669,8 @@ function FooterBackgroundCard({
|
|
|
4666
4669
|
menuItems,
|
|
4667
4670
|
copyright,
|
|
4668
4671
|
bottomLinks,
|
|
4672
|
+
logoWrapperClassName,
|
|
4673
|
+
logoClassName,
|
|
4669
4674
|
className,
|
|
4670
4675
|
cardClassName,
|
|
4671
4676
|
gridClassName,
|
|
@@ -4684,7 +4689,8 @@ function FooterBackgroundCard({
|
|
|
4684
4689
|
copyrightClassName,
|
|
4685
4690
|
bottomLinksClassName,
|
|
4686
4691
|
background,
|
|
4687
|
-
|
|
4692
|
+
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
4693
|
+
spacing = "py-6 md:py-32",
|
|
4688
4694
|
pattern,
|
|
4689
4695
|
patternOpacity,
|
|
4690
4696
|
optixFlowConfig
|
|
@@ -4702,79 +4708,174 @@ function FooterBackgroundCard({
|
|
|
4702
4708
|
patternOpacity,
|
|
4703
4709
|
className: cn("bg-cover bg-center bg-no-repeat", className),
|
|
4704
4710
|
style: sectionStyle,
|
|
4705
|
-
|
|
4706
|
-
|
|
4707
|
-
|
|
4708
|
-
|
|
4709
|
-
|
|
4710
|
-
|
|
4711
|
-
|
|
4712
|
-
|
|
4713
|
-
|
|
4714
|
-
|
|
4715
|
-
|
|
4716
|
-
}
|
|
4717
|
-
),
|
|
4718
|
-
tagline && /* @__PURE__ */ jsx("h3", { className: cn("text-2xl font-medium", taglineClassName), children: tagline })
|
|
4719
|
-
] }),
|
|
4720
|
-
personalMessage && /* @__PURE__ */ jsx("p", { className: cn("mb-6 text-sm leading-relaxed opacity-80", messageClassName), children: personalMessage }),
|
|
4721
|
-
ctaText && /* @__PURE__ */ jsx(
|
|
4722
|
-
Pressable,
|
|
4723
|
-
{
|
|
4724
|
-
href: ctaUrl || "#",
|
|
4725
|
-
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),
|
|
4726
|
-
children: ctaText
|
|
4727
|
-
}
|
|
4728
|
-
)
|
|
4729
|
-
] }),
|
|
4730
|
-
menuItems && menuItems.length > 0 && menuItems.map((menu, idx) => /* @__PURE__ */ jsxs("div", { className: cn(menuSectionClassName), children: [
|
|
4731
|
-
/* @__PURE__ */ jsx("h3", { className: cn("mb-4 text-sm font-medium tracking-wider uppercase", menuTitleClassName), children: menu.title }),
|
|
4732
|
-
/* @__PURE__ */ jsx("ul", { className: "space-y-3", children: menu.links.map((link, index) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
4733
|
-
Pressable,
|
|
4711
|
+
containerClassName,
|
|
4712
|
+
children: /* @__PURE__ */ jsxs(
|
|
4713
|
+
"div",
|
|
4714
|
+
{
|
|
4715
|
+
className: cn(
|
|
4716
|
+
"mx-auto max-w-7xl rounded-2xl p-12 shadow-xl md:p-16 bg-card text-card-foreground",
|
|
4717
|
+
cardClassName
|
|
4718
|
+
),
|
|
4719
|
+
children: [
|
|
4720
|
+
/* @__PURE__ */ jsxs(
|
|
4721
|
+
"div",
|
|
4734
4722
|
{
|
|
4735
|
-
|
|
4736
|
-
|
|
4737
|
-
|
|
4723
|
+
className: cn(
|
|
4724
|
+
"grid grid-cols-1 gap-8 md:grid-cols-2 lg:grid-cols-4 lg:gap-12",
|
|
4725
|
+
gridClassName
|
|
4726
|
+
),
|
|
4727
|
+
children: [
|
|
4728
|
+
(profileImage || tagline || personalMessage || ctaText || logo) && /* @__PURE__ */ jsxs("div", { className: cn("lg:col-span-1", profileSectionClassName), children: [
|
|
4729
|
+
/* @__PURE__ */ jsx(
|
|
4730
|
+
footer_logo_default,
|
|
4731
|
+
{
|
|
4732
|
+
logo,
|
|
4733
|
+
logoClassName: cn("mb-12", logoWrapperClassName),
|
|
4734
|
+
logoImageClassName: logoClassName,
|
|
4735
|
+
optixFlowConfig
|
|
4736
|
+
}
|
|
4737
|
+
),
|
|
4738
|
+
(profileImage || tagline) && /* @__PURE__ */ jsxs("div", { className: "mb-4 flex items-center gap-4", children: [
|
|
4739
|
+
profileImage && /* @__PURE__ */ jsx(
|
|
4740
|
+
Img,
|
|
4741
|
+
{
|
|
4742
|
+
src: profileImage,
|
|
4743
|
+
alt: "Profile",
|
|
4744
|
+
className: cn(
|
|
4745
|
+
"h-16 w-16 rounded-full object-cover",
|
|
4746
|
+
profileImageClassName
|
|
4747
|
+
),
|
|
4748
|
+
optixFlowConfig
|
|
4749
|
+
}
|
|
4750
|
+
),
|
|
4751
|
+
tagline && /* @__PURE__ */ jsx(
|
|
4752
|
+
"h3",
|
|
4753
|
+
{
|
|
4754
|
+
className: cn("text-2xl font-medium", taglineClassName),
|
|
4755
|
+
children: tagline
|
|
4756
|
+
}
|
|
4757
|
+
)
|
|
4758
|
+
] }),
|
|
4759
|
+
personalMessage && /* @__PURE__ */ jsx(
|
|
4760
|
+
"p",
|
|
4761
|
+
{
|
|
4762
|
+
className: cn(
|
|
4763
|
+
"mb-6 text-sm leading-relaxed opacity-80",
|
|
4764
|
+
messageClassName
|
|
4765
|
+
),
|
|
4766
|
+
children: personalMessage
|
|
4767
|
+
}
|
|
4768
|
+
),
|
|
4769
|
+
ctaText && /* @__PURE__ */ jsx(
|
|
4770
|
+
Pressable,
|
|
4771
|
+
{
|
|
4772
|
+
href: ctaUrl || "#",
|
|
4773
|
+
className: cn(
|
|
4774
|
+
"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",
|
|
4775
|
+
ctaClassName
|
|
4776
|
+
),
|
|
4777
|
+
children: ctaText
|
|
4778
|
+
}
|
|
4779
|
+
)
|
|
4780
|
+
] }),
|
|
4781
|
+
menuItems && menuItems.length > 0 && menuItems.map((menu, idx) => /* @__PURE__ */ jsxs(
|
|
4782
|
+
"div",
|
|
4783
|
+
{
|
|
4784
|
+
className: cn("pl-0 md:pl-8", menuSectionClassName),
|
|
4785
|
+
children: [
|
|
4786
|
+
/* @__PURE__ */ jsx(
|
|
4787
|
+
"h3",
|
|
4788
|
+
{
|
|
4789
|
+
className: cn(
|
|
4790
|
+
"mb-4 text-sm font-medium tracking-wider uppercase",
|
|
4791
|
+
menuTitleClassName
|
|
4792
|
+
),
|
|
4793
|
+
children: menu.title
|
|
4794
|
+
}
|
|
4795
|
+
),
|
|
4796
|
+
/* @__PURE__ */ jsx("ul", { className: "space-y-3", children: menu.links.map((link, index) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
4797
|
+
Pressable,
|
|
4798
|
+
{
|
|
4799
|
+
href: link.url,
|
|
4800
|
+
className: cn(
|
|
4801
|
+
"border-b border-transparent opacity-80 transition-all duration-300 ease-in-out hover:opacity-100",
|
|
4802
|
+
menuLinkClassName
|
|
4803
|
+
),
|
|
4804
|
+
children: link.text
|
|
4805
|
+
}
|
|
4806
|
+
) }, index)) })
|
|
4807
|
+
]
|
|
4808
|
+
},
|
|
4809
|
+
idx
|
|
4810
|
+
)),
|
|
4811
|
+
(contactTitle || contact) && /* @__PURE__ */ jsxs("div", { className: cn("pl-0 md:pl-8", contactSectionClassName), children: [
|
|
4812
|
+
contactTitle && /* @__PURE__ */ jsx(
|
|
4813
|
+
"h3",
|
|
4814
|
+
{
|
|
4815
|
+
className: cn(
|
|
4816
|
+
"mb-4 text-sm font-medium tracking-wider uppercase",
|
|
4817
|
+
contactTitleClassName
|
|
4818
|
+
),
|
|
4819
|
+
children: contactTitle
|
|
4820
|
+
}
|
|
4821
|
+
),
|
|
4822
|
+
contact && /* @__PURE__ */ jsxs("ul", { className: "space-y-3", children: [
|
|
4823
|
+
contact.phone && /* @__PURE__ */ jsx("li", { className: cn("opacity-80", contactItemClassName), children: contact.phone }),
|
|
4824
|
+
contact.email && /* @__PURE__ */ jsx("li", { className: cn("opacity-80", contactItemClassName), children: contact.email }),
|
|
4825
|
+
(contact.location || contact.timezone) && /* @__PURE__ */ jsxs("li", { className: cn("opacity-80", contactItemClassName), children: [
|
|
4826
|
+
contact.location,
|
|
4827
|
+
contact.location && contact.timezone && " \u2022 ",
|
|
4828
|
+
contact.timezone
|
|
4829
|
+
] })
|
|
4830
|
+
] })
|
|
4831
|
+
] })
|
|
4832
|
+
]
|
|
4738
4833
|
}
|
|
4739
|
-
)
|
|
4740
|
-
|
|
4741
|
-
|
|
4742
|
-
contactTitle && /* @__PURE__ */ jsx("h3", { className: cn("mb-4 text-sm font-medium tracking-wider uppercase", contactTitleClassName), children: contactTitle }),
|
|
4743
|
-
contact && /* @__PURE__ */ jsxs("ul", { className: "space-y-3", children: [
|
|
4744
|
-
contact.phone && /* @__PURE__ */ jsx("li", { className: cn("opacity-80", contactItemClassName), children: contact.phone }),
|
|
4745
|
-
contact.email && /* @__PURE__ */ jsx("li", { className: cn("opacity-80", contactItemClassName), children: contact.email }),
|
|
4746
|
-
(contact.location || contact.timezone) && /* @__PURE__ */ jsxs("li", { className: cn("opacity-80", contactItemClassName), children: [
|
|
4747
|
-
contact.location,
|
|
4748
|
-
contact.location && contact.timezone && " \u2022 ",
|
|
4749
|
-
contact.timezone
|
|
4750
|
-
] })
|
|
4751
|
-
] })
|
|
4752
|
-
] })
|
|
4753
|
-
] }),
|
|
4754
|
-
/* @__PURE__ */ jsxs("div", { className: cn("mt-12 flex flex-col items-center justify-between gap-4 border-t pt-8 md:flex-row", bottomClassName), children: [
|
|
4755
|
-
/* @__PURE__ */ jsxs("div", { className: cn("flex flex-col gap-2 text-sm opacity-80 md:flex-row md:items-center md:gap-4", copyrightClassName), children: [
|
|
4756
|
-
/* @__PURE__ */ jsx(FooterCopyright, { copyright }),
|
|
4757
|
-
/* @__PURE__ */ jsx(
|
|
4758
|
-
BrandAttribution,
|
|
4834
|
+
),
|
|
4835
|
+
/* @__PURE__ */ jsxs(
|
|
4836
|
+
"div",
|
|
4759
4837
|
{
|
|
4760
|
-
|
|
4761
|
-
|
|
4762
|
-
|
|
4763
|
-
|
|
4838
|
+
className: cn(
|
|
4839
|
+
"mt-12 flex flex-col items-center justify-between gap-4 border-t pt-8 md:flex-row",
|
|
4840
|
+
bottomClassName
|
|
4841
|
+
),
|
|
4842
|
+
children: [
|
|
4843
|
+
/* @__PURE__ */ jsxs(
|
|
4844
|
+
"div",
|
|
4845
|
+
{
|
|
4846
|
+
className: cn(
|
|
4847
|
+
"flex flex-col gap-2 text-sm opacity-80 md:flex-row md:items-center md:gap-4",
|
|
4848
|
+
copyrightClassName
|
|
4849
|
+
),
|
|
4850
|
+
children: [
|
|
4851
|
+
/* @__PURE__ */ jsx(FooterCopyright, { copyright }),
|
|
4852
|
+
/* @__PURE__ */ jsx(
|
|
4853
|
+
BrandAttribution,
|
|
4854
|
+
{
|
|
4855
|
+
internalBrandSlug: "open_site_ai",
|
|
4856
|
+
optionIndex: 3,
|
|
4857
|
+
variant: "span",
|
|
4858
|
+
linkClassName: "hover:opacity-100"
|
|
4859
|
+
}
|
|
4860
|
+
)
|
|
4861
|
+
]
|
|
4862
|
+
}
|
|
4863
|
+
),
|
|
4864
|
+
bottomLinks && bottomLinks.length > 0 && /* @__PURE__ */ jsx("div", { className: cn("flex gap-4", bottomLinksClassName), children: bottomLinks.map((link, idx) => /* @__PURE__ */ jsx(
|
|
4865
|
+
Pressable,
|
|
4866
|
+
{
|
|
4867
|
+
href: link.url,
|
|
4868
|
+
className: "text-sm opacity-80 transition-colors hover:opacity-100",
|
|
4869
|
+
children: link.text
|
|
4870
|
+
},
|
|
4871
|
+
idx
|
|
4872
|
+
)) })
|
|
4873
|
+
]
|
|
4764
4874
|
}
|
|
4765
4875
|
)
|
|
4766
|
-
]
|
|
4767
|
-
|
|
4768
|
-
|
|
4769
|
-
{
|
|
4770
|
-
href: link.url,
|
|
4771
|
-
className: "text-sm opacity-80 transition-colors hover:opacity-100",
|
|
4772
|
-
children: link.text
|
|
4773
|
-
},
|
|
4774
|
-
idx
|
|
4775
|
-
)) })
|
|
4776
|
-
] })
|
|
4777
|
-
] })
|
|
4876
|
+
]
|
|
4877
|
+
}
|
|
4878
|
+
)
|
|
4778
4879
|
}
|
|
4779
4880
|
);
|
|
4780
4881
|
}
|
|
@@ -4915,7 +5016,16 @@ function FooterAnimatedSocial({
|
|
|
4915
5016
|
"flex flex-row md:flex-col flex-wrap items-center justify-center gap-4 md:gap-2",
|
|
4916
5017
|
rightColumnClassName
|
|
4917
5018
|
),
|
|
4918
|
-
children: /* @__PURE__ */ jsx(motion.div, { variants: itemVariants, children: /* @__PURE__ */ jsx(
|
|
5019
|
+
children: /* @__PURE__ */ jsx(motion.div, { variants: itemVariants, children: /* @__PURE__ */ jsx(
|
|
5020
|
+
"div",
|
|
5021
|
+
{
|
|
5022
|
+
className: cn(
|
|
5023
|
+
"flex flex-row md:flex-col items-center gap-4 md:gap-6",
|
|
5024
|
+
socialLinksClassName
|
|
5025
|
+
),
|
|
5026
|
+
children: socialLinksContent
|
|
5027
|
+
}
|
|
5028
|
+
) })
|
|
4919
5029
|
}
|
|
4920
5030
|
)
|
|
4921
5031
|
]
|
|
@@ -5423,6 +5533,7 @@ function FooterNavSocial({
|
|
|
5423
5533
|
gridClassName,
|
|
5424
5534
|
leftColumnClassName,
|
|
5425
5535
|
logoWrapperClassName,
|
|
5536
|
+
formConfig,
|
|
5426
5537
|
logoClassName,
|
|
5427
5538
|
navGridClassName,
|
|
5428
5539
|
navSectionClassName,
|
|
@@ -5443,7 +5554,8 @@ function FooterNavSocial({
|
|
|
5443
5554
|
legalLinksClassName,
|
|
5444
5555
|
legalLinkClassName,
|
|
5445
5556
|
background,
|
|
5446
|
-
|
|
5557
|
+
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
5558
|
+
spacing = "py-12 md:py-40",
|
|
5447
5559
|
pattern,
|
|
5448
5560
|
patternOpacity,
|
|
5449
5561
|
optixFlowConfig
|
|
@@ -5452,16 +5564,15 @@ function FooterNavSocial({
|
|
|
5452
5564
|
if (!sections || sections.length === 0) return null;
|
|
5453
5565
|
return sections.map((section, sectionIdx) => /* @__PURE__ */ jsxs("div", { className: cn(navSectionClassName), children: [
|
|
5454
5566
|
/* @__PURE__ */ jsx("h3", { className: cn("mb-4 font-semibold", navTitleClassName), children: section.title }),
|
|
5455
|
-
/* @__PURE__ */ jsx("ul", { className: cn("space-y-3 text-sm opacity-80", navLinksClassName), children: section.links.map((link, linkIdx) => /* @__PURE__ */ jsx("li", { className: cn(navLinkClassName), children: /* @__PURE__ */ jsx(
|
|
5456
|
-
Pressable,
|
|
5457
|
-
{
|
|
5458
|
-
href: link.href,
|
|
5459
|
-
className: "hover:opacity-100",
|
|
5460
|
-
children: link.name
|
|
5461
|
-
}
|
|
5462
|
-
) }, linkIdx)) })
|
|
5567
|
+
/* @__PURE__ */ jsx("ul", { className: cn("space-y-3 text-sm opacity-80", navLinksClassName), children: section.links.map((link, linkIdx) => /* @__PURE__ */ jsx("li", { className: cn(navLinkClassName), children: /* @__PURE__ */ jsx(Pressable, { href: link.href, className: "hover:opacity-100", children: link.name }) }, linkIdx)) })
|
|
5463
5568
|
] }, sectionIdx));
|
|
5464
|
-
}, [
|
|
5569
|
+
}, [
|
|
5570
|
+
sections,
|
|
5571
|
+
navSectionClassName,
|
|
5572
|
+
navTitleClassName,
|
|
5573
|
+
navLinksClassName,
|
|
5574
|
+
navLinkClassName
|
|
5575
|
+
]);
|
|
5465
5576
|
const socialLinksContent = useMemo(() => {
|
|
5466
5577
|
if (!socialLinks || socialLinks.length === 0) return null;
|
|
5467
5578
|
return socialLinks.map((social, idx) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
@@ -5470,7 +5581,10 @@ function FooterNavSocial({
|
|
|
5470
5581
|
href: social.href,
|
|
5471
5582
|
label: social.label,
|
|
5472
5583
|
iconNameOverride: social.iconNameOverride,
|
|
5473
|
-
className: cn(
|
|
5584
|
+
className: cn(
|
|
5585
|
+
"opacity-80 transition-colors hover:opacity-100",
|
|
5586
|
+
socialLinkClassName
|
|
5587
|
+
)
|
|
5474
5588
|
}
|
|
5475
5589
|
) }, idx));
|
|
5476
5590
|
}, [socialLinks, socialLinkClassName]);
|
|
@@ -5486,64 +5600,155 @@ function FooterNavSocial({
|
|
|
5486
5600
|
pattern,
|
|
5487
5601
|
patternOpacity,
|
|
5488
5602
|
className: cn(className),
|
|
5603
|
+
containerClassName,
|
|
5489
5604
|
children: /* @__PURE__ */ jsx("div", { className: cn(contentClassName), children: /* @__PURE__ */ jsxs("footer", { children: [
|
|
5490
|
-
/* @__PURE__ */ jsxs(
|
|
5491
|
-
|
|
5492
|
-
|
|
5493
|
-
|
|
5494
|
-
|
|
5495
|
-
|
|
5496
|
-
logoClassName: cn("mb-8", logoWrapperClassName),
|
|
5497
|
-
logoImageClassName: logoClassName,
|
|
5498
|
-
optixFlowConfig
|
|
5499
|
-
}
|
|
5605
|
+
/* @__PURE__ */ jsxs(
|
|
5606
|
+
"div",
|
|
5607
|
+
{
|
|
5608
|
+
className: cn(
|
|
5609
|
+
"grid gap-12 md:gap-24 lg:grid-cols-2",
|
|
5610
|
+
gridClassName
|
|
5500
5611
|
),
|
|
5501
|
-
|
|
5502
|
-
|
|
5503
|
-
|
|
5504
|
-
|
|
5505
|
-
newsletterHeading && /* @__PURE__ */ jsx("h3", { className: cn("mb-2 text-lg font-semibold", newsletterHeadingClassName), children: newsletterHeading }),
|
|
5506
|
-
newsletterDescription && /* @__PURE__ */ jsx("p", { className: cn("mb-4 text-sm opacity-80", newsletterDescriptionClassName), children: newsletterDescription }),
|
|
5507
|
-
/* @__PURE__ */ jsxs("div", { className: cn("flex max-w-md gap-2", newsletterFormClassName), children: [
|
|
5508
|
-
/* @__PURE__ */ jsx(
|
|
5509
|
-
"input",
|
|
5612
|
+
children: [
|
|
5613
|
+
/* @__PURE__ */ jsxs("div", { className: cn(leftColumnClassName), children: [
|
|
5614
|
+
logo && /* @__PURE__ */ jsx(
|
|
5615
|
+
FooterLogo,
|
|
5510
5616
|
{
|
|
5511
|
-
|
|
5512
|
-
|
|
5513
|
-
|
|
5617
|
+
logo,
|
|
5618
|
+
logoClassName: cn("mb-8", logoWrapperClassName),
|
|
5619
|
+
logoImageClassName: logoClassName,
|
|
5620
|
+
optixFlowConfig
|
|
5514
5621
|
}
|
|
5515
5622
|
),
|
|
5516
|
-
|
|
5517
|
-
"
|
|
5623
|
+
/* @__PURE__ */ jsx(
|
|
5624
|
+
"div",
|
|
5518
5625
|
{
|
|
5519
|
-
|
|
5520
|
-
|
|
5521
|
-
|
|
5626
|
+
className: cn(
|
|
5627
|
+
"grid md:flex w-full gap-8 md:gap-6 lg:gap-12 md:flex-wrap md:justify-between grid-cols-2",
|
|
5628
|
+
navGridClassName
|
|
5629
|
+
),
|
|
5630
|
+
children: sectionsContent
|
|
5522
5631
|
}
|
|
5523
5632
|
)
|
|
5524
|
-
] })
|
|
5525
|
-
|
|
5526
|
-
|
|
5527
|
-
|
|
5528
|
-
|
|
5529
|
-
|
|
5530
|
-
|
|
5531
|
-
|
|
5532
|
-
|
|
5533
|
-
|
|
5534
|
-
|
|
5535
|
-
|
|
5536
|
-
|
|
5537
|
-
|
|
5538
|
-
|
|
5539
|
-
|
|
5540
|
-
|
|
5541
|
-
|
|
5542
|
-
|
|
5543
|
-
|
|
5544
|
-
|
|
5545
|
-
|
|
5546
|
-
|
|
5633
|
+
] }),
|
|
5634
|
+
/* @__PURE__ */ jsxs(
|
|
5635
|
+
"div",
|
|
5636
|
+
{
|
|
5637
|
+
className: cn(
|
|
5638
|
+
"flex flex-col justify-between mt-0 md:mt-16 space-y-8 md:space-y-12",
|
|
5639
|
+
rightColumnClassName
|
|
5640
|
+
),
|
|
5641
|
+
children: [
|
|
5642
|
+
formConfig && /* @__PURE__ */ jsxs("div", { className: cn("", newsletterClassName), children: [
|
|
5643
|
+
newsletterHeading && /* @__PURE__ */ jsx(
|
|
5644
|
+
"h3",
|
|
5645
|
+
{
|
|
5646
|
+
className: cn(
|
|
5647
|
+
"mb-4 font-medium",
|
|
5648
|
+
newsletterHeadingClassName
|
|
5649
|
+
),
|
|
5650
|
+
children: newsletterHeading
|
|
5651
|
+
}
|
|
5652
|
+
),
|
|
5653
|
+
newsletterDescription && /* @__PURE__ */ jsx(
|
|
5654
|
+
"p",
|
|
5655
|
+
{
|
|
5656
|
+
className: cn(
|
|
5657
|
+
"mb-4 text-sm opacity-80",
|
|
5658
|
+
newsletterDescriptionClassName
|
|
5659
|
+
),
|
|
5660
|
+
children: newsletterDescription
|
|
5661
|
+
}
|
|
5662
|
+
),
|
|
5663
|
+
/* @__PURE__ */ jsxs(
|
|
5664
|
+
"div",
|
|
5665
|
+
{
|
|
5666
|
+
className: cn(
|
|
5667
|
+
"flex max-w-md gap-2",
|
|
5668
|
+
newsletterFormClassName
|
|
5669
|
+
),
|
|
5670
|
+
children: [
|
|
5671
|
+
/* @__PURE__ */ jsx(
|
|
5672
|
+
"input",
|
|
5673
|
+
{
|
|
5674
|
+
type: "email",
|
|
5675
|
+
placeholder: newsletterPlaceholder,
|
|
5676
|
+
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"
|
|
5677
|
+
}
|
|
5678
|
+
),
|
|
5679
|
+
newsletterButtonText && /* @__PURE__ */ jsx(
|
|
5680
|
+
"button",
|
|
5681
|
+
{
|
|
5682
|
+
type: "submit",
|
|
5683
|
+
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",
|
|
5684
|
+
children: newsletterButtonText
|
|
5685
|
+
}
|
|
5686
|
+
)
|
|
5687
|
+
]
|
|
5688
|
+
}
|
|
5689
|
+
)
|
|
5690
|
+
] }),
|
|
5691
|
+
(socialTitle || socialLinksContent) && /* @__PURE__ */ jsxs("div", { className: cn(socialSectionClassName), children: [
|
|
5692
|
+
socialTitle && /* @__PURE__ */ jsx("p", { className: cn("mb-4 font-medium", socialTitleClassName), children: socialTitle }),
|
|
5693
|
+
/* @__PURE__ */ jsx(
|
|
5694
|
+
"ul",
|
|
5695
|
+
{
|
|
5696
|
+
className: cn(
|
|
5697
|
+
"flex items-center gap-4",
|
|
5698
|
+
socialLinksClassName
|
|
5699
|
+
),
|
|
5700
|
+
children: socialLinksContent
|
|
5701
|
+
}
|
|
5702
|
+
)
|
|
5703
|
+
] })
|
|
5704
|
+
]
|
|
5705
|
+
}
|
|
5706
|
+
)
|
|
5707
|
+
]
|
|
5708
|
+
}
|
|
5709
|
+
),
|
|
5710
|
+
/* @__PURE__ */ jsxs(
|
|
5711
|
+
"div",
|
|
5712
|
+
{
|
|
5713
|
+
className: cn(
|
|
5714
|
+
"mt-16 flex flex-col justify-between gap-4 border-t pt-8 text-sm opacity-80 md:flex-row md:items-center",
|
|
5715
|
+
bottomClassName
|
|
5716
|
+
),
|
|
5717
|
+
children: [
|
|
5718
|
+
/* @__PURE__ */ jsxs(
|
|
5719
|
+
"div",
|
|
5720
|
+
{
|
|
5721
|
+
className: cn(
|
|
5722
|
+
"flex flex-col gap-2 md:flex-row md:items-center md:gap-4",
|
|
5723
|
+
copyrightClassName
|
|
5724
|
+
),
|
|
5725
|
+
children: [
|
|
5726
|
+
/* @__PURE__ */ jsx(FooterCopyright, { copyright }),
|
|
5727
|
+
/* @__PURE__ */ jsx(
|
|
5728
|
+
BrandAttribution,
|
|
5729
|
+
{
|
|
5730
|
+
internalBrandSlug: "open_site_ai",
|
|
5731
|
+
optionIndex: 1,
|
|
5732
|
+
variant: "span",
|
|
5733
|
+
linkClassName: "underline underline-offset-4 transition-colors hover:opacity-100"
|
|
5734
|
+
}
|
|
5735
|
+
)
|
|
5736
|
+
]
|
|
5737
|
+
}
|
|
5738
|
+
),
|
|
5739
|
+
legalLinksContent && /* @__PURE__ */ jsx(
|
|
5740
|
+
"ul",
|
|
5741
|
+
{
|
|
5742
|
+
className: cn(
|
|
5743
|
+
"pt-4 md:pt-0 gap-4 grid md:flex grid-cols-2 items-center w-full md:w-fit",
|
|
5744
|
+
legalLinksClassName
|
|
5745
|
+
),
|
|
5746
|
+
children: legalLinksContent
|
|
5747
|
+
}
|
|
5748
|
+
)
|
|
5749
|
+
]
|
|
5750
|
+
}
|
|
5751
|
+
)
|
|
5547
5752
|
] }) })
|
|
5548
5753
|
}
|
|
5549
5754
|
);
|
|
@@ -1667,7 +1667,7 @@ var platformIconMap = {
|
|
|
1667
1667
|
yelp: "cib/yelp",
|
|
1668
1668
|
spotify: "cib/spotify",
|
|
1669
1669
|
apple: "cib/apple",
|
|
1670
|
-
x: "line-md/twitter-x",
|
|
1670
|
+
x: "line-md/twitter-x-alt",
|
|
1671
1671
|
github: "cib/github",
|
|
1672
1672
|
snapchat: "cib/snapchat",
|
|
1673
1673
|
discord: "cib/discord",
|
|
@@ -1686,6 +1686,8 @@ var platformIconMap = {
|
|
|
1686
1686
|
npmjs: "simple-icons/npm",
|
|
1687
1687
|
crates: "cib/rust",
|
|
1688
1688
|
rubygems: "cib/rubygems",
|
|
1689
|
+
behance: "cib/behance",
|
|
1690
|
+
dribbble: "cib/dribbble",
|
|
1689
1691
|
unknown: "icon-park-solid/circular-connection"
|
|
1690
1692
|
};
|
|
1691
1693
|
var SocialLinkIcon = React__namespace.forwardRef(
|
|
@@ -1646,7 +1646,7 @@ var platformIconMap = {
|
|
|
1646
1646
|
yelp: "cib/yelp",
|
|
1647
1647
|
spotify: "cib/spotify",
|
|
1648
1648
|
apple: "cib/apple",
|
|
1649
|
-
x: "line-md/twitter-x",
|
|
1649
|
+
x: "line-md/twitter-x-alt",
|
|
1650
1650
|
github: "cib/github",
|
|
1651
1651
|
snapchat: "cib/snapchat",
|
|
1652
1652
|
discord: "cib/discord",
|
|
@@ -1665,6 +1665,8 @@ var platformIconMap = {
|
|
|
1665
1665
|
npmjs: "simple-icons/npm",
|
|
1666
1666
|
crates: "cib/rust",
|
|
1667
1667
|
rubygems: "cib/rubygems",
|
|
1668
|
+
behance: "cib/behance",
|
|
1669
|
+
dribbble: "cib/dribbble",
|
|
1668
1670
|
unknown: "icon-park-solid/circular-connection"
|
|
1669
1671
|
};
|
|
1670
1672
|
var SocialLinkIcon = React.forwardRef(
|
|
@@ -1098,7 +1098,7 @@ var platformIconMap = {
|
|
|
1098
1098
|
yelp: "cib/yelp",
|
|
1099
1099
|
spotify: "cib/spotify",
|
|
1100
1100
|
apple: "cib/apple",
|
|
1101
|
-
x: "line-md/twitter-x",
|
|
1101
|
+
x: "line-md/twitter-x-alt",
|
|
1102
1102
|
github: "cib/github",
|
|
1103
1103
|
snapchat: "cib/snapchat",
|
|
1104
1104
|
discord: "cib/discord",
|
|
@@ -1117,6 +1117,8 @@ var platformIconMap = {
|
|
|
1117
1117
|
npmjs: "simple-icons/npm",
|
|
1118
1118
|
crates: "cib/rust",
|
|
1119
1119
|
rubygems: "cib/rubygems",
|
|
1120
|
+
behance: "cib/behance",
|
|
1121
|
+
dribbble: "cib/dribbble",
|
|
1120
1122
|
unknown: "icon-park-solid/circular-connection"
|
|
1121
1123
|
};
|
|
1122
1124
|
var SocialLinkIcon = React__namespace.forwardRef(
|
|
@@ -1679,7 +1681,16 @@ function FooterAnimatedSocial({
|
|
|
1679
1681
|
"flex flex-row md:flex-col flex-wrap items-center justify-center gap-4 md:gap-2",
|
|
1680
1682
|
rightColumnClassName
|
|
1681
1683
|
),
|
|
1682
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(framerMotion.motion.div, { variants: itemVariants, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1684
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(framerMotion.motion.div, { variants: itemVariants, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1685
|
+
"div",
|
|
1686
|
+
{
|
|
1687
|
+
className: cn(
|
|
1688
|
+
"flex flex-row md:flex-col items-center gap-4 md:gap-6",
|
|
1689
|
+
socialLinksClassName
|
|
1690
|
+
),
|
|
1691
|
+
children: socialLinksContent
|
|
1692
|
+
}
|
|
1693
|
+
) })
|
|
1683
1694
|
}
|
|
1684
1695
|
)
|
|
1685
1696
|
]
|