@opensite/ui 1.6.5 → 1.6.6

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.
@@ -37,62 +37,6 @@ var useEmblaCarousel__default = /*#__PURE__*/_interopDefault(useEmblaCarousel);
37
37
  function cn(...inputs) {
38
38
  return tailwindMerge.twMerge(clsx.clsx(inputs));
39
39
  }
40
- function getNestedCardBg(parentBg, variant = "muted", options) {
41
- const isDark = parentBg === "dark" || parentBg === "secondary" || parentBg === "primary";
42
- if (isDark) {
43
- switch (variant) {
44
- case "muted":
45
- return "bg-background";
46
- case "card":
47
- return "bg-card";
48
- case "accent":
49
- return "bg-accent";
50
- case "subtle":
51
- return "bg-background/50";
52
- }
53
- } else {
54
- switch (variant) {
55
- case "muted":
56
- return "bg-muted";
57
- case "card":
58
- return "bg-card";
59
- case "accent":
60
- return "bg-accent";
61
- case "subtle":
62
- return "bg-muted/50";
63
- }
64
- }
65
- }
66
- function getNestedCardTextColor(parentBg, options) {
67
- const isDark = parentBg === "dark" || parentBg === "secondary" || parentBg === "primary";
68
- return isDark ? "text-foreground" : "";
69
- }
70
- function getTextColor(parentBg, variant = "default", options) {
71
- const isDark = parentBg === "dark" || parentBg === "secondary" || parentBg === "primary";
72
- if (isDark) {
73
- switch (variant) {
74
- case "default":
75
- return "text-foreground";
76
- case "muted":
77
- return "text-foreground/80";
78
- case "subtle":
79
- return "text-foreground/60";
80
- case "accent":
81
- return "text-accent-foreground";
82
- }
83
- } else {
84
- switch (variant) {
85
- case "default":
86
- return "text-foreground";
87
- case "muted":
88
- return "text-muted-foreground";
89
- case "subtle":
90
- return "text-muted-foreground/70";
91
- case "accent":
92
- return "text-primary";
93
- }
94
- }
95
- }
96
40
  var CarouselContext = React__namespace.createContext(null);
97
41
  function useCarousel() {
98
42
  const context = React__namespace.useContext(CarouselContext);
@@ -602,18 +546,20 @@ function HeroTechCarousel({
602
546
  description,
603
547
  technologies,
604
548
  carouselSlot,
605
- autoplayDelay = 4e3,
549
+ autoplayDelay = 5e3,
606
550
  background,
607
- spacing,
608
551
  pattern,
609
552
  patternOpacity,
610
553
  className,
611
- containerClassName,
554
+ containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
555
+ spacing = "py-6 md:py-32",
612
556
  headingClassName,
613
557
  descriptionClassName,
614
558
  optixFlowConfig
615
559
  }) {
616
- const plugin = React.useRef(Autoplay__default.default({ delay: autoplayDelay, stopOnInteraction: false }));
560
+ const plugin = React.useRef(
561
+ Autoplay__default.default({ delay: autoplayDelay, stopOnInteraction: false })
562
+ );
617
563
  const [api, setApi] = React.useState();
618
564
  const [current, setCurrent] = React.useState(0);
619
565
  const [fadeIn, setFadeIn] = React.useState(true);
@@ -661,12 +607,12 @@ function HeroTechCarousel({
661
607
  "div",
662
608
  {
663
609
  className: cn(
664
- "flex cursor-pointer items-center justify-center gap-2 rounded-md border p-6",
610
+ "flex cursor-pointer items-center justify-center gap-2 rounded-md border px-4 py-2",
665
611
  idx === current ? "border-input" : "border-transparent"
666
612
  ),
667
613
  onClick: () => selectTechnology(idx),
668
614
  children: [
669
- /* @__PURE__ */ jsxRuntime.jsx(
615
+ technology.logo && /* @__PURE__ */ jsxRuntime.jsx(
670
616
  img.Img,
671
617
  {
672
618
  className: "h-4 shrink-0 md:h-7",
@@ -675,7 +621,7 @@ function HeroTechCarousel({
675
621
  optixFlowConfig
676
622
  }
677
623
  ),
678
- /* @__PURE__ */ jsxRuntime.jsx("p", { children: technology.name })
624
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-nowrap", children: technology.name })
679
625
  ]
680
626
  }
681
627
  )
@@ -684,7 +630,15 @@ function HeroTechCarousel({
684
630
  )) })
685
631
  }
686
632
  );
687
- }, [carouselSlot, technologies, setApi, plugin, current, selectTechnology, optixFlowConfig]);
633
+ }, [
634
+ carouselSlot,
635
+ technologies,
636
+ setApi,
637
+ plugin,
638
+ current,
639
+ selectTechnology,
640
+ optixFlowConfig
641
+ ]);
688
642
  return /* @__PURE__ */ jsxRuntime.jsx(
689
643
  Section,
690
644
  {
@@ -692,36 +646,77 @@ function HeroTechCarousel({
692
646
  spacing,
693
647
  pattern,
694
648
  patternOpacity,
695
- className: cn(className),
696
- children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("container", containerClassName), children: [
649
+ className,
650
+ containerClassName,
651
+ children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative", children: [
697
652
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col justify-center", children: [
698
- heading && (typeof heading === "string" ? /* @__PURE__ */ jsxRuntime.jsx("h1", { className: cn("mx-auto mb-4 max-w-2xl text-center text-4xl font-bold md:text-6xl", headingClassName), children: heading }) : /* @__PURE__ */ jsxRuntime.jsx("h1", { className: cn("mx-auto mb-4 max-w-2xl text-center text-4xl font-bold md:text-6xl", headingClassName), children: heading })),
699
- description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("mx-auto mt-4 max-w-xl text-center text-lg", getTextColor(background, "muted"), descriptionClassName), children: description }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: descriptionClassName, children: description })),
700
- technologies && technologies.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn(
701
- "mx-auto mt-8 mb-12 flex h-[60px] w-fit items-center gap-2 rounded-md px-4 py-2 text-center",
702
- getNestedCardBg(background),
703
- getNestedCardTextColor(background)
704
- ), children: /* @__PURE__ */ jsxRuntime.jsxs(
653
+ heading && (typeof heading === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
654
+ "h1",
655
+ {
656
+ className: cn(
657
+ "mx-auto mb-4 max-w-2xl text-center text-4xl font-bold md:text-6xl text-balance",
658
+ headingClassName
659
+ ),
660
+ children: heading
661
+ }
662
+ ) : /* @__PURE__ */ jsxRuntime.jsx(
663
+ "h1",
664
+ {
665
+ className: cn(
666
+ "mx-auto mb-4 max-w-2xl text-center text-4xl font-bold md:text-6xl text-balance",
667
+ headingClassName
668
+ ),
669
+ children: heading
670
+ }
671
+ )),
672
+ description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
673
+ "p",
674
+ {
675
+ className: cn(
676
+ "mx-auto mt-4 max-w-xl text-center text-lg text-balance",
677
+ descriptionClassName
678
+ ),
679
+ children: description
680
+ }
681
+ ) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: descriptionClassName, children: description })),
682
+ technologies && technologies.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(
705
683
  "div",
706
684
  {
707
685
  className: cn(
708
- "flex items-center gap-2 transition-opacity duration-300",
709
- fadeIn ? "opacity-100" : "opacity-0"
686
+ "mx-auto bg-muted mt-8 mb-12 flex h-[60px] w-fit items-center gap-2 rounded-md px-4 py-2 text-center"
710
687
  ),
711
- children: [
712
- /* @__PURE__ */ jsxRuntime.jsx(
713
- img.Img,
714
- {
715
- src: technologies[current]?.logo,
716
- alt: technologies[current]?.name,
717
- className: "h-4 md:h-7",
718
- optixFlowConfig
719
- }
720
- ),
721
- /* @__PURE__ */ jsxRuntime.jsx("p", { className: "border-l px-2 font-mono text-sm", children: technologies[current]?.command })
722
- ]
688
+ children: /* @__PURE__ */ jsxRuntime.jsxs(
689
+ "div",
690
+ {
691
+ className: cn(
692
+ "flex items-center gap-2 transition-opacity duration-300",
693
+ fadeIn ? "opacity-100" : "opacity-0"
694
+ ),
695
+ children: [
696
+ technologies && current && technologies[current] && technologies[current].logo && /* @__PURE__ */ jsxRuntime.jsx(
697
+ img.Img,
698
+ {
699
+ src: technologies[current]?.logo,
700
+ alt: technologies[current]?.name,
701
+ className: "h-4 md:h-7",
702
+ optixFlowConfig
703
+ }
704
+ ),
705
+ /* @__PURE__ */ jsxRuntime.jsx(
706
+ "p",
707
+ {
708
+ className: cn(
709
+ "px-2 font-mono text-sm",
710
+ technologies && technologies[current] && technologies[current].logo ? "border-l" : ""
711
+ ),
712
+ children: technologies[current]?.command
713
+ }
714
+ )
715
+ ]
716
+ }
717
+ )
723
718
  }
724
- ) })
719
+ )
725
720
  ] }),
726
721
  renderCarousel
727
722
  ] })
@@ -77,6 +77,6 @@ interface HeroTechCarouselProps {
77
77
  */
78
78
  optixFlowConfig?: OptixFlowConfig;
79
79
  }
80
- declare function HeroTechCarousel({ heading, description, technologies, carouselSlot, autoplayDelay, background, spacing, pattern, patternOpacity, className, containerClassName, headingClassName, descriptionClassName, optixFlowConfig, }: HeroTechCarouselProps): React.JSX.Element;
80
+ declare function HeroTechCarousel({ heading, description, technologies, carouselSlot, autoplayDelay, background, pattern, patternOpacity, className, containerClassName, spacing, headingClassName, descriptionClassName, optixFlowConfig, }: HeroTechCarouselProps): React.JSX.Element;
81
81
 
82
82
  export { HeroTechCarousel, type HeroTechCarouselProps };
@@ -77,6 +77,6 @@ interface HeroTechCarouselProps {
77
77
  */
78
78
  optixFlowConfig?: OptixFlowConfig;
79
79
  }
80
- declare function HeroTechCarousel({ heading, description, technologies, carouselSlot, autoplayDelay, background, spacing, pattern, patternOpacity, className, containerClassName, headingClassName, descriptionClassName, optixFlowConfig, }: HeroTechCarouselProps): React.JSX.Element;
80
+ declare function HeroTechCarousel({ heading, description, technologies, carouselSlot, autoplayDelay, background, pattern, patternOpacity, className, containerClassName, spacing, headingClassName, descriptionClassName, optixFlowConfig, }: HeroTechCarouselProps): React.JSX.Element;
81
81
 
82
82
  export { HeroTechCarousel, type HeroTechCarouselProps };
@@ -12,62 +12,6 @@ import { jsx, jsxs } from 'react/jsx-runtime';
12
12
  function cn(...inputs) {
13
13
  return twMerge(clsx(inputs));
14
14
  }
15
- function getNestedCardBg(parentBg, variant = "muted", options) {
16
- const isDark = parentBg === "dark" || parentBg === "secondary" || parentBg === "primary";
17
- if (isDark) {
18
- switch (variant) {
19
- case "muted":
20
- return "bg-background";
21
- case "card":
22
- return "bg-card";
23
- case "accent":
24
- return "bg-accent";
25
- case "subtle":
26
- return "bg-background/50";
27
- }
28
- } else {
29
- switch (variant) {
30
- case "muted":
31
- return "bg-muted";
32
- case "card":
33
- return "bg-card";
34
- case "accent":
35
- return "bg-accent";
36
- case "subtle":
37
- return "bg-muted/50";
38
- }
39
- }
40
- }
41
- function getNestedCardTextColor(parentBg, options) {
42
- const isDark = parentBg === "dark" || parentBg === "secondary" || parentBg === "primary";
43
- return isDark ? "text-foreground" : "";
44
- }
45
- function getTextColor(parentBg, variant = "default", options) {
46
- const isDark = parentBg === "dark" || parentBg === "secondary" || parentBg === "primary";
47
- if (isDark) {
48
- switch (variant) {
49
- case "default":
50
- return "text-foreground";
51
- case "muted":
52
- return "text-foreground/80";
53
- case "subtle":
54
- return "text-foreground/60";
55
- case "accent":
56
- return "text-accent-foreground";
57
- }
58
- } else {
59
- switch (variant) {
60
- case "default":
61
- return "text-foreground";
62
- case "muted":
63
- return "text-muted-foreground";
64
- case "subtle":
65
- return "text-muted-foreground/70";
66
- case "accent":
67
- return "text-primary";
68
- }
69
- }
70
- }
71
15
  var CarouselContext = React.createContext(null);
72
16
  function useCarousel() {
73
17
  const context = React.useContext(CarouselContext);
@@ -577,18 +521,20 @@ function HeroTechCarousel({
577
521
  description,
578
522
  technologies,
579
523
  carouselSlot,
580
- autoplayDelay = 4e3,
524
+ autoplayDelay = 5e3,
581
525
  background,
582
- spacing,
583
526
  pattern,
584
527
  patternOpacity,
585
528
  className,
586
- containerClassName,
529
+ containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
530
+ spacing = "py-6 md:py-32",
587
531
  headingClassName,
588
532
  descriptionClassName,
589
533
  optixFlowConfig
590
534
  }) {
591
- const plugin = useRef(Autoplay({ delay: autoplayDelay, stopOnInteraction: false }));
535
+ const plugin = useRef(
536
+ Autoplay({ delay: autoplayDelay, stopOnInteraction: false })
537
+ );
592
538
  const [api, setApi] = useState();
593
539
  const [current, setCurrent] = useState(0);
594
540
  const [fadeIn, setFadeIn] = useState(true);
@@ -636,12 +582,12 @@ function HeroTechCarousel({
636
582
  "div",
637
583
  {
638
584
  className: cn(
639
- "flex cursor-pointer items-center justify-center gap-2 rounded-md border p-6",
585
+ "flex cursor-pointer items-center justify-center gap-2 rounded-md border px-4 py-2",
640
586
  idx === current ? "border-input" : "border-transparent"
641
587
  ),
642
588
  onClick: () => selectTechnology(idx),
643
589
  children: [
644
- /* @__PURE__ */ jsx(
590
+ technology.logo && /* @__PURE__ */ jsx(
645
591
  Img,
646
592
  {
647
593
  className: "h-4 shrink-0 md:h-7",
@@ -650,7 +596,7 @@ function HeroTechCarousel({
650
596
  optixFlowConfig
651
597
  }
652
598
  ),
653
- /* @__PURE__ */ jsx("p", { children: technology.name })
599
+ /* @__PURE__ */ jsx("p", { className: "text-nowrap", children: technology.name })
654
600
  ]
655
601
  }
656
602
  )
@@ -659,7 +605,15 @@ function HeroTechCarousel({
659
605
  )) })
660
606
  }
661
607
  );
662
- }, [carouselSlot, technologies, setApi, plugin, current, selectTechnology, optixFlowConfig]);
608
+ }, [
609
+ carouselSlot,
610
+ technologies,
611
+ setApi,
612
+ plugin,
613
+ current,
614
+ selectTechnology,
615
+ optixFlowConfig
616
+ ]);
663
617
  return /* @__PURE__ */ jsx(
664
618
  Section,
665
619
  {
@@ -667,36 +621,77 @@ function HeroTechCarousel({
667
621
  spacing,
668
622
  pattern,
669
623
  patternOpacity,
670
- className: cn(className),
671
- children: /* @__PURE__ */ jsxs("div", { className: cn("container", containerClassName), children: [
624
+ className,
625
+ containerClassName,
626
+ children: /* @__PURE__ */ jsxs("div", { className: "relative", children: [
672
627
  /* @__PURE__ */ jsxs("div", { className: "flex flex-col justify-center", children: [
673
- heading && (typeof heading === "string" ? /* @__PURE__ */ jsx("h1", { className: cn("mx-auto mb-4 max-w-2xl text-center text-4xl font-bold md:text-6xl", headingClassName), children: heading }) : /* @__PURE__ */ jsx("h1", { className: cn("mx-auto mb-4 max-w-2xl text-center text-4xl font-bold md:text-6xl", headingClassName), children: heading })),
674
- description && (typeof description === "string" ? /* @__PURE__ */ jsx("p", { className: cn("mx-auto mt-4 max-w-xl text-center text-lg", getTextColor(background, "muted"), descriptionClassName), children: description }) : /* @__PURE__ */ jsx("div", { className: descriptionClassName, children: description })),
675
- technologies && technologies.length > 0 && /* @__PURE__ */ jsx("div", { className: cn(
676
- "mx-auto mt-8 mb-12 flex h-[60px] w-fit items-center gap-2 rounded-md px-4 py-2 text-center",
677
- getNestedCardBg(background),
678
- getNestedCardTextColor(background)
679
- ), children: /* @__PURE__ */ jsxs(
628
+ heading && (typeof heading === "string" ? /* @__PURE__ */ jsx(
629
+ "h1",
630
+ {
631
+ className: cn(
632
+ "mx-auto mb-4 max-w-2xl text-center text-4xl font-bold md:text-6xl text-balance",
633
+ headingClassName
634
+ ),
635
+ children: heading
636
+ }
637
+ ) : /* @__PURE__ */ jsx(
638
+ "h1",
639
+ {
640
+ className: cn(
641
+ "mx-auto mb-4 max-w-2xl text-center text-4xl font-bold md:text-6xl text-balance",
642
+ headingClassName
643
+ ),
644
+ children: heading
645
+ }
646
+ )),
647
+ description && (typeof description === "string" ? /* @__PURE__ */ jsx(
648
+ "p",
649
+ {
650
+ className: cn(
651
+ "mx-auto mt-4 max-w-xl text-center text-lg text-balance",
652
+ descriptionClassName
653
+ ),
654
+ children: description
655
+ }
656
+ ) : /* @__PURE__ */ jsx("div", { className: descriptionClassName, children: description })),
657
+ technologies && technologies.length > 0 && /* @__PURE__ */ jsx(
680
658
  "div",
681
659
  {
682
660
  className: cn(
683
- "flex items-center gap-2 transition-opacity duration-300",
684
- fadeIn ? "opacity-100" : "opacity-0"
661
+ "mx-auto bg-muted mt-8 mb-12 flex h-[60px] w-fit items-center gap-2 rounded-md px-4 py-2 text-center"
685
662
  ),
686
- children: [
687
- /* @__PURE__ */ jsx(
688
- Img,
689
- {
690
- src: technologies[current]?.logo,
691
- alt: technologies[current]?.name,
692
- className: "h-4 md:h-7",
693
- optixFlowConfig
694
- }
695
- ),
696
- /* @__PURE__ */ jsx("p", { className: "border-l px-2 font-mono text-sm", children: technologies[current]?.command })
697
- ]
663
+ children: /* @__PURE__ */ jsxs(
664
+ "div",
665
+ {
666
+ className: cn(
667
+ "flex items-center gap-2 transition-opacity duration-300",
668
+ fadeIn ? "opacity-100" : "opacity-0"
669
+ ),
670
+ children: [
671
+ technologies && current && technologies[current] && technologies[current].logo && /* @__PURE__ */ jsx(
672
+ Img,
673
+ {
674
+ src: technologies[current]?.logo,
675
+ alt: technologies[current]?.name,
676
+ className: "h-4 md:h-7",
677
+ optixFlowConfig
678
+ }
679
+ ),
680
+ /* @__PURE__ */ jsx(
681
+ "p",
682
+ {
683
+ className: cn(
684
+ "px-2 font-mono text-sm",
685
+ technologies && technologies[current] && technologies[current].logo ? "border-l" : ""
686
+ ),
687
+ children: technologies[current]?.command
688
+ }
689
+ )
690
+ ]
691
+ }
692
+ )
698
693
  }
699
- ) })
694
+ )
700
695
  ] }),
701
696
  renderCarousel
702
697
  ] })
@@ -1153,11 +1153,21 @@ function LinkPageNewsletterSocial({
1153
1153
  }
1154
1154
  });
1155
1155
  const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
1156
- const resolvedSubmitAction = submitAction ?? {
1157
- label: buttonText,
1158
- variant: "default",
1159
- size: "lg"
1160
- };
1156
+ const resolvedSubmitAction = React.useMemo(() => {
1157
+ if (submitAction) {
1158
+ return {
1159
+ ...submitAction,
1160
+ label: buttonText || submitAction?.label || "Submit",
1161
+ variant: submitAction?.variant || "default",
1162
+ size: submitAction?.size || "lg"
1163
+ };
1164
+ }
1165
+ return {
1166
+ label: buttonText || "Submit",
1167
+ variant: "default",
1168
+ size: "lg"
1169
+ };
1170
+ }, [submitAction, buttonText]);
1161
1171
  const resolvedChevronIcon = linkChevronIcon ?? /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/chevron-right", size: 16 });
1162
1172
  const renderProfile = React.useMemo(() => {
1163
1173
  if (profileSlot) return profileSlot;
@@ -1315,7 +1325,7 @@ function LinkPageNewsletterSocial({
1315
1325
  {
1316
1326
  className: cn(
1317
1327
  "space-y-4 rounded-2xl p-6",
1318
- "border border-border bg-card shadow-sm",
1328
+ "border border-border bg-card text-card-foreground shadow-sm",
1319
1329
  newsletterCardClassName
1320
1330
  ),
1321
1331
  children: [
@@ -1402,7 +1412,7 @@ function LinkPageNewsletterSocial({
1402
1412
  className: cn(
1403
1413
  "flex w-full bg-card text-card-foreground items-center gap-3 rounded-xl px-4 py-3 transition-all duration-200",
1404
1414
  "hover:scale-[1.02] active:scale-[0.98]",
1405
- "border border-border bg-card hover:opacity-80",
1415
+ "border border-border hover:opacity-80",
1406
1416
  linkClassName,
1407
1417
  linkItemClassName
1408
1418
  ),
@@ -1132,11 +1132,21 @@ function LinkPageNewsletterSocial({
1132
1132
  }
1133
1133
  });
1134
1134
  const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
1135
- const resolvedSubmitAction = submitAction ?? {
1136
- label: buttonText,
1137
- variant: "default",
1138
- size: "lg"
1139
- };
1135
+ const resolvedSubmitAction = useMemo(() => {
1136
+ if (submitAction) {
1137
+ return {
1138
+ ...submitAction,
1139
+ label: buttonText || submitAction?.label || "Submit",
1140
+ variant: submitAction?.variant || "default",
1141
+ size: submitAction?.size || "lg"
1142
+ };
1143
+ }
1144
+ return {
1145
+ label: buttonText || "Submit",
1146
+ variant: "default",
1147
+ size: "lg"
1148
+ };
1149
+ }, [submitAction, buttonText]);
1140
1150
  const resolvedChevronIcon = linkChevronIcon ?? /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/chevron-right", size: 16 });
1141
1151
  const renderProfile = useMemo(() => {
1142
1152
  if (profileSlot) return profileSlot;
@@ -1294,7 +1304,7 @@ function LinkPageNewsletterSocial({
1294
1304
  {
1295
1305
  className: cn(
1296
1306
  "space-y-4 rounded-2xl p-6",
1297
- "border border-border bg-card shadow-sm",
1307
+ "border border-border bg-card text-card-foreground shadow-sm",
1298
1308
  newsletterCardClassName
1299
1309
  ),
1300
1310
  children: [
@@ -1381,7 +1391,7 @@ function LinkPageNewsletterSocial({
1381
1391
  className: cn(
1382
1392
  "flex w-full bg-card text-card-foreground items-center gap-3 rounded-xl px-4 py-3 transition-all duration-200",
1383
1393
  "hover:scale-[1.02] active:scale-[0.98]",
1384
- "border border-border bg-card hover:opacity-80",
1394
+ "border border-border hover:opacity-80",
1385
1395
  linkClassName,
1386
1396
  linkItemClassName
1387
1397
  ),
@@ -1459,22 +1459,13 @@ function LinkTreeBlock({
1459
1459
  patternClassName,
1460
1460
  containerClassName,
1461
1461
  children: [
1462
- /* @__PURE__ */ jsxRuntime.jsx(
1463
- "div",
1464
- {
1465
- className: cn(
1466
- "flex min-h-screen w-full items-start justify-center py-12",
1467
- containerClassName
1468
- ),
1469
- children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("w-full max-w-md space-y-6", contentClassName), children: [
1470
- renderBrandHeader,
1471
- renderLinks,
1472
- renderMediaGallery,
1473
- renderSocialLinks,
1474
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "pt-4", children: renderFooter })
1475
- ] })
1476
- }
1477
- ),
1462
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex min-h-screen w-full items-start justify-center py-12", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("w-full max-w-md space-y-6", contentClassName), children: [
1463
+ renderBrandHeader,
1464
+ renderLinks,
1465
+ renderMediaGallery,
1466
+ renderSocialLinks,
1467
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "pt-4", children: renderFooter })
1468
+ ] }) }),
1478
1469
  lightboxOpen && lightboxItems.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(
1479
1470
  lightbox.Lightbox,
1480
1471
  {
@@ -1438,22 +1438,13 @@ function LinkTreeBlock({
1438
1438
  patternClassName,
1439
1439
  containerClassName,
1440
1440
  children: [
1441
- /* @__PURE__ */ jsx(
1442
- "div",
1443
- {
1444
- className: cn(
1445
- "flex min-h-screen w-full items-start justify-center py-12",
1446
- containerClassName
1447
- ),
1448
- children: /* @__PURE__ */ jsxs("div", { className: cn("w-full max-w-md space-y-6", contentClassName), children: [
1449
- renderBrandHeader,
1450
- renderLinks,
1451
- renderMediaGallery,
1452
- renderSocialLinks,
1453
- /* @__PURE__ */ jsx("div", { className: "pt-4", children: renderFooter })
1454
- ] })
1455
- }
1456
- ),
1441
+ /* @__PURE__ */ jsx("div", { className: "flex min-h-screen w-full items-start justify-center py-12", children: /* @__PURE__ */ jsxs("div", { className: cn("w-full max-w-md space-y-6", contentClassName), children: [
1442
+ renderBrandHeader,
1443
+ renderLinks,
1444
+ renderMediaGallery,
1445
+ renderSocialLinks,
1446
+ /* @__PURE__ */ jsx("div", { className: "pt-4", children: renderFooter })
1447
+ ] }) }),
1457
1448
  lightboxOpen && lightboxItems.length > 0 && /* @__PURE__ */ jsx(
1458
1449
  Lightbox,
1459
1450
  {