@opensite/ui 1.5.2 → 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/index.js CHANGED
@@ -3016,6 +3016,7 @@ var FooterLogo = ({
3016
3016
  }
3017
3017
  return /* @__PURE__ */ jsx("div", { className: cn("inline-flex items-center", logoClassName), children: logoContent });
3018
3018
  };
3019
+ var footer_logo_default = FooterLogo;
3019
3020
  function FooterCopyright({
3020
3021
  copyright,
3021
3022
  className
@@ -3904,8 +3905,8 @@ function FooterSimpleCentered({
3904
3905
  bottomLinks,
3905
3906
  className,
3906
3907
  footerClassName,
3907
- containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
3908
3908
  contentClassName,
3909
+ containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
3909
3910
  spacing = "py-12 md:py-32",
3910
3911
  brandClassName,
3911
3912
  logoWrapperClassName,
@@ -4699,6 +4700,8 @@ function FooterBackgroundCard({
4699
4700
  menuItems,
4700
4701
  copyright,
4701
4702
  bottomLinks,
4703
+ logoWrapperClassName,
4704
+ logoClassName,
4702
4705
  className,
4703
4706
  cardClassName,
4704
4707
  gridClassName,
@@ -4717,7 +4720,8 @@ function FooterBackgroundCard({
4717
4720
  copyrightClassName,
4718
4721
  bottomLinksClassName,
4719
4722
  background,
4720
- spacing,
4723
+ containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
4724
+ spacing = "py-6 md:py-32",
4721
4725
  pattern,
4722
4726
  patternOpacity,
4723
4727
  optixFlowConfig
@@ -4735,79 +4739,174 @@ function FooterBackgroundCard({
4735
4739
  patternOpacity,
4736
4740
  className: cn("bg-cover bg-center bg-no-repeat", className),
4737
4741
  style: sectionStyle,
4738
- children: /* @__PURE__ */ jsxs("div", { className: cn("mx-auto max-w-7xl rounded-lg p-8 shadow-lg md:p-12", cardClassName), children: [
4739
- /* @__PURE__ */ jsxs("div", { className: cn("grid grid-cols-1 gap-8 md:grid-cols-2 lg:grid-cols-4 lg:gap-12", gridClassName), children: [
4740
- (profileImage || tagline || personalMessage || ctaText) && /* @__PURE__ */ jsxs("div", { className: cn("lg:col-span-1", profileSectionClassName), children: [
4741
- (profileImage || tagline) && /* @__PURE__ */ jsxs("div", { className: "mb-4 flex items-center gap-4", children: [
4742
- profileImage && /* @__PURE__ */ jsx(
4743
- Img,
4744
- {
4745
- src: profileImage,
4746
- alt: "Profile",
4747
- className: cn("h-16 w-16 rounded-full object-cover", profileImageClassName),
4748
- optixFlowConfig
4749
- }
4750
- ),
4751
- tagline && /* @__PURE__ */ jsx("h3", { className: cn("text-2xl font-medium", taglineClassName), children: tagline })
4752
- ] }),
4753
- personalMessage && /* @__PURE__ */ jsx("p", { className: cn("mb-6 text-sm leading-relaxed opacity-80", messageClassName), children: personalMessage }),
4754
- ctaText && /* @__PURE__ */ jsx(
4755
- Pressable,
4756
- {
4757
- href: ctaUrl || "#",
4758
- 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),
4759
- children: ctaText
4760
- }
4761
- )
4762
- ] }),
4763
- menuItems && menuItems.length > 0 && menuItems.map((menu, idx) => /* @__PURE__ */ jsxs("div", { className: cn(menuSectionClassName), children: [
4764
- /* @__PURE__ */ jsx("h3", { className: cn("mb-4 text-sm font-medium tracking-wider uppercase", menuTitleClassName), children: menu.title }),
4765
- /* @__PURE__ */ jsx("ul", { className: "space-y-3", children: menu.links.map((link, index) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
4766
- 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",
4767
4753
  {
4768
- href: link.url,
4769
- className: cn("border-b border-transparent opacity-80 transition-all duration-300 ease-in-out hover:opacity-100", menuLinkClassName),
4770
- children: link.text
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
+ ]
4771
4864
  }
4772
- ) }, index)) })
4773
- ] }, idx)),
4774
- (contactTitle || contact) && /* @__PURE__ */ jsxs("div", { className: cn(contactSectionClassName), children: [
4775
- contactTitle && /* @__PURE__ */ jsx("h3", { className: cn("mb-4 text-sm font-medium tracking-wider uppercase", contactTitleClassName), children: contactTitle }),
4776
- contact && /* @__PURE__ */ jsxs("ul", { className: "space-y-3", children: [
4777
- contact.phone && /* @__PURE__ */ jsx("li", { className: cn("opacity-80", contactItemClassName), children: contact.phone }),
4778
- contact.email && /* @__PURE__ */ jsx("li", { className: cn("opacity-80", contactItemClassName), children: contact.email }),
4779
- (contact.location || contact.timezone) && /* @__PURE__ */ jsxs("li", { className: cn("opacity-80", contactItemClassName), children: [
4780
- contact.location,
4781
- contact.location && contact.timezone && " \u2022 ",
4782
- contact.timezone
4783
- ] })
4784
- ] })
4785
- ] })
4786
- ] }),
4787
- /* @__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: [
4788
- /* @__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: [
4789
- /* @__PURE__ */ jsx(FooterCopyright, { copyright }),
4790
- /* @__PURE__ */ jsx(
4791
- BrandAttribution,
4865
+ ),
4866
+ /* @__PURE__ */ jsxs(
4867
+ "div",
4792
4868
  {
4793
- internalBrandSlug: "open_site_ai",
4794
- optionIndex: 3,
4795
- variant: "span",
4796
- linkClassName: "hover:opacity-100"
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
+ ]
4797
4905
  }
4798
4906
  )
4799
- ] }),
4800
- bottomLinks && bottomLinks.length > 0 && /* @__PURE__ */ jsx("div", { className: cn("flex gap-4", bottomLinksClassName), children: bottomLinks.map((link, idx) => /* @__PURE__ */ jsx(
4801
- Pressable,
4802
- {
4803
- href: link.url,
4804
- className: "text-sm opacity-80 transition-colors hover:opacity-100",
4805
- children: link.text
4806
- },
4807
- idx
4808
- )) })
4809
- ] })
4810
- ] })
4907
+ ]
4908
+ }
4909
+ )
4811
4910
  }
4812
4911
  );
4813
4912
  }
@@ -4948,7 +5047,16 @@ function FooterAnimatedSocial({
4948
5047
  "flex flex-row md:flex-col flex-wrap items-center justify-center gap-4 md:gap-2",
4949
5048
  rightColumnClassName
4950
5049
  ),
4951
- children: /* @__PURE__ */ jsx(motion.div, { variants: itemVariants, children: /* @__PURE__ */ jsx("div", { className: cn("flex flex-row md:flex-col items-center gap-4 md:gap-6", socialLinksClassName), children: socialLinksContent }) })
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
+ ) })
4952
5060
  }
4953
5061
  )
4954
5062
  ]
@@ -5456,6 +5564,7 @@ function FooterNavSocial({
5456
5564
  gridClassName,
5457
5565
  leftColumnClassName,
5458
5566
  logoWrapperClassName,
5567
+ formConfig,
5459
5568
  logoClassName,
5460
5569
  navGridClassName,
5461
5570
  navSectionClassName,
@@ -5476,7 +5585,8 @@ function FooterNavSocial({
5476
5585
  legalLinksClassName,
5477
5586
  legalLinkClassName,
5478
5587
  background,
5479
- spacing,
5588
+ containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
5589
+ spacing = "py-12 md:py-40",
5480
5590
  pattern,
5481
5591
  patternOpacity,
5482
5592
  optixFlowConfig
@@ -5485,16 +5595,15 @@ function FooterNavSocial({
5485
5595
  if (!sections || sections.length === 0) return null;
5486
5596
  return sections.map((section, sectionIdx) => /* @__PURE__ */ jsxs("div", { className: cn(navSectionClassName), children: [
5487
5597
  /* @__PURE__ */ jsx("h3", { className: cn("mb-4 font-semibold", navTitleClassName), children: section.title }),
5488
- /* @__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(
5489
- Pressable,
5490
- {
5491
- href: link.href,
5492
- className: "hover:opacity-100",
5493
- children: link.name
5494
- }
5495
- ) }, 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)) })
5496
5599
  ] }, sectionIdx));
5497
- }, [sections, navSectionClassName, navTitleClassName, navLinksClassName, navLinkClassName]);
5600
+ }, [
5601
+ sections,
5602
+ navSectionClassName,
5603
+ navTitleClassName,
5604
+ navLinksClassName,
5605
+ navLinkClassName
5606
+ ]);
5498
5607
  const socialLinksContent = useMemo(() => {
5499
5608
  if (!socialLinks || socialLinks.length === 0) return null;
5500
5609
  return socialLinks.map((social, idx) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
@@ -5503,7 +5612,10 @@ function FooterNavSocial({
5503
5612
  href: social.href,
5504
5613
  label: social.label,
5505
5614
  iconNameOverride: social.iconNameOverride,
5506
- className: cn("opacity-80 transition-colors hover:opacity-100", socialLinkClassName)
5615
+ className: cn(
5616
+ "opacity-80 transition-colors hover:opacity-100",
5617
+ socialLinkClassName
5618
+ )
5507
5619
  }
5508
5620
  ) }, idx));
5509
5621
  }, [socialLinks, socialLinkClassName]);
@@ -5519,64 +5631,155 @@ function FooterNavSocial({
5519
5631
  pattern,
5520
5632
  patternOpacity,
5521
5633
  className: cn(className),
5634
+ containerClassName,
5522
5635
  children: /* @__PURE__ */ jsx("div", { className: cn(contentClassName), children: /* @__PURE__ */ jsxs("footer", { children: [
5523
- /* @__PURE__ */ jsxs("div", { className: cn("grid gap-10 lg:grid-cols-2", gridClassName), children: [
5524
- /* @__PURE__ */ jsxs("div", { className: cn(leftColumnClassName), children: [
5525
- logo && /* @__PURE__ */ jsx(
5526
- FooterLogo,
5527
- {
5528
- logo,
5529
- logoClassName: cn("mb-8", logoWrapperClassName),
5530
- logoImageClassName: logoClassName,
5531
- optixFlowConfig
5532
- }
5636
+ /* @__PURE__ */ jsxs(
5637
+ "div",
5638
+ {
5639
+ className: cn(
5640
+ "grid gap-12 md:gap-24 lg:grid-cols-2",
5641
+ gridClassName
5533
5642
  ),
5534
- /* @__PURE__ */ jsx("div", { className: cn("grid gap-8 sm:grid-cols-3", navGridClassName), children: sectionsContent })
5535
- ] }),
5536
- /* @__PURE__ */ jsxs("div", { className: cn("flex flex-col justify-between", rightColumnClassName), children: [
5537
- (newsletterHeading || newsletterDescription) && /* @__PURE__ */ jsxs("div", { className: cn("mb-8", newsletterClassName), children: [
5538
- newsletterHeading && /* @__PURE__ */ jsx("h3", { className: cn("mb-2 text-lg font-semibold", newsletterHeadingClassName), children: newsletterHeading }),
5539
- newsletterDescription && /* @__PURE__ */ jsx("p", { className: cn("mb-4 text-sm opacity-80", newsletterDescriptionClassName), children: newsletterDescription }),
5540
- /* @__PURE__ */ jsxs("div", { className: cn("flex max-w-md gap-2", newsletterFormClassName), children: [
5541
- /* @__PURE__ */ jsx(
5542
- "input",
5643
+ children: [
5644
+ /* @__PURE__ */ jsxs("div", { className: cn(leftColumnClassName), children: [
5645
+ logo && /* @__PURE__ */ jsx(
5646
+ FooterLogo,
5543
5647
  {
5544
- type: "email",
5545
- placeholder: newsletterPlaceholder,
5546
- 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"
5648
+ logo,
5649
+ logoClassName: cn("mb-8", logoWrapperClassName),
5650
+ logoImageClassName: logoClassName,
5651
+ optixFlowConfig
5547
5652
  }
5548
5653
  ),
5549
- newsletterButtonText && /* @__PURE__ */ jsx(
5550
- "button",
5654
+ /* @__PURE__ */ jsx(
5655
+ "div",
5551
5656
  {
5552
- type: "submit",
5553
- 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",
5554
- children: newsletterButtonText
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
5555
5662
  }
5556
5663
  )
5557
- ] })
5558
- ] }),
5559
- (socialTitle || socialLinksContent) && /* @__PURE__ */ jsxs("div", { className: cn(socialSectionClassName), children: [
5560
- socialTitle && /* @__PURE__ */ jsx("p", { className: cn("mb-4 font-medium", socialTitleClassName), children: socialTitle }),
5561
- /* @__PURE__ */ jsx("ul", { className: cn("flex items-center gap-4", socialLinksClassName), children: socialLinksContent })
5562
- ] })
5563
- ] })
5564
- ] }),
5565
- /* @__PURE__ */ jsxs("div", { className: cn("mt-16 flex flex-col justify-between gap-4 border-t pt-8 text-sm opacity-80 md:flex-row md:items-center", bottomClassName), children: [
5566
- /* @__PURE__ */ jsxs("div", { className: cn("flex flex-col gap-2 md:flex-row md:items-center md:gap-4", copyrightClassName), children: [
5567
- /* @__PURE__ */ jsx(FooterCopyright, { copyright }),
5568
- /* @__PURE__ */ jsx(
5569
- BrandAttribution,
5570
- {
5571
- internalBrandSlug: "open_site_ai",
5572
- optionIndex: 1,
5573
- variant: "span",
5574
- linkClassName: "underline underline-offset-4 transition-colors hover:opacity-100"
5575
- }
5576
- )
5577
- ] }),
5578
- legalLinksContent && /* @__PURE__ */ jsx("ul", { className: cn("flex gap-4", legalLinksClassName), children: legalLinksContent })
5579
- ] })
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
+ )
5580
5783
  ] }) })
5581
5784
  }
5582
5785
  );