@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.
@@ -2985,6 +2985,7 @@ var FooterLogo = ({
2985
2985
  }
2986
2986
  return /* @__PURE__ */ jsx("div", { className: cn("inline-flex items-center", logoClassName), children: logoContent });
2987
2987
  };
2988
+ var footer_logo_default = FooterLogo;
2988
2989
  function FooterCopyright({
2989
2990
  copyright,
2990
2991
  className
@@ -3873,8 +3874,8 @@ function FooterSimpleCentered({
3873
3874
  bottomLinks,
3874
3875
  className,
3875
3876
  footerClassName,
3876
- containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
3877
3877
  contentClassName,
3878
+ containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
3878
3879
  spacing = "py-12 md:py-32",
3879
3880
  brandClassName,
3880
3881
  logoWrapperClassName,
@@ -4668,6 +4669,8 @@ function FooterBackgroundCard({
4668
4669
  menuItems,
4669
4670
  copyright,
4670
4671
  bottomLinks,
4672
+ logoWrapperClassName,
4673
+ logoClassName,
4671
4674
  className,
4672
4675
  cardClassName,
4673
4676
  gridClassName,
@@ -4686,7 +4689,8 @@ function FooterBackgroundCard({
4686
4689
  copyrightClassName,
4687
4690
  bottomLinksClassName,
4688
4691
  background,
4689
- spacing,
4692
+ containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
4693
+ spacing = "py-6 md:py-32",
4690
4694
  pattern,
4691
4695
  patternOpacity,
4692
4696
  optixFlowConfig
@@ -4704,79 +4708,174 @@ function FooterBackgroundCard({
4704
4708
  patternOpacity,
4705
4709
  className: cn("bg-cover bg-center bg-no-repeat", className),
4706
4710
  style: sectionStyle,
4707
- children: /* @__PURE__ */ jsxs("div", { className: cn("mx-auto max-w-7xl rounded-lg p-8 shadow-lg md:p-12", cardClassName), children: [
4708
- /* @__PURE__ */ jsxs("div", { className: cn("grid grid-cols-1 gap-8 md:grid-cols-2 lg:grid-cols-4 lg:gap-12", gridClassName), children: [
4709
- (profileImage || tagline || personalMessage || ctaText) && /* @__PURE__ */ jsxs("div", { className: cn("lg:col-span-1", profileSectionClassName), children: [
4710
- (profileImage || tagline) && /* @__PURE__ */ jsxs("div", { className: "mb-4 flex items-center gap-4", children: [
4711
- profileImage && /* @__PURE__ */ jsx(
4712
- Img,
4713
- {
4714
- src: profileImage,
4715
- alt: "Profile",
4716
- className: cn("h-16 w-16 rounded-full object-cover", profileImageClassName),
4717
- optixFlowConfig
4718
- }
4719
- ),
4720
- tagline && /* @__PURE__ */ jsx("h3", { className: cn("text-2xl font-medium", taglineClassName), children: tagline })
4721
- ] }),
4722
- personalMessage && /* @__PURE__ */ jsx("p", { className: cn("mb-6 text-sm leading-relaxed opacity-80", messageClassName), children: personalMessage }),
4723
- ctaText && /* @__PURE__ */ jsx(
4724
- Pressable,
4725
- {
4726
- href: ctaUrl || "#",
4727
- 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),
4728
- children: ctaText
4729
- }
4730
- )
4731
- ] }),
4732
- menuItems && menuItems.length > 0 && menuItems.map((menu, idx) => /* @__PURE__ */ jsxs("div", { className: cn(menuSectionClassName), children: [
4733
- /* @__PURE__ */ jsx("h3", { className: cn("mb-4 text-sm font-medium tracking-wider uppercase", menuTitleClassName), children: menu.title }),
4734
- /* @__PURE__ */ jsx("ul", { className: "space-y-3", children: menu.links.map((link, index) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
4735
- 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",
4736
4722
  {
4737
- href: link.url,
4738
- className: cn("border-b border-transparent opacity-80 transition-all duration-300 ease-in-out hover:opacity-100", menuLinkClassName),
4739
- children: link.text
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
+ ]
4740
4833
  }
4741
- ) }, index)) })
4742
- ] }, idx)),
4743
- (contactTitle || contact) && /* @__PURE__ */ jsxs("div", { className: cn(contactSectionClassName), children: [
4744
- contactTitle && /* @__PURE__ */ jsx("h3", { className: cn("mb-4 text-sm font-medium tracking-wider uppercase", contactTitleClassName), children: contactTitle }),
4745
- contact && /* @__PURE__ */ jsxs("ul", { className: "space-y-3", children: [
4746
- contact.phone && /* @__PURE__ */ jsx("li", { className: cn("opacity-80", contactItemClassName), children: contact.phone }),
4747
- contact.email && /* @__PURE__ */ jsx("li", { className: cn("opacity-80", contactItemClassName), children: contact.email }),
4748
- (contact.location || contact.timezone) && /* @__PURE__ */ jsxs("li", { className: cn("opacity-80", contactItemClassName), children: [
4749
- contact.location,
4750
- contact.location && contact.timezone && " \u2022 ",
4751
- contact.timezone
4752
- ] })
4753
- ] })
4754
- ] })
4755
- ] }),
4756
- /* @__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: [
4757
- /* @__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: [
4758
- /* @__PURE__ */ jsx(FooterCopyright, { copyright }),
4759
- /* @__PURE__ */ jsx(
4760
- BrandAttribution,
4834
+ ),
4835
+ /* @__PURE__ */ jsxs(
4836
+ "div",
4761
4837
  {
4762
- internalBrandSlug: "open_site_ai",
4763
- optionIndex: 3,
4764
- variant: "span",
4765
- linkClassName: "hover:opacity-100"
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
+ ]
4766
4874
  }
4767
4875
  )
4768
- ] }),
4769
- bottomLinks && bottomLinks.length > 0 && /* @__PURE__ */ jsx("div", { className: cn("flex gap-4", bottomLinksClassName), children: bottomLinks.map((link, idx) => /* @__PURE__ */ jsx(
4770
- Pressable,
4771
- {
4772
- href: link.url,
4773
- className: "text-sm opacity-80 transition-colors hover:opacity-100",
4774
- children: link.text
4775
- },
4776
- idx
4777
- )) })
4778
- ] })
4779
- ] })
4876
+ ]
4877
+ }
4878
+ )
4780
4879
  }
4781
4880
  );
4782
4881
  }
@@ -4917,7 +5016,16 @@ function FooterAnimatedSocial({
4917
5016
  "flex flex-row md:flex-col flex-wrap items-center justify-center gap-4 md:gap-2",
4918
5017
  rightColumnClassName
4919
5018
  ),
4920
- 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 }) })
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
+ ) })
4921
5029
  }
4922
5030
  )
4923
5031
  ]
@@ -5425,6 +5533,7 @@ function FooterNavSocial({
5425
5533
  gridClassName,
5426
5534
  leftColumnClassName,
5427
5535
  logoWrapperClassName,
5536
+ formConfig,
5428
5537
  logoClassName,
5429
5538
  navGridClassName,
5430
5539
  navSectionClassName,
@@ -5445,7 +5554,8 @@ function FooterNavSocial({
5445
5554
  legalLinksClassName,
5446
5555
  legalLinkClassName,
5447
5556
  background,
5448
- spacing,
5557
+ containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
5558
+ spacing = "py-12 md:py-40",
5449
5559
  pattern,
5450
5560
  patternOpacity,
5451
5561
  optixFlowConfig
@@ -5454,16 +5564,15 @@ function FooterNavSocial({
5454
5564
  if (!sections || sections.length === 0) return null;
5455
5565
  return sections.map((section, sectionIdx) => /* @__PURE__ */ jsxs("div", { className: cn(navSectionClassName), children: [
5456
5566
  /* @__PURE__ */ jsx("h3", { className: cn("mb-4 font-semibold", navTitleClassName), children: section.title }),
5457
- /* @__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(
5458
- Pressable,
5459
- {
5460
- href: link.href,
5461
- className: "hover:opacity-100",
5462
- children: link.name
5463
- }
5464
- ) }, 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)) })
5465
5568
  ] }, sectionIdx));
5466
- }, [sections, navSectionClassName, navTitleClassName, navLinksClassName, navLinkClassName]);
5569
+ }, [
5570
+ sections,
5571
+ navSectionClassName,
5572
+ navTitleClassName,
5573
+ navLinksClassName,
5574
+ navLinkClassName
5575
+ ]);
5467
5576
  const socialLinksContent = useMemo(() => {
5468
5577
  if (!socialLinks || socialLinks.length === 0) return null;
5469
5578
  return socialLinks.map((social, idx) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
@@ -5472,7 +5581,10 @@ function FooterNavSocial({
5472
5581
  href: social.href,
5473
5582
  label: social.label,
5474
5583
  iconNameOverride: social.iconNameOverride,
5475
- className: cn("opacity-80 transition-colors hover:opacity-100", socialLinkClassName)
5584
+ className: cn(
5585
+ "opacity-80 transition-colors hover:opacity-100",
5586
+ socialLinkClassName
5587
+ )
5476
5588
  }
5477
5589
  ) }, idx));
5478
5590
  }, [socialLinks, socialLinkClassName]);
@@ -5488,64 +5600,155 @@ function FooterNavSocial({
5488
5600
  pattern,
5489
5601
  patternOpacity,
5490
5602
  className: cn(className),
5603
+ containerClassName,
5491
5604
  children: /* @__PURE__ */ jsx("div", { className: cn(contentClassName), children: /* @__PURE__ */ jsxs("footer", { children: [
5492
- /* @__PURE__ */ jsxs("div", { className: cn("grid gap-10 lg:grid-cols-2", gridClassName), children: [
5493
- /* @__PURE__ */ jsxs("div", { className: cn(leftColumnClassName), children: [
5494
- logo && /* @__PURE__ */ jsx(
5495
- FooterLogo,
5496
- {
5497
- logo,
5498
- logoClassName: cn("mb-8", logoWrapperClassName),
5499
- logoImageClassName: logoClassName,
5500
- optixFlowConfig
5501
- }
5605
+ /* @__PURE__ */ jsxs(
5606
+ "div",
5607
+ {
5608
+ className: cn(
5609
+ "grid gap-12 md:gap-24 lg:grid-cols-2",
5610
+ gridClassName
5502
5611
  ),
5503
- /* @__PURE__ */ jsx("div", { className: cn("grid gap-8 sm:grid-cols-3", navGridClassName), children: sectionsContent })
5504
- ] }),
5505
- /* @__PURE__ */ jsxs("div", { className: cn("flex flex-col justify-between", rightColumnClassName), children: [
5506
- (newsletterHeading || newsletterDescription) && /* @__PURE__ */ jsxs("div", { className: cn("mb-8", newsletterClassName), children: [
5507
- newsletterHeading && /* @__PURE__ */ jsx("h3", { className: cn("mb-2 text-lg font-semibold", newsletterHeadingClassName), children: newsletterHeading }),
5508
- newsletterDescription && /* @__PURE__ */ jsx("p", { className: cn("mb-4 text-sm opacity-80", newsletterDescriptionClassName), children: newsletterDescription }),
5509
- /* @__PURE__ */ jsxs("div", { className: cn("flex max-w-md gap-2", newsletterFormClassName), children: [
5510
- /* @__PURE__ */ jsx(
5511
- "input",
5612
+ children: [
5613
+ /* @__PURE__ */ jsxs("div", { className: cn(leftColumnClassName), children: [
5614
+ logo && /* @__PURE__ */ jsx(
5615
+ FooterLogo,
5512
5616
  {
5513
- type: "email",
5514
- placeholder: newsletterPlaceholder,
5515
- 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"
5617
+ logo,
5618
+ logoClassName: cn("mb-8", logoWrapperClassName),
5619
+ logoImageClassName: logoClassName,
5620
+ optixFlowConfig
5516
5621
  }
5517
5622
  ),
5518
- newsletterButtonText && /* @__PURE__ */ jsx(
5519
- "button",
5623
+ /* @__PURE__ */ jsx(
5624
+ "div",
5520
5625
  {
5521
- type: "submit",
5522
- 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",
5523
- children: newsletterButtonText
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
5524
5631
  }
5525
5632
  )
5526
- ] })
5527
- ] }),
5528
- (socialTitle || socialLinksContent) && /* @__PURE__ */ jsxs("div", { className: cn(socialSectionClassName), children: [
5529
- socialTitle && /* @__PURE__ */ jsx("p", { className: cn("mb-4 font-medium", socialTitleClassName), children: socialTitle }),
5530
- /* @__PURE__ */ jsx("ul", { className: cn("flex items-center gap-4", socialLinksClassName), children: socialLinksContent })
5531
- ] })
5532
- ] })
5533
- ] }),
5534
- /* @__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: [
5535
- /* @__PURE__ */ jsxs("div", { className: cn("flex flex-col gap-2 md:flex-row md:items-center md:gap-4", copyrightClassName), children: [
5536
- /* @__PURE__ */ jsx(FooterCopyright, { copyright }),
5537
- /* @__PURE__ */ jsx(
5538
- BrandAttribution,
5539
- {
5540
- internalBrandSlug: "open_site_ai",
5541
- optionIndex: 1,
5542
- variant: "span",
5543
- linkClassName: "underline underline-offset-4 transition-colors hover:opacity-100"
5544
- }
5545
- )
5546
- ] }),
5547
- legalLinksContent && /* @__PURE__ */ jsx("ul", { className: cn("flex gap-4", legalLinksClassName), children: legalLinksContent })
5548
- ] })
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
+ )
5549
5752
  ] }) })
5550
5753
  }
5551
5754
  );
@@ -1681,7 +1681,16 @@ function FooterAnimatedSocial({
1681
1681
  "flex flex-row md:flex-col flex-wrap items-center justify-center gap-4 md:gap-2",
1682
1682
  rightColumnClassName
1683
1683
  ),
1684
- children: /* @__PURE__ */ jsxRuntime.jsx(framerMotion.motion.div, { variants: itemVariants, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("flex flex-row md:flex-col items-center gap-4 md:gap-6", socialLinksClassName), children: socialLinksContent }) })
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
+ ) })
1685
1694
  }
1686
1695
  )
1687
1696
  ]
@@ -1660,7 +1660,16 @@ function FooterAnimatedSocial({
1660
1660
  "flex flex-row md:flex-col flex-wrap items-center justify-center gap-4 md:gap-2",
1661
1661
  rightColumnClassName
1662
1662
  ),
1663
- 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 }) })
1663
+ children: /* @__PURE__ */ jsx(motion.div, { variants: itemVariants, children: /* @__PURE__ */ jsx(
1664
+ "div",
1665
+ {
1666
+ className: cn(
1667
+ "flex flex-row md:flex-col items-center gap-4 md:gap-6",
1668
+ socialLinksClassName
1669
+ ),
1670
+ children: socialLinksContent
1671
+ }
1672
+ ) })
1664
1673
  }
1665
1674
  )
1666
1675
  ]