@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.js
CHANGED
|
@@ -1665,7 +1665,7 @@ var platformIconMap = {
|
|
|
1665
1665
|
yelp: "cib/yelp",
|
|
1666
1666
|
spotify: "cib/spotify",
|
|
1667
1667
|
apple: "cib/apple",
|
|
1668
|
-
x: "line-md/twitter-x",
|
|
1668
|
+
x: "line-md/twitter-x-alt",
|
|
1669
1669
|
github: "cib/github",
|
|
1670
1670
|
snapchat: "cib/snapchat",
|
|
1671
1671
|
discord: "cib/discord",
|
|
@@ -1684,6 +1684,8 @@ var platformIconMap = {
|
|
|
1684
1684
|
npmjs: "simple-icons/npm",
|
|
1685
1685
|
crates: "cib/rust",
|
|
1686
1686
|
rubygems: "cib/rubygems",
|
|
1687
|
+
behance: "cib/behance",
|
|
1688
|
+
dribbble: "cib/dribbble",
|
|
1687
1689
|
unknown: "icon-park-solid/circular-connection"
|
|
1688
1690
|
};
|
|
1689
1691
|
var SocialLinkIcon = React4.forwardRef(
|
|
@@ -3014,6 +3016,7 @@ var FooterLogo = ({
|
|
|
3014
3016
|
}
|
|
3015
3017
|
return /* @__PURE__ */ jsx("div", { className: cn("inline-flex items-center", logoClassName), children: logoContent });
|
|
3016
3018
|
};
|
|
3019
|
+
var footer_logo_default = FooterLogo;
|
|
3017
3020
|
function FooterCopyright({
|
|
3018
3021
|
copyright,
|
|
3019
3022
|
className
|
|
@@ -3902,8 +3905,8 @@ function FooterSimpleCentered({
|
|
|
3902
3905
|
bottomLinks,
|
|
3903
3906
|
className,
|
|
3904
3907
|
footerClassName,
|
|
3905
|
-
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
3906
3908
|
contentClassName,
|
|
3909
|
+
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
3907
3910
|
spacing = "py-12 md:py-32",
|
|
3908
3911
|
brandClassName,
|
|
3909
3912
|
logoWrapperClassName,
|
|
@@ -4697,6 +4700,8 @@ function FooterBackgroundCard({
|
|
|
4697
4700
|
menuItems,
|
|
4698
4701
|
copyright,
|
|
4699
4702
|
bottomLinks,
|
|
4703
|
+
logoWrapperClassName,
|
|
4704
|
+
logoClassName,
|
|
4700
4705
|
className,
|
|
4701
4706
|
cardClassName,
|
|
4702
4707
|
gridClassName,
|
|
@@ -4715,7 +4720,8 @@ function FooterBackgroundCard({
|
|
|
4715
4720
|
copyrightClassName,
|
|
4716
4721
|
bottomLinksClassName,
|
|
4717
4722
|
background,
|
|
4718
|
-
|
|
4723
|
+
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
4724
|
+
spacing = "py-6 md:py-32",
|
|
4719
4725
|
pattern,
|
|
4720
4726
|
patternOpacity,
|
|
4721
4727
|
optixFlowConfig
|
|
@@ -4733,79 +4739,174 @@ function FooterBackgroundCard({
|
|
|
4733
4739
|
patternOpacity,
|
|
4734
4740
|
className: cn("bg-cover bg-center bg-no-repeat", className),
|
|
4735
4741
|
style: sectionStyle,
|
|
4736
|
-
|
|
4737
|
-
|
|
4738
|
-
|
|
4739
|
-
|
|
4740
|
-
|
|
4741
|
-
|
|
4742
|
-
|
|
4743
|
-
|
|
4744
|
-
|
|
4745
|
-
|
|
4746
|
-
|
|
4747
|
-
}
|
|
4748
|
-
),
|
|
4749
|
-
tagline && /* @__PURE__ */ jsx("h3", { className: cn("text-2xl font-medium", taglineClassName), children: tagline })
|
|
4750
|
-
] }),
|
|
4751
|
-
personalMessage && /* @__PURE__ */ jsx("p", { className: cn("mb-6 text-sm leading-relaxed opacity-80", messageClassName), children: personalMessage }),
|
|
4752
|
-
ctaText && /* @__PURE__ */ jsx(
|
|
4753
|
-
Pressable,
|
|
4754
|
-
{
|
|
4755
|
-
href: ctaUrl || "#",
|
|
4756
|
-
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),
|
|
4757
|
-
children: ctaText
|
|
4758
|
-
}
|
|
4759
|
-
)
|
|
4760
|
-
] }),
|
|
4761
|
-
menuItems && menuItems.length > 0 && menuItems.map((menu, idx) => /* @__PURE__ */ jsxs("div", { className: cn(menuSectionClassName), children: [
|
|
4762
|
-
/* @__PURE__ */ jsx("h3", { className: cn("mb-4 text-sm font-medium tracking-wider uppercase", menuTitleClassName), children: menu.title }),
|
|
4763
|
-
/* @__PURE__ */ jsx("ul", { className: "space-y-3", children: menu.links.map((link, index) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
4764
|
-
Pressable,
|
|
4742
|
+
containerClassName,
|
|
4743
|
+
children: /* @__PURE__ */ jsxs(
|
|
4744
|
+
"div",
|
|
4745
|
+
{
|
|
4746
|
+
className: cn(
|
|
4747
|
+
"mx-auto max-w-7xl rounded-2xl p-12 shadow-xl md:p-16 bg-card text-card-foreground",
|
|
4748
|
+
cardClassName
|
|
4749
|
+
),
|
|
4750
|
+
children: [
|
|
4751
|
+
/* @__PURE__ */ jsxs(
|
|
4752
|
+
"div",
|
|
4765
4753
|
{
|
|
4766
|
-
|
|
4767
|
-
|
|
4768
|
-
|
|
4754
|
+
className: cn(
|
|
4755
|
+
"grid grid-cols-1 gap-8 md:grid-cols-2 lg:grid-cols-4 lg:gap-12",
|
|
4756
|
+
gridClassName
|
|
4757
|
+
),
|
|
4758
|
+
children: [
|
|
4759
|
+
(profileImage || tagline || personalMessage || ctaText || logo) && /* @__PURE__ */ jsxs("div", { className: cn("lg:col-span-1", profileSectionClassName), children: [
|
|
4760
|
+
/* @__PURE__ */ jsx(
|
|
4761
|
+
footer_logo_default,
|
|
4762
|
+
{
|
|
4763
|
+
logo,
|
|
4764
|
+
logoClassName: cn("mb-12", logoWrapperClassName),
|
|
4765
|
+
logoImageClassName: logoClassName,
|
|
4766
|
+
optixFlowConfig
|
|
4767
|
+
}
|
|
4768
|
+
),
|
|
4769
|
+
(profileImage || tagline) && /* @__PURE__ */ jsxs("div", { className: "mb-4 flex items-center gap-4", children: [
|
|
4770
|
+
profileImage && /* @__PURE__ */ jsx(
|
|
4771
|
+
Img,
|
|
4772
|
+
{
|
|
4773
|
+
src: profileImage,
|
|
4774
|
+
alt: "Profile",
|
|
4775
|
+
className: cn(
|
|
4776
|
+
"h-16 w-16 rounded-full object-cover",
|
|
4777
|
+
profileImageClassName
|
|
4778
|
+
),
|
|
4779
|
+
optixFlowConfig
|
|
4780
|
+
}
|
|
4781
|
+
),
|
|
4782
|
+
tagline && /* @__PURE__ */ jsx(
|
|
4783
|
+
"h3",
|
|
4784
|
+
{
|
|
4785
|
+
className: cn("text-2xl font-medium", taglineClassName),
|
|
4786
|
+
children: tagline
|
|
4787
|
+
}
|
|
4788
|
+
)
|
|
4789
|
+
] }),
|
|
4790
|
+
personalMessage && /* @__PURE__ */ jsx(
|
|
4791
|
+
"p",
|
|
4792
|
+
{
|
|
4793
|
+
className: cn(
|
|
4794
|
+
"mb-6 text-sm leading-relaxed opacity-80",
|
|
4795
|
+
messageClassName
|
|
4796
|
+
),
|
|
4797
|
+
children: personalMessage
|
|
4798
|
+
}
|
|
4799
|
+
),
|
|
4800
|
+
ctaText && /* @__PURE__ */ jsx(
|
|
4801
|
+
Pressable,
|
|
4802
|
+
{
|
|
4803
|
+
href: ctaUrl || "#",
|
|
4804
|
+
className: cn(
|
|
4805
|
+
"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",
|
|
4806
|
+
ctaClassName
|
|
4807
|
+
),
|
|
4808
|
+
children: ctaText
|
|
4809
|
+
}
|
|
4810
|
+
)
|
|
4811
|
+
] }),
|
|
4812
|
+
menuItems && menuItems.length > 0 && menuItems.map((menu, idx) => /* @__PURE__ */ jsxs(
|
|
4813
|
+
"div",
|
|
4814
|
+
{
|
|
4815
|
+
className: cn("pl-0 md:pl-8", menuSectionClassName),
|
|
4816
|
+
children: [
|
|
4817
|
+
/* @__PURE__ */ jsx(
|
|
4818
|
+
"h3",
|
|
4819
|
+
{
|
|
4820
|
+
className: cn(
|
|
4821
|
+
"mb-4 text-sm font-medium tracking-wider uppercase",
|
|
4822
|
+
menuTitleClassName
|
|
4823
|
+
),
|
|
4824
|
+
children: menu.title
|
|
4825
|
+
}
|
|
4826
|
+
),
|
|
4827
|
+
/* @__PURE__ */ jsx("ul", { className: "space-y-3", children: menu.links.map((link, index) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
4828
|
+
Pressable,
|
|
4829
|
+
{
|
|
4830
|
+
href: link.url,
|
|
4831
|
+
className: cn(
|
|
4832
|
+
"border-b border-transparent opacity-80 transition-all duration-300 ease-in-out hover:opacity-100",
|
|
4833
|
+
menuLinkClassName
|
|
4834
|
+
),
|
|
4835
|
+
children: link.text
|
|
4836
|
+
}
|
|
4837
|
+
) }, index)) })
|
|
4838
|
+
]
|
|
4839
|
+
},
|
|
4840
|
+
idx
|
|
4841
|
+
)),
|
|
4842
|
+
(contactTitle || contact) && /* @__PURE__ */ jsxs("div", { className: cn("pl-0 md:pl-8", contactSectionClassName), children: [
|
|
4843
|
+
contactTitle && /* @__PURE__ */ jsx(
|
|
4844
|
+
"h3",
|
|
4845
|
+
{
|
|
4846
|
+
className: cn(
|
|
4847
|
+
"mb-4 text-sm font-medium tracking-wider uppercase",
|
|
4848
|
+
contactTitleClassName
|
|
4849
|
+
),
|
|
4850
|
+
children: contactTitle
|
|
4851
|
+
}
|
|
4852
|
+
),
|
|
4853
|
+
contact && /* @__PURE__ */ jsxs("ul", { className: "space-y-3", children: [
|
|
4854
|
+
contact.phone && /* @__PURE__ */ jsx("li", { className: cn("opacity-80", contactItemClassName), children: contact.phone }),
|
|
4855
|
+
contact.email && /* @__PURE__ */ jsx("li", { className: cn("opacity-80", contactItemClassName), children: contact.email }),
|
|
4856
|
+
(contact.location || contact.timezone) && /* @__PURE__ */ jsxs("li", { className: cn("opacity-80", contactItemClassName), children: [
|
|
4857
|
+
contact.location,
|
|
4858
|
+
contact.location && contact.timezone && " \u2022 ",
|
|
4859
|
+
contact.timezone
|
|
4860
|
+
] })
|
|
4861
|
+
] })
|
|
4862
|
+
] })
|
|
4863
|
+
]
|
|
4769
4864
|
}
|
|
4770
|
-
)
|
|
4771
|
-
|
|
4772
|
-
|
|
4773
|
-
contactTitle && /* @__PURE__ */ jsx("h3", { className: cn("mb-4 text-sm font-medium tracking-wider uppercase", contactTitleClassName), children: contactTitle }),
|
|
4774
|
-
contact && /* @__PURE__ */ jsxs("ul", { className: "space-y-3", children: [
|
|
4775
|
-
contact.phone && /* @__PURE__ */ jsx("li", { className: cn("opacity-80", contactItemClassName), children: contact.phone }),
|
|
4776
|
-
contact.email && /* @__PURE__ */ jsx("li", { className: cn("opacity-80", contactItemClassName), children: contact.email }),
|
|
4777
|
-
(contact.location || contact.timezone) && /* @__PURE__ */ jsxs("li", { className: cn("opacity-80", contactItemClassName), children: [
|
|
4778
|
-
contact.location,
|
|
4779
|
-
contact.location && contact.timezone && " \u2022 ",
|
|
4780
|
-
contact.timezone
|
|
4781
|
-
] })
|
|
4782
|
-
] })
|
|
4783
|
-
] })
|
|
4784
|
-
] }),
|
|
4785
|
-
/* @__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: [
|
|
4786
|
-
/* @__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: [
|
|
4787
|
-
/* @__PURE__ */ jsx(FooterCopyright, { copyright }),
|
|
4788
|
-
/* @__PURE__ */ jsx(
|
|
4789
|
-
BrandAttribution,
|
|
4865
|
+
),
|
|
4866
|
+
/* @__PURE__ */ jsxs(
|
|
4867
|
+
"div",
|
|
4790
4868
|
{
|
|
4791
|
-
|
|
4792
|
-
|
|
4793
|
-
|
|
4794
|
-
|
|
4869
|
+
className: cn(
|
|
4870
|
+
"mt-12 flex flex-col items-center justify-between gap-4 border-t pt-8 md:flex-row",
|
|
4871
|
+
bottomClassName
|
|
4872
|
+
),
|
|
4873
|
+
children: [
|
|
4874
|
+
/* @__PURE__ */ jsxs(
|
|
4875
|
+
"div",
|
|
4876
|
+
{
|
|
4877
|
+
className: cn(
|
|
4878
|
+
"flex flex-col gap-2 text-sm opacity-80 md:flex-row md:items-center md:gap-4",
|
|
4879
|
+
copyrightClassName
|
|
4880
|
+
),
|
|
4881
|
+
children: [
|
|
4882
|
+
/* @__PURE__ */ jsx(FooterCopyright, { copyright }),
|
|
4883
|
+
/* @__PURE__ */ jsx(
|
|
4884
|
+
BrandAttribution,
|
|
4885
|
+
{
|
|
4886
|
+
internalBrandSlug: "open_site_ai",
|
|
4887
|
+
optionIndex: 3,
|
|
4888
|
+
variant: "span",
|
|
4889
|
+
linkClassName: "hover:opacity-100"
|
|
4890
|
+
}
|
|
4891
|
+
)
|
|
4892
|
+
]
|
|
4893
|
+
}
|
|
4894
|
+
),
|
|
4895
|
+
bottomLinks && bottomLinks.length > 0 && /* @__PURE__ */ jsx("div", { className: cn("flex gap-4", bottomLinksClassName), children: bottomLinks.map((link, idx) => /* @__PURE__ */ jsx(
|
|
4896
|
+
Pressable,
|
|
4897
|
+
{
|
|
4898
|
+
href: link.url,
|
|
4899
|
+
className: "text-sm opacity-80 transition-colors hover:opacity-100",
|
|
4900
|
+
children: link.text
|
|
4901
|
+
},
|
|
4902
|
+
idx
|
|
4903
|
+
)) })
|
|
4904
|
+
]
|
|
4795
4905
|
}
|
|
4796
4906
|
)
|
|
4797
|
-
]
|
|
4798
|
-
|
|
4799
|
-
|
|
4800
|
-
{
|
|
4801
|
-
href: link.url,
|
|
4802
|
-
className: "text-sm opacity-80 transition-colors hover:opacity-100",
|
|
4803
|
-
children: link.text
|
|
4804
|
-
},
|
|
4805
|
-
idx
|
|
4806
|
-
)) })
|
|
4807
|
-
] })
|
|
4808
|
-
] })
|
|
4907
|
+
]
|
|
4908
|
+
}
|
|
4909
|
+
)
|
|
4809
4910
|
}
|
|
4810
4911
|
);
|
|
4811
4912
|
}
|
|
@@ -4946,7 +5047,16 @@ function FooterAnimatedSocial({
|
|
|
4946
5047
|
"flex flex-row md:flex-col flex-wrap items-center justify-center gap-4 md:gap-2",
|
|
4947
5048
|
rightColumnClassName
|
|
4948
5049
|
),
|
|
4949
|
-
children: /* @__PURE__ */ jsx(motion.div, { variants: itemVariants, children: /* @__PURE__ */ jsx(
|
|
5050
|
+
children: /* @__PURE__ */ jsx(motion.div, { variants: itemVariants, children: /* @__PURE__ */ jsx(
|
|
5051
|
+
"div",
|
|
5052
|
+
{
|
|
5053
|
+
className: cn(
|
|
5054
|
+
"flex flex-row md:flex-col items-center gap-4 md:gap-6",
|
|
5055
|
+
socialLinksClassName
|
|
5056
|
+
),
|
|
5057
|
+
children: socialLinksContent
|
|
5058
|
+
}
|
|
5059
|
+
) })
|
|
4950
5060
|
}
|
|
4951
5061
|
)
|
|
4952
5062
|
]
|
|
@@ -5454,6 +5564,7 @@ function FooterNavSocial({
|
|
|
5454
5564
|
gridClassName,
|
|
5455
5565
|
leftColumnClassName,
|
|
5456
5566
|
logoWrapperClassName,
|
|
5567
|
+
formConfig,
|
|
5457
5568
|
logoClassName,
|
|
5458
5569
|
navGridClassName,
|
|
5459
5570
|
navSectionClassName,
|
|
@@ -5474,7 +5585,8 @@ function FooterNavSocial({
|
|
|
5474
5585
|
legalLinksClassName,
|
|
5475
5586
|
legalLinkClassName,
|
|
5476
5587
|
background,
|
|
5477
|
-
|
|
5588
|
+
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
5589
|
+
spacing = "py-12 md:py-40",
|
|
5478
5590
|
pattern,
|
|
5479
5591
|
patternOpacity,
|
|
5480
5592
|
optixFlowConfig
|
|
@@ -5483,16 +5595,15 @@ function FooterNavSocial({
|
|
|
5483
5595
|
if (!sections || sections.length === 0) return null;
|
|
5484
5596
|
return sections.map((section, sectionIdx) => /* @__PURE__ */ jsxs("div", { className: cn(navSectionClassName), children: [
|
|
5485
5597
|
/* @__PURE__ */ jsx("h3", { className: cn("mb-4 font-semibold", navTitleClassName), children: section.title }),
|
|
5486
|
-
/* @__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(
|
|
5487
|
-
Pressable,
|
|
5488
|
-
{
|
|
5489
|
-
href: link.href,
|
|
5490
|
-
className: "hover:opacity-100",
|
|
5491
|
-
children: link.name
|
|
5492
|
-
}
|
|
5493
|
-
) }, linkIdx)) })
|
|
5598
|
+
/* @__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)) })
|
|
5494
5599
|
] }, sectionIdx));
|
|
5495
|
-
}, [
|
|
5600
|
+
}, [
|
|
5601
|
+
sections,
|
|
5602
|
+
navSectionClassName,
|
|
5603
|
+
navTitleClassName,
|
|
5604
|
+
navLinksClassName,
|
|
5605
|
+
navLinkClassName
|
|
5606
|
+
]);
|
|
5496
5607
|
const socialLinksContent = useMemo(() => {
|
|
5497
5608
|
if (!socialLinks || socialLinks.length === 0) return null;
|
|
5498
5609
|
return socialLinks.map((social, idx) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
@@ -5501,7 +5612,10 @@ function FooterNavSocial({
|
|
|
5501
5612
|
href: social.href,
|
|
5502
5613
|
label: social.label,
|
|
5503
5614
|
iconNameOverride: social.iconNameOverride,
|
|
5504
|
-
className: cn(
|
|
5615
|
+
className: cn(
|
|
5616
|
+
"opacity-80 transition-colors hover:opacity-100",
|
|
5617
|
+
socialLinkClassName
|
|
5618
|
+
)
|
|
5505
5619
|
}
|
|
5506
5620
|
) }, idx));
|
|
5507
5621
|
}, [socialLinks, socialLinkClassName]);
|
|
@@ -5517,64 +5631,155 @@ function FooterNavSocial({
|
|
|
5517
5631
|
pattern,
|
|
5518
5632
|
patternOpacity,
|
|
5519
5633
|
className: cn(className),
|
|
5634
|
+
containerClassName,
|
|
5520
5635
|
children: /* @__PURE__ */ jsx("div", { className: cn(contentClassName), children: /* @__PURE__ */ jsxs("footer", { children: [
|
|
5521
|
-
/* @__PURE__ */ jsxs(
|
|
5522
|
-
|
|
5523
|
-
|
|
5524
|
-
|
|
5525
|
-
|
|
5526
|
-
|
|
5527
|
-
logoClassName: cn("mb-8", logoWrapperClassName),
|
|
5528
|
-
logoImageClassName: logoClassName,
|
|
5529
|
-
optixFlowConfig
|
|
5530
|
-
}
|
|
5636
|
+
/* @__PURE__ */ jsxs(
|
|
5637
|
+
"div",
|
|
5638
|
+
{
|
|
5639
|
+
className: cn(
|
|
5640
|
+
"grid gap-12 md:gap-24 lg:grid-cols-2",
|
|
5641
|
+
gridClassName
|
|
5531
5642
|
),
|
|
5532
|
-
|
|
5533
|
-
|
|
5534
|
-
|
|
5535
|
-
|
|
5536
|
-
newsletterHeading && /* @__PURE__ */ jsx("h3", { className: cn("mb-2 text-lg font-semibold", newsletterHeadingClassName), children: newsletterHeading }),
|
|
5537
|
-
newsletterDescription && /* @__PURE__ */ jsx("p", { className: cn("mb-4 text-sm opacity-80", newsletterDescriptionClassName), children: newsletterDescription }),
|
|
5538
|
-
/* @__PURE__ */ jsxs("div", { className: cn("flex max-w-md gap-2", newsletterFormClassName), children: [
|
|
5539
|
-
/* @__PURE__ */ jsx(
|
|
5540
|
-
"input",
|
|
5643
|
+
children: [
|
|
5644
|
+
/* @__PURE__ */ jsxs("div", { className: cn(leftColumnClassName), children: [
|
|
5645
|
+
logo && /* @__PURE__ */ jsx(
|
|
5646
|
+
FooterLogo,
|
|
5541
5647
|
{
|
|
5542
|
-
|
|
5543
|
-
|
|
5544
|
-
|
|
5648
|
+
logo,
|
|
5649
|
+
logoClassName: cn("mb-8", logoWrapperClassName),
|
|
5650
|
+
logoImageClassName: logoClassName,
|
|
5651
|
+
optixFlowConfig
|
|
5545
5652
|
}
|
|
5546
5653
|
),
|
|
5547
|
-
|
|
5548
|
-
"
|
|
5654
|
+
/* @__PURE__ */ jsx(
|
|
5655
|
+
"div",
|
|
5549
5656
|
{
|
|
5550
|
-
|
|
5551
|
-
|
|
5552
|
-
|
|
5657
|
+
className: cn(
|
|
5658
|
+
"grid md:flex w-full gap-8 md:gap-6 lg:gap-12 md:flex-wrap md:justify-between grid-cols-2",
|
|
5659
|
+
navGridClassName
|
|
5660
|
+
),
|
|
5661
|
+
children: sectionsContent
|
|
5553
5662
|
}
|
|
5554
5663
|
)
|
|
5555
|
-
] })
|
|
5556
|
-
|
|
5557
|
-
|
|
5558
|
-
|
|
5559
|
-
|
|
5560
|
-
|
|
5561
|
-
|
|
5562
|
-
|
|
5563
|
-
|
|
5564
|
-
|
|
5565
|
-
|
|
5566
|
-
|
|
5567
|
-
|
|
5568
|
-
|
|
5569
|
-
|
|
5570
|
-
|
|
5571
|
-
|
|
5572
|
-
|
|
5573
|
-
|
|
5574
|
-
|
|
5575
|
-
|
|
5576
|
-
|
|
5577
|
-
|
|
5664
|
+
] }),
|
|
5665
|
+
/* @__PURE__ */ jsxs(
|
|
5666
|
+
"div",
|
|
5667
|
+
{
|
|
5668
|
+
className: cn(
|
|
5669
|
+
"flex flex-col justify-between mt-0 md:mt-16 space-y-8 md:space-y-12",
|
|
5670
|
+
rightColumnClassName
|
|
5671
|
+
),
|
|
5672
|
+
children: [
|
|
5673
|
+
formConfig && /* @__PURE__ */ jsxs("div", { className: cn("", newsletterClassName), children: [
|
|
5674
|
+
newsletterHeading && /* @__PURE__ */ jsx(
|
|
5675
|
+
"h3",
|
|
5676
|
+
{
|
|
5677
|
+
className: cn(
|
|
5678
|
+
"mb-4 font-medium",
|
|
5679
|
+
newsletterHeadingClassName
|
|
5680
|
+
),
|
|
5681
|
+
children: newsletterHeading
|
|
5682
|
+
}
|
|
5683
|
+
),
|
|
5684
|
+
newsletterDescription && /* @__PURE__ */ jsx(
|
|
5685
|
+
"p",
|
|
5686
|
+
{
|
|
5687
|
+
className: cn(
|
|
5688
|
+
"mb-4 text-sm opacity-80",
|
|
5689
|
+
newsletterDescriptionClassName
|
|
5690
|
+
),
|
|
5691
|
+
children: newsletterDescription
|
|
5692
|
+
}
|
|
5693
|
+
),
|
|
5694
|
+
/* @__PURE__ */ jsxs(
|
|
5695
|
+
"div",
|
|
5696
|
+
{
|
|
5697
|
+
className: cn(
|
|
5698
|
+
"flex max-w-md gap-2",
|
|
5699
|
+
newsletterFormClassName
|
|
5700
|
+
),
|
|
5701
|
+
children: [
|
|
5702
|
+
/* @__PURE__ */ jsx(
|
|
5703
|
+
"input",
|
|
5704
|
+
{
|
|
5705
|
+
type: "email",
|
|
5706
|
+
placeholder: newsletterPlaceholder,
|
|
5707
|
+
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"
|
|
5708
|
+
}
|
|
5709
|
+
),
|
|
5710
|
+
newsletterButtonText && /* @__PURE__ */ jsx(
|
|
5711
|
+
"button",
|
|
5712
|
+
{
|
|
5713
|
+
type: "submit",
|
|
5714
|
+
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",
|
|
5715
|
+
children: newsletterButtonText
|
|
5716
|
+
}
|
|
5717
|
+
)
|
|
5718
|
+
]
|
|
5719
|
+
}
|
|
5720
|
+
)
|
|
5721
|
+
] }),
|
|
5722
|
+
(socialTitle || socialLinksContent) && /* @__PURE__ */ jsxs("div", { className: cn(socialSectionClassName), children: [
|
|
5723
|
+
socialTitle && /* @__PURE__ */ jsx("p", { className: cn("mb-4 font-medium", socialTitleClassName), children: socialTitle }),
|
|
5724
|
+
/* @__PURE__ */ jsx(
|
|
5725
|
+
"ul",
|
|
5726
|
+
{
|
|
5727
|
+
className: cn(
|
|
5728
|
+
"flex items-center gap-4",
|
|
5729
|
+
socialLinksClassName
|
|
5730
|
+
),
|
|
5731
|
+
children: socialLinksContent
|
|
5732
|
+
}
|
|
5733
|
+
)
|
|
5734
|
+
] })
|
|
5735
|
+
]
|
|
5736
|
+
}
|
|
5737
|
+
)
|
|
5738
|
+
]
|
|
5739
|
+
}
|
|
5740
|
+
),
|
|
5741
|
+
/* @__PURE__ */ jsxs(
|
|
5742
|
+
"div",
|
|
5743
|
+
{
|
|
5744
|
+
className: cn(
|
|
5745
|
+
"mt-16 flex flex-col justify-between gap-4 border-t pt-8 text-sm opacity-80 md:flex-row md:items-center",
|
|
5746
|
+
bottomClassName
|
|
5747
|
+
),
|
|
5748
|
+
children: [
|
|
5749
|
+
/* @__PURE__ */ jsxs(
|
|
5750
|
+
"div",
|
|
5751
|
+
{
|
|
5752
|
+
className: cn(
|
|
5753
|
+
"flex flex-col gap-2 md:flex-row md:items-center md:gap-4",
|
|
5754
|
+
copyrightClassName
|
|
5755
|
+
),
|
|
5756
|
+
children: [
|
|
5757
|
+
/* @__PURE__ */ jsx(FooterCopyright, { copyright }),
|
|
5758
|
+
/* @__PURE__ */ jsx(
|
|
5759
|
+
BrandAttribution,
|
|
5760
|
+
{
|
|
5761
|
+
internalBrandSlug: "open_site_ai",
|
|
5762
|
+
optionIndex: 1,
|
|
5763
|
+
variant: "span",
|
|
5764
|
+
linkClassName: "underline underline-offset-4 transition-colors hover:opacity-100"
|
|
5765
|
+
}
|
|
5766
|
+
)
|
|
5767
|
+
]
|
|
5768
|
+
}
|
|
5769
|
+
),
|
|
5770
|
+
legalLinksContent && /* @__PURE__ */ jsx(
|
|
5771
|
+
"ul",
|
|
5772
|
+
{
|
|
5773
|
+
className: cn(
|
|
5774
|
+
"pt-4 md:pt-0 gap-4 grid md:flex grid-cols-2 items-center w-full md:w-fit",
|
|
5775
|
+
legalLinksClassName
|
|
5776
|
+
),
|
|
5777
|
+
children: legalLinksContent
|
|
5778
|
+
}
|
|
5779
|
+
)
|
|
5780
|
+
]
|
|
5781
|
+
}
|
|
5782
|
+
)
|
|
5578
5783
|
] }) })
|
|
5579
5784
|
}
|
|
5580
5785
|
);
|
|
@@ -1001,7 +1001,7 @@ var platformIconMap = {
|
|
|
1001
1001
|
yelp: "cib/yelp",
|
|
1002
1002
|
spotify: "cib/spotify",
|
|
1003
1003
|
apple: "cib/apple",
|
|
1004
|
-
x: "line-md/twitter-x",
|
|
1004
|
+
x: "line-md/twitter-x-alt",
|
|
1005
1005
|
github: "cib/github",
|
|
1006
1006
|
snapchat: "cib/snapchat",
|
|
1007
1007
|
discord: "cib/discord",
|
|
@@ -1020,6 +1020,8 @@ var platformIconMap = {
|
|
|
1020
1020
|
npmjs: "simple-icons/npm",
|
|
1021
1021
|
crates: "cib/rust",
|
|
1022
1022
|
rubygems: "cib/rubygems",
|
|
1023
|
+
behance: "cib/behance",
|
|
1024
|
+
dribbble: "cib/dribbble",
|
|
1023
1025
|
unknown: "icon-park-solid/circular-connection"
|
|
1024
1026
|
};
|
|
1025
1027
|
var SocialLinkIcon = React__namespace.forwardRef(
|
|
@@ -980,7 +980,7 @@ var platformIconMap = {
|
|
|
980
980
|
yelp: "cib/yelp",
|
|
981
981
|
spotify: "cib/spotify",
|
|
982
982
|
apple: "cib/apple",
|
|
983
|
-
x: "line-md/twitter-x",
|
|
983
|
+
x: "line-md/twitter-x-alt",
|
|
984
984
|
github: "cib/github",
|
|
985
985
|
snapchat: "cib/snapchat",
|
|
986
986
|
discord: "cib/discord",
|
|
@@ -999,6 +999,8 @@ var platformIconMap = {
|
|
|
999
999
|
npmjs: "simple-icons/npm",
|
|
1000
1000
|
crates: "cib/rust",
|
|
1001
1001
|
rubygems: "cib/rubygems",
|
|
1002
|
+
behance: "cib/behance",
|
|
1003
|
+
dribbble: "cib/dribbble",
|
|
1002
1004
|
unknown: "icon-park-solid/circular-connection"
|
|
1003
1005
|
};
|
|
1004
1006
|
var SocialLinkIcon = React.forwardRef(
|
|
@@ -1073,7 +1073,7 @@ var platformIconMap = {
|
|
|
1073
1073
|
yelp: "cib/yelp",
|
|
1074
1074
|
spotify: "cib/spotify",
|
|
1075
1075
|
apple: "cib/apple",
|
|
1076
|
-
x: "line-md/twitter-x",
|
|
1076
|
+
x: "line-md/twitter-x-alt",
|
|
1077
1077
|
github: "cib/github",
|
|
1078
1078
|
snapchat: "cib/snapchat",
|
|
1079
1079
|
discord: "cib/discord",
|
|
@@ -1092,6 +1092,8 @@ var platformIconMap = {
|
|
|
1092
1092
|
npmjs: "simple-icons/npm",
|
|
1093
1093
|
crates: "cib/rust",
|
|
1094
1094
|
rubygems: "cib/rubygems",
|
|
1095
|
+
behance: "cib/behance",
|
|
1096
|
+
dribbble: "cib/dribbble",
|
|
1095
1097
|
unknown: "icon-park-solid/circular-connection"
|
|
1096
1098
|
};
|
|
1097
1099
|
var SocialLinkIcon = React__namespace.forwardRef(
|
|
@@ -1051,7 +1051,7 @@ var platformIconMap = {
|
|
|
1051
1051
|
yelp: "cib/yelp",
|
|
1052
1052
|
spotify: "cib/spotify",
|
|
1053
1053
|
apple: "cib/apple",
|
|
1054
|
-
x: "line-md/twitter-x",
|
|
1054
|
+
x: "line-md/twitter-x-alt",
|
|
1055
1055
|
github: "cib/github",
|
|
1056
1056
|
snapchat: "cib/snapchat",
|
|
1057
1057
|
discord: "cib/discord",
|
|
@@ -1070,6 +1070,8 @@ var platformIconMap = {
|
|
|
1070
1070
|
npmjs: "simple-icons/npm",
|
|
1071
1071
|
crates: "cib/rust",
|
|
1072
1072
|
rubygems: "cib/rubygems",
|
|
1073
|
+
behance: "cib/behance",
|
|
1074
|
+
dribbble: "cib/dribbble",
|
|
1073
1075
|
unknown: "icon-park-solid/circular-connection"
|
|
1074
1076
|
};
|
|
1075
1077
|
var SocialLinkIcon = React.forwardRef(
|