@snow-labs/brutal-ui 0.1.1 → 0.2.1

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.
Files changed (116) hide show
  1. package/dist/components/brutal/cta-section.d.ts +7 -2
  2. package/dist/components/brutal/cta-section.js +136 -32
  3. package/dist/components/brutal/cta-section.js.map +1 -1
  4. package/dist/components/brutal/faq.d.ts +16 -0
  5. package/dist/components/brutal/faq.js +163 -0
  6. package/dist/components/brutal/faq.js.map +1 -0
  7. package/dist/components/brutal/feature-grid.d.ts +6 -2
  8. package/dist/components/brutal/feature-grid.js +73 -10
  9. package/dist/components/brutal/feature-grid.js.map +1 -1
  10. package/dist/components/brutal/footer.d.ts +14 -1
  11. package/dist/components/brutal/footer.js +181 -18
  12. package/dist/components/brutal/footer.js.map +1 -1
  13. package/dist/components/brutal/hero.d.ts +9 -2
  14. package/dist/components/brutal/hero.js +67 -22
  15. package/dist/components/brutal/hero.js.map +1 -1
  16. package/dist/components/brutal/index.d.ts +7 -2
  17. package/dist/components/brutal/index.js +1035 -128
  18. package/dist/components/brutal/index.js.map +1 -1
  19. package/dist/components/brutal/integration-grid.d.ts +1 -1
  20. package/dist/components/brutal/integration-grid.js +13 -5
  21. package/dist/components/brutal/integration-grid.js.map +1 -1
  22. package/dist/components/brutal/logo-cloud.d.ts +17 -0
  23. package/dist/components/brutal/logo-cloud.js +93 -0
  24. package/dist/components/brutal/logo-cloud.js.map +1 -0
  25. package/dist/components/brutal/nav.d.ts +3 -1
  26. package/dist/components/brutal/nav.js +166 -9
  27. package/dist/components/brutal/nav.js.map +1 -1
  28. package/dist/components/brutal/newsletter.d.ts +14 -0
  29. package/dist/components/brutal/newsletter.js +169 -0
  30. package/dist/components/brutal/newsletter.js.map +1 -0
  31. package/dist/components/brutal/pricing-table.d.ts +27 -0
  32. package/dist/components/brutal/pricing-table.js +251 -0
  33. package/dist/components/brutal/pricing-table.js.map +1 -0
  34. package/dist/components/brutal/section-divider.d.ts +14 -0
  35. package/dist/components/brutal/section-divider.js +70 -0
  36. package/dist/components/brutal/section-divider.js.map +1 -0
  37. package/dist/components/brutal/section.d.ts +7 -3
  38. package/dist/components/brutal/section.js +13 -5
  39. package/dist/components/brutal/section.js.map +1 -1
  40. package/dist/components/brutal/stats-bar.d.ts +16 -0
  41. package/dist/components/brutal/stats-bar.js +127 -0
  42. package/dist/components/brutal/stats-bar.js.map +1 -0
  43. package/dist/components/brutal/testimonials.d.ts +11 -3
  44. package/dist/components/brutal/testimonials.js +126 -33
  45. package/dist/components/brutal/testimonials.js.map +1 -1
  46. package/dist/components/brutal/wave-divider.d.ts +2 -12
  47. package/dist/components/brutal/wave-divider.js +54 -26
  48. package/dist/components/brutal/wave-divider.js.map +1 -1
  49. package/dist/components/dashboard/activity-feed.d.ts +18 -0
  50. package/dist/components/dashboard/activity-feed.js +105 -0
  51. package/dist/components/dashboard/activity-feed.js.map +1 -0
  52. package/dist/components/dashboard/app-shell.d.ts +19 -0
  53. package/dist/components/dashboard/app-shell.js +206 -0
  54. package/dist/components/dashboard/app-shell.js.map +1 -0
  55. package/dist/components/dashboard/empty-state.d.ts +14 -0
  56. package/dist/components/dashboard/empty-state.js +96 -0
  57. package/dist/components/dashboard/empty-state.js.map +1 -0
  58. package/dist/components/dashboard/file-upload.d.ts +12 -0
  59. package/dist/components/dashboard/file-upload.js +86 -0
  60. package/dist/components/dashboard/file-upload.js.map +1 -0
  61. package/dist/components/dashboard/index.d.ts +10 -0
  62. package/dist/components/dashboard/index.js +755 -0
  63. package/dist/components/dashboard/index.js.map +1 -0
  64. package/dist/components/dashboard/search-bar.d.ts +12 -0
  65. package/dist/components/dashboard/search-bar.js +49 -0
  66. package/dist/components/dashboard/search-bar.js.map +1 -0
  67. package/dist/components/dashboard/sidebar.d.ts +23 -0
  68. package/dist/components/dashboard/sidebar.js +113 -0
  69. package/dist/components/dashboard/sidebar.js.map +1 -0
  70. package/dist/components/dashboard/stat-card.d.ts +13 -0
  71. package/dist/components/dashboard/stat-card.js +55 -0
  72. package/dist/components/dashboard/stat-card.js.map +1 -0
  73. package/dist/components/dashboard/user-menu.d.ts +16 -0
  74. package/dist/components/dashboard/user-menu.js +179 -0
  75. package/dist/components/dashboard/user-menu.js.map +1 -0
  76. package/dist/components/dashboard/view-switcher.d.ts +12 -0
  77. package/dist/components/dashboard/view-switcher.js +130 -0
  78. package/dist/components/dashboard/view-switcher.js.map +1 -0
  79. package/dist/components/views/calendar-view.d.ts +17 -0
  80. package/dist/components/views/calendar-view.js +182 -0
  81. package/dist/components/views/calendar-view.js.map +1 -0
  82. package/dist/components/views/data-table.d.ts +15 -0
  83. package/dist/components/views/data-table.js +204 -0
  84. package/dist/components/views/data-table.js.map +1 -0
  85. package/dist/components/views/grid-view.d.ts +11 -0
  86. package/dist/components/views/grid-view.js +31 -0
  87. package/dist/components/views/grid-view.js.map +1 -0
  88. package/dist/components/views/index.d.ts +7 -0
  89. package/dist/components/views/index.js +542 -0
  90. package/dist/components/views/index.js.map +1 -0
  91. package/dist/components/views/kanban-board.d.ts +21 -0
  92. package/dist/components/views/kanban-board.js +153 -0
  93. package/dist/components/views/kanban-board.js.map +1 -0
  94. package/dist/components/views/list-view.d.ts +19 -0
  95. package/dist/components/views/list-view.js +96 -0
  96. package/dist/components/views/list-view.js.map +1 -0
  97. package/dist/index.d.ts +27 -3
  98. package/dist/index.js +1881 -142
  99. package/dist/index.js.map +1 -1
  100. package/dist/lib/animations.d.ts +68 -0
  101. package/dist/lib/animations.js +44 -0
  102. package/dist/lib/animations.js.map +1 -0
  103. package/dist/templates/dashboard.d.ts +40 -0
  104. package/dist/templates/dashboard.js +658 -0
  105. package/dist/templates/dashboard.js.map +1 -0
  106. package/dist/templates/index.d.ts +4 -0
  107. package/dist/templates/index.js +2001 -0
  108. package/dist/templates/index.js.map +1 -0
  109. package/dist/templates/saas-launch.d.ts +113 -0
  110. package/dist/templates/saas-launch.js +1394 -0
  111. package/dist/templates/saas-launch.js.map +1 -0
  112. package/dist/templates/studio.d.ts +72 -0
  113. package/dist/templates/studio.js +1099 -0
  114. package/dist/templates/studio.js.map +1 -0
  115. package/dist/theme.css +58 -15
  116. package/package.json +48 -2
@@ -0,0 +1,1394 @@
1
+ "use client";
2
+ import { useState, useEffect, useRef } from 'react';
3
+ import { clsx } from 'clsx';
4
+ import { twMerge } from 'tailwind-merge';
5
+ import { Button as Button$1 } from '@base-ui/react/button';
6
+ import { cva } from 'class-variance-authority';
7
+ import { jsxs, jsx } from 'react/jsx-runtime';
8
+ import { Dialog } from '@base-ui/react/dialog';
9
+ import { Menu, XIcon, ChevronDownIcon, ChevronUpIcon } from 'lucide-react';
10
+ import { mergeProps } from '@base-ui/react/merge-props';
11
+ import { useRender } from '@base-ui/react/use-render';
12
+ import { Accordion as Accordion$1 } from '@base-ui/react/accordion';
13
+ import { Input as Input$1 } from '@base-ui/react/input';
14
+
15
+ // src/components/brutal/nav.tsx
16
+ function cn(...inputs) {
17
+ return twMerge(clsx(inputs));
18
+ }
19
+ var buttonVariants = cva(
20
+ "group/button inline-flex shrink-0 items-center justify-center rounded-lg whitespace-nowrap font-bold transition-all duration-150 select-none outline-none disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
21
+ {
22
+ variants: {
23
+ variant: {
24
+ // Primary: Black bg, white text, offset shadow
25
+ default: "border-brutal border-foreground bg-primary text-primary-foreground shadow-brutal hover:-translate-x-0.5 hover:-translate-y-0.5 hover:shadow-brutal-lg active:translate-x-px active:translate-y-px active:shadow-brutal-sm",
26
+ // CTA: Mint green bg — the Bannerbear signature
27
+ cta: "border-brutal border-foreground bg-cta text-cta-foreground shadow-brutal hover:-translate-x-0.5 hover:-translate-y-0.5 hover:shadow-brutal-lg active:translate-x-px active:translate-y-px active:shadow-brutal-sm",
28
+ // Brand: Dynamic brand color bg
29
+ brand: "border-brutal border-foreground bg-brand text-brand-foreground shadow-brutal hover:-translate-x-0.5 hover:-translate-y-0.5 hover:shadow-brutal-lg active:translate-x-px active:translate-y-px active:shadow-brutal-sm",
30
+ // Outline: White bg, black border, offset shadow
31
+ outline: "border-brutal border-foreground bg-background text-foreground shadow-brutal hover:-translate-x-0.5 hover:-translate-y-0.5 hover:shadow-brutal-lg active:translate-x-px active:translate-y-px active:shadow-brutal-sm",
32
+ // Secondary: Light bg, border, smaller shadow
33
+ secondary: "border-brutal border-foreground bg-secondary text-secondary-foreground shadow-brutal-sm hover:-translate-x-0.5 hover:-translate-y-0.5 hover:shadow-brutal active:translate-x-px active:translate-y-px active:shadow-none",
34
+ // Ghost: No border/shadow, subtle hover
35
+ ghost: "hover:bg-secondary hover:text-foreground",
36
+ // Link: Text only
37
+ link: "text-foreground underline-offset-4 hover:underline",
38
+ // Destructive
39
+ destructive: "border-brutal border-destructive bg-destructive text-destructive-foreground shadow-brutal hover:-translate-x-0.5 hover:-translate-y-0.5 hover:shadow-brutal-lg active:translate-x-px active:translate-y-px active:shadow-brutal-sm",
40
+ // Nav: Thin border, no shadow (for nav Sign In buttons)
41
+ nav: "border border-foreground bg-background text-foreground hover:bg-foreground hover:text-background"
42
+ },
43
+ size: {
44
+ xs: "h-7 gap-1 px-2.5 text-xs",
45
+ sm: "h-8 gap-1.5 px-3 text-sm",
46
+ default: "h-10 gap-2 px-5 text-sm",
47
+ lg: "h-12 gap-2 px-7 text-base",
48
+ xl: "h-14 gap-2.5 px-9 text-lg",
49
+ icon: "size-10",
50
+ "icon-sm": "size-8",
51
+ "icon-lg": "size-12"
52
+ }
53
+ },
54
+ defaultVariants: {
55
+ variant: "default",
56
+ size: "default"
57
+ }
58
+ }
59
+ );
60
+ function Button({
61
+ className,
62
+ variant = "default",
63
+ size = "default",
64
+ ...props
65
+ }) {
66
+ return /* @__PURE__ */ jsx(
67
+ Button$1,
68
+ {
69
+ "data-slot": "button",
70
+ className: cn(buttonVariants({ variant, size, className })),
71
+ ...props
72
+ }
73
+ );
74
+ }
75
+ function Sheet({ ...props }) {
76
+ return /* @__PURE__ */ jsx(Dialog.Root, { "data-slot": "sheet", ...props });
77
+ }
78
+ function SheetTrigger({ ...props }) {
79
+ return /* @__PURE__ */ jsx(Dialog.Trigger, { "data-slot": "sheet-trigger", ...props });
80
+ }
81
+ function SheetPortal({ ...props }) {
82
+ return /* @__PURE__ */ jsx(Dialog.Portal, { "data-slot": "sheet-portal", ...props });
83
+ }
84
+ function SheetOverlay({ className, ...props }) {
85
+ return /* @__PURE__ */ jsx(
86
+ Dialog.Backdrop,
87
+ {
88
+ "data-slot": "sheet-overlay",
89
+ className: cn(
90
+ "fixed inset-0 z-50 bg-black/60 transition-opacity duration-150 data-ending-style:opacity-0 data-starting-style:opacity-0",
91
+ className
92
+ ),
93
+ ...props
94
+ }
95
+ );
96
+ }
97
+ function SheetContent({
98
+ className,
99
+ children,
100
+ side = "right",
101
+ showCloseButton = true,
102
+ ...props
103
+ }) {
104
+ return /* @__PURE__ */ jsxs(SheetPortal, { children: [
105
+ /* @__PURE__ */ jsx(SheetOverlay, {}),
106
+ /* @__PURE__ */ jsxs(
107
+ Dialog.Popup,
108
+ {
109
+ "data-slot": "sheet-content",
110
+ "data-side": side,
111
+ className: cn(
112
+ "fixed z-50 flex flex-col gap-4 border-brutal border-foreground bg-background bg-clip-padding text-sm shadow-brutal-lg transition duration-200 ease-in-out data-ending-style:opacity-0 data-starting-style:opacity-0 data-[side=bottom]:inset-x-0 data-[side=bottom]:bottom-0 data-[side=bottom]:h-auto data-[side=bottom]:data-ending-style:translate-y-[2.5rem] data-[side=bottom]:data-starting-style:translate-y-[2.5rem] data-[side=left]:inset-y-0 data-[side=left]:left-0 data-[side=left]:h-full data-[side=left]:w-3/4 data-[side=left]:data-ending-style:translate-x-[-2.5rem] data-[side=left]:data-starting-style:translate-x-[-2.5rem] data-[side=right]:inset-y-0 data-[side=right]:right-0 data-[side=right]:h-full data-[side=right]:w-3/4 data-[side=right]:data-ending-style:translate-x-[2.5rem] data-[side=right]:data-starting-style:translate-x-[2.5rem] data-[side=top]:inset-x-0 data-[side=top]:top-0 data-[side=top]:h-auto data-[side=top]:data-ending-style:translate-y-[-2.5rem] data-[side=top]:data-starting-style:translate-y-[-2.5rem] data-[side=left]:sm:max-w-sm data-[side=right]:sm:max-w-sm",
113
+ className
114
+ ),
115
+ ...props,
116
+ children: [
117
+ children,
118
+ showCloseButton && /* @__PURE__ */ jsxs(
119
+ Dialog.Close,
120
+ {
121
+ "data-slot": "sheet-close",
122
+ render: /* @__PURE__ */ jsx(
123
+ Button,
124
+ {
125
+ variant: "ghost",
126
+ className: "absolute top-3 right-3",
127
+ size: "icon-sm"
128
+ }
129
+ ),
130
+ children: [
131
+ /* @__PURE__ */ jsx(
132
+ XIcon,
133
+ {}
134
+ ),
135
+ /* @__PURE__ */ jsx("span", { className: "sr-only", children: "Close" })
136
+ ]
137
+ }
138
+ )
139
+ ]
140
+ }
141
+ )
142
+ ] });
143
+ }
144
+ function SheetTitle({ className, ...props }) {
145
+ return /* @__PURE__ */ jsx(
146
+ Dialog.Title,
147
+ {
148
+ "data-slot": "sheet-title",
149
+ className: cn("text-base font-bold text-foreground", className),
150
+ ...props
151
+ }
152
+ );
153
+ }
154
+ function BrutalNav({
155
+ logo,
156
+ links,
157
+ ctaText = "Sign In",
158
+ ctaHref = "/admin",
159
+ variant = "solid",
160
+ className
161
+ }) {
162
+ const [mobileOpen, setMobileOpen] = useState(false);
163
+ const [isScrolled, setIsScrolled] = useState(false);
164
+ useEffect(() => {
165
+ if (variant !== "transparent") return;
166
+ const onScroll = () => setIsScrolled(window.scrollY > 20);
167
+ onScroll();
168
+ window.addEventListener("scroll", onScroll, { passive: true });
169
+ return () => window.removeEventListener("scroll", onScroll);
170
+ }, [variant]);
171
+ const variantStyles = {
172
+ solid: "sticky top-0 z-50 w-full border-b-brutal border-foreground bg-brand",
173
+ transparent: cn(
174
+ "fixed top-0 left-0 right-0 z-50 w-full transition-all duration-200",
175
+ isScrolled ? "bg-background/80 text-foreground backdrop-blur-md border-b border-foreground/10" : "bg-transparent text-white"
176
+ ),
177
+ "floating-pill": "fixed top-0 left-0 right-0 z-50 mx-4 mt-4 rounded-full border-brutal border-foreground bg-background shadow-brutal"
178
+ };
179
+ return /* @__PURE__ */ jsx("header", { className: cn(variantStyles[variant], className), children: /* @__PURE__ */ jsxs(
180
+ "div",
181
+ {
182
+ className: cn(
183
+ "flex h-14 items-center justify-between px-6",
184
+ variant === "floating-pill" ? "mx-auto max-w-7xl" : "brutal-container"
185
+ ),
186
+ children: [
187
+ /* @__PURE__ */ jsx("a", { href: "/", className: "flex items-center gap-2 text-lg font-black", children: logo }),
188
+ /* @__PURE__ */ jsx("nav", { className: "hidden items-center gap-1 md:flex", children: links.map((link) => /* @__PURE__ */ jsxs(
189
+ "a",
190
+ {
191
+ href: link.href,
192
+ className: cn(
193
+ "relative rounded-md px-3 py-1.5 text-sm font-bold transition-colors hover:opacity-70",
194
+ link.active && "bg-foreground/10"
195
+ ),
196
+ children: [
197
+ link.label,
198
+ link.badge && /* @__PURE__ */ jsx("span", { className: "absolute -top-1 -right-1 border border-foreground bg-background px-1 font-mono text-[9px] font-bold uppercase text-foreground", children: link.badge })
199
+ ]
200
+ },
201
+ link.href
202
+ )) }),
203
+ /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
204
+ /* @__PURE__ */ jsx(
205
+ Button,
206
+ {
207
+ variant: "nav",
208
+ size: "sm",
209
+ render: /* @__PURE__ */ jsx("a", { href: ctaHref }),
210
+ className: "hidden md:inline-flex",
211
+ children: ctaText
212
+ }
213
+ ),
214
+ /* @__PURE__ */ jsxs(Sheet, { open: mobileOpen, onOpenChange: setMobileOpen, children: [
215
+ /* @__PURE__ */ jsxs(
216
+ SheetTrigger,
217
+ {
218
+ render: /* @__PURE__ */ jsx(Button, { variant: "ghost", size: "icon-sm", className: "md:hidden" }),
219
+ children: [
220
+ /* @__PURE__ */ jsx(Menu, { className: "size-5" }),
221
+ /* @__PURE__ */ jsx("span", { className: "sr-only", children: "Menu" })
222
+ ]
223
+ }
224
+ ),
225
+ /* @__PURE__ */ jsxs(SheetContent, { side: "right", showCloseButton: true, children: [
226
+ /* @__PURE__ */ jsx(SheetTitle, { children: "Navigation" }),
227
+ /* @__PURE__ */ jsxs("nav", { className: "flex flex-col gap-1 px-2 pt-4", children: [
228
+ links.map((link) => /* @__PURE__ */ jsxs(
229
+ "a",
230
+ {
231
+ href: link.href,
232
+ onClick: () => setMobileOpen(false),
233
+ className: cn(
234
+ "flex items-center gap-2 rounded-md px-3 py-2.5 text-sm font-bold transition-colors hover:bg-foreground/5",
235
+ link.active && "bg-foreground/10"
236
+ ),
237
+ children: [
238
+ link.label,
239
+ link.badge && /* @__PURE__ */ jsx("span", { className: "border border-foreground bg-background px-1 font-mono text-[9px] font-bold uppercase text-foreground", children: link.badge })
240
+ ]
241
+ },
242
+ link.href
243
+ )),
244
+ /* @__PURE__ */ jsx("div", { className: "mt-4 border-t border-foreground/10 pt-4", children: /* @__PURE__ */ jsx(
245
+ Button,
246
+ {
247
+ variant: "default",
248
+ size: "default",
249
+ render: /* @__PURE__ */ jsx("a", { href: ctaHref }),
250
+ className: "w-full",
251
+ children: ctaText
252
+ }
253
+ ) })
254
+ ] })
255
+ ] })
256
+ ] })
257
+ ] })
258
+ ]
259
+ }
260
+ ) });
261
+ }
262
+ var colorMap = {
263
+ white: "bg-background text-foreground",
264
+ brand: "bg-brand",
265
+ "brand-muted": "bg-brand-muted text-foreground",
266
+ black: "bg-foreground text-background",
267
+ cta: "bg-cta"
268
+ };
269
+ var containerMap = {
270
+ sm: "brutal-container-sm",
271
+ default: "brutal-container",
272
+ lg: "brutal-container-lg"
273
+ };
274
+ var paddingMap = {
275
+ sm: "brutal-section-sm",
276
+ default: "brutal-section",
277
+ lg: "brutal-section py-28 sm:py-36 md:py-44"
278
+ };
279
+ var patternMap = {
280
+ dots: "brutal-dots",
281
+ stripes: "brutal-stripes",
282
+ noise: "brutal-noise",
283
+ grain: "brutal-grain",
284
+ crosshatch: "brutal-crosshatch",
285
+ "grid-dots": "brutal-grid-dots",
286
+ "gradient-mesh": "brutal-gradient-mesh",
287
+ none: ""
288
+ };
289
+ function BrutalSection({
290
+ children,
291
+ color = "white",
292
+ className,
293
+ containerSize = "default",
294
+ padding = "default",
295
+ pattern,
296
+ dots = false,
297
+ stripes = false,
298
+ id
299
+ }) {
300
+ const resolvedPattern = pattern ?? (dots ? "dots" : void 0) ?? (stripes ? "stripes" : void 0) ?? "none";
301
+ return /* @__PURE__ */ jsx(
302
+ "section",
303
+ {
304
+ id,
305
+ className: cn(
306
+ paddingMap[padding],
307
+ colorMap[color],
308
+ patternMap[resolvedPattern],
309
+ className
310
+ ),
311
+ children: /* @__PURE__ */ jsx("div", { className: containerMap[containerSize], children })
312
+ }
313
+ );
314
+ }
315
+ function BrutalHero({
316
+ variant = "split",
317
+ badge,
318
+ badgePosition = "above",
319
+ headline,
320
+ description,
321
+ ctaText,
322
+ ctaHref = "#",
323
+ ctaVariant = "cta",
324
+ secondaryText,
325
+ secondaryHref,
326
+ visual,
327
+ color = "brand",
328
+ pattern,
329
+ proof,
330
+ className
331
+ }) {
332
+ const badgeElement = badge && /* @__PURE__ */ jsx(
333
+ "div",
334
+ {
335
+ className: cn(
336
+ "inline-flex w-fit border-brutal border-foreground bg-background px-3 py-1 font-mono text-xs font-bold uppercase tracking-widest text-foreground shadow-brutal-sm",
337
+ badgePosition === "floating" && "absolute -top-3 left-6 z-10"
338
+ ),
339
+ children: badge
340
+ }
341
+ );
342
+ const textContent = /* @__PURE__ */ jsxs("div", { className: cn(
343
+ "flex flex-col gap-6",
344
+ variant === "centered" && "items-center text-center"
345
+ ), children: [
346
+ badgePosition === "above" && badgeElement,
347
+ /* @__PURE__ */ jsxs("h1", { className: cn(
348
+ "brutal-display text-balance",
349
+ variant === "centered" && "mx-auto max-w-4xl"
350
+ ), children: [
351
+ badgePosition === "inline" && badgeElement,
352
+ headline
353
+ ] }),
354
+ /* @__PURE__ */ jsx("p", { className: cn(
355
+ "brutal-body-lg max-w-lg opacity-80",
356
+ variant === "centered" && "mx-auto"
357
+ ), children: description }),
358
+ /* @__PURE__ */ jsxs("div", { className: cn(
359
+ "flex flex-col gap-4 sm:flex-row sm:flex-wrap",
360
+ variant === "centered" && "sm:justify-center"
361
+ ), children: [
362
+ /* @__PURE__ */ jsx(Button, { variant: ctaVariant, size: "xl", className: "w-full sm:w-auto", render: /* @__PURE__ */ jsx("a", { href: ctaHref }), children: ctaText }),
363
+ secondaryText && /* @__PURE__ */ jsx(Button, { variant: "outline", size: "xl", className: "w-full sm:w-auto", render: /* @__PURE__ */ jsx("a", { href: secondaryHref || "#" }), children: secondaryText })
364
+ ] }),
365
+ proof && /* @__PURE__ */ jsxs("p", { className: "flex items-center gap-2 text-sm font-medium opacity-70", children: [
366
+ /* @__PURE__ */ jsx("span", { className: "inline-flex size-5 items-center justify-center border border-current text-xs", children: "\u2713" }),
367
+ proof
368
+ ] })
369
+ ] });
370
+ const layoutClass = {
371
+ split: "grid items-center gap-12 lg:grid-cols-2 lg:gap-16",
372
+ centered: "flex flex-col items-center gap-12",
373
+ overlap: "relative",
374
+ asymmetric: "grid items-center gap-12 lg:grid-cols-[3fr_2fr] lg:gap-16"
375
+ }[variant];
376
+ return /* @__PURE__ */ jsxs(BrutalSection, { color, padding: "lg", pattern, className: cn("relative", className), children: [
377
+ badgePosition === "floating" && badgeElement,
378
+ /* @__PURE__ */ jsxs("div", { className: layoutClass, children: [
379
+ textContent,
380
+ visual && variant === "overlap" ? /* @__PURE__ */ jsx("div", { className: "pointer-events-none absolute inset-0 flex items-center justify-center opacity-20", children: visual }) : visual ? /* @__PURE__ */ jsx("div", { className: cn(
381
+ "flex items-center justify-center",
382
+ variant === "asymmetric" && "-rotate-2 transform"
383
+ ), children: visual }) : null
384
+ ] })
385
+ ] });
386
+ }
387
+ var paths = {
388
+ wave: "M0,64 C160,128 320,0 480,64 C640,128 800,0 960,64 L960,160 L0,160 Z",
389
+ jagged: "M0,80 L80,40 L160,80 L240,20 L320,80 L400,40 L480,80 L560,20 L640,80 L720,40 L800,80 L880,20 L960,80 L960,160 L0,160 Z",
390
+ curve: "M0,128 Q480,-32 960,128 L960,160 L0,160 Z",
391
+ castle: "M0,80 L0,60 L80,60 L80,80 L120,80 L120,40 L200,40 L200,80 L240,80 L240,60 L320,60 L320,80 L360,80 L360,40 L440,40 L440,80 L480,80 L480,60 L560,60 L560,80 L600,80 L600,40 L680,40 L680,80 L720,80 L720,60 L800,60 L800,80 L840,80 L840,40 L920,40 L920,80 L960,80 L960,160 L0,160 Z",
392
+ "torn-paper": "M0,70 C30,65 45,85 80,72 C115,59 130,90 170,78 C210,66 225,88 270,75 C315,62 340,92 380,79 C420,66 445,86 490,73 C535,60 560,88 600,76 C640,64 665,90 710,77 C755,64 780,84 830,71 C875,58 900,86 960,80 L960,160 L0,160 Z",
393
+ "brush-stroke": "M0,90 C80,50 120,100 200,60 C280,20 360,110 480,70 C600,30 640,100 720,80 C800,60 880,100 960,70 L960,160 L0,160 Z",
394
+ geometric: "M0,100 L120,60 L240,80 L360,40 L480,90 L600,50 L720,70 L840,30 L960,80 L960,160 L0,160 Z",
395
+ blob: "M0,80 C80,120 160,40 280,80 C400,120 440,30 560,70 C680,110 760,40 960,80 L960,160 L0,160 Z",
396
+ diagonal: "M0,160 L960,60 L960,160 Z",
397
+ zigzag: "M0,80 L60,40 L120,80 L180,40 L240,80 L300,40 L360,80 L420,40 L480,80 L540,40 L600,80 L660,40 L720,80 L780,40 L840,80 L900,40 L960,80 L960,160 L0,160 Z",
398
+ "hand-drawn": "M0,72 C20,68 35,82 60,75 C85,68 95,84 125,76 C155,68 170,85 200,77 C230,69 245,83 275,75 C305,67 320,86 350,78 C380,70 395,82 425,74 C455,66 470,84 500,76 C530,68 545,83 575,75 C605,67 620,85 650,77 C680,69 695,82 725,74 C755,66 770,84 800,76 C830,68 845,83 875,75 C905,67 920,82 960,74 L960,160 L0,160 Z"
399
+ };
400
+ function SectionDivider({
401
+ from = "hsl(var(--background))",
402
+ to = "hsl(var(--background))",
403
+ flip = false,
404
+ className = "",
405
+ variant = "wave",
406
+ layers = false
407
+ }) {
408
+ return /* @__PURE__ */ jsxs(
409
+ "div",
410
+ {
411
+ className: cn("relative -my-px w-full overflow-hidden", className),
412
+ style: { backgroundColor: from },
413
+ children: [
414
+ layers && /* @__PURE__ */ jsx(
415
+ "svg",
416
+ {
417
+ viewBox: "0 0 960 160",
418
+ preserveAspectRatio: "none",
419
+ className: "absolute inset-0 block w-full opacity-30",
420
+ style: {
421
+ height: "clamp(40px, 6vw, 80px)",
422
+ transform: flip ? "scaleY(-1) translateY(4px)" : "translateY(-4px)"
423
+ },
424
+ children: /* @__PURE__ */ jsx("path", { d: paths[variant], fill: to })
425
+ }
426
+ ),
427
+ /* @__PURE__ */ jsx(
428
+ "svg",
429
+ {
430
+ viewBox: "0 0 960 160",
431
+ preserveAspectRatio: "none",
432
+ className: "relative block w-full",
433
+ style: {
434
+ height: "clamp(40px, 6vw, 80px)",
435
+ transform: flip ? "scaleY(-1)" : void 0
436
+ },
437
+ children: /* @__PURE__ */ jsx("path", { d: paths[variant], fill: to })
438
+ }
439
+ )
440
+ ]
441
+ }
442
+ );
443
+ }
444
+ function LogoCloud({
445
+ title,
446
+ logos,
447
+ marquee = false,
448
+ color = "white",
449
+ className
450
+ }) {
451
+ const logoElements = logos.map((logo) => {
452
+ const img = /* @__PURE__ */ jsx(
453
+ "img",
454
+ {
455
+ src: logo.src,
456
+ alt: logo.alt,
457
+ className: "h-8 max-w-[120px] object-contain opacity-50 grayscale transition-all duration-200 hover:opacity-100 hover:grayscale-0"
458
+ },
459
+ logo.alt
460
+ );
461
+ return logo.href ? /* @__PURE__ */ jsx("a", { href: logo.href, className: "flex items-center px-6", children: img }, logo.alt) : /* @__PURE__ */ jsx("div", { className: "flex items-center px-6", children: img }, logo.alt);
462
+ });
463
+ return /* @__PURE__ */ jsxs(BrutalSection, { color, padding: "sm", className, children: [
464
+ title && /* @__PURE__ */ jsx("p", { className: "brutal-label mb-6 text-center text-muted-foreground", children: title }),
465
+ marquee ? /* @__PURE__ */ jsx("div", { className: "relative overflow-hidden", children: /* @__PURE__ */ jsxs("div", { className: "flex animate-marquee", children: [
466
+ logoElements,
467
+ logoElements
468
+ ] }) }) : /* @__PURE__ */ jsx("div", { className: "flex flex-wrap items-center justify-center gap-8", children: logoElements })
469
+ ] });
470
+ }
471
+ function Card({
472
+ className,
473
+ ...props
474
+ }) {
475
+ return /* @__PURE__ */ jsx(
476
+ "div",
477
+ {
478
+ "data-slot": "card",
479
+ className: cn(
480
+ "group/card flex flex-col gap-4 rounded-lg border-brutal border-foreground bg-card p-5 text-card-foreground shadow-brutal transition-all duration-150 hover:-translate-x-0.5 hover:-translate-y-0.5 hover:shadow-brutal-lg",
481
+ className
482
+ ),
483
+ ...props
484
+ }
485
+ );
486
+ }
487
+ function CardHeader({ className, ...props }) {
488
+ return /* @__PURE__ */ jsx(
489
+ "div",
490
+ {
491
+ "data-slot": "card-header",
492
+ className: cn("flex flex-col gap-1", className),
493
+ ...props
494
+ }
495
+ );
496
+ }
497
+ function CardTitle({ className, ...props }) {
498
+ return /* @__PURE__ */ jsx(
499
+ "div",
500
+ {
501
+ "data-slot": "card-title",
502
+ className: cn("text-lg font-bold leading-snug", className),
503
+ ...props
504
+ }
505
+ );
506
+ }
507
+ function CardDescription({ className, ...props }) {
508
+ return /* @__PURE__ */ jsx(
509
+ "div",
510
+ {
511
+ "data-slot": "card-description",
512
+ className: cn("text-sm text-muted-foreground", className),
513
+ ...props
514
+ }
515
+ );
516
+ }
517
+ function CardContent({ className, ...props }) {
518
+ return /* @__PURE__ */ jsx(
519
+ "div",
520
+ {
521
+ "data-slot": "card-content",
522
+ className: cn("", className),
523
+ ...props
524
+ }
525
+ );
526
+ }
527
+ var colMap = {
528
+ 2: "sm:grid-cols-2",
529
+ 3: "sm:grid-cols-2 lg:grid-cols-3",
530
+ 4: "sm:grid-cols-2 lg:grid-cols-4"
531
+ };
532
+ function BrutalFeatureGrid({
533
+ variant = "icon-top",
534
+ badge,
535
+ headline,
536
+ description,
537
+ features,
538
+ columns = 3,
539
+ color = "white",
540
+ className
541
+ }) {
542
+ return /* @__PURE__ */ jsxs(BrutalSection, { color, className, children: [
543
+ /* @__PURE__ */ jsxs("div", { className: "mb-12 max-w-2xl", children: [
544
+ badge && /* @__PURE__ */ jsx("p", { className: "brutal-label mb-4 text-brand", children: badge }),
545
+ /* @__PURE__ */ jsx("h2", { className: "brutal-h2 mb-4", children: headline }),
546
+ description && /* @__PURE__ */ jsx("p", { className: "brutal-body text-muted-foreground", children: description })
547
+ ] }),
548
+ /* @__PURE__ */ jsx(
549
+ "div",
550
+ {
551
+ className: cn(
552
+ "grid gap-6",
553
+ variant === "bento" ? "sm:grid-cols-2 lg:grid-cols-3" : colMap[columns]
554
+ ),
555
+ children: features.map((feature, i) => /* @__PURE__ */ jsx(
556
+ FeatureCard,
557
+ {
558
+ feature,
559
+ variant,
560
+ index: i
561
+ },
562
+ feature.title
563
+ ))
564
+ }
565
+ )
566
+ ] });
567
+ }
568
+ function FeatureCard({
569
+ feature,
570
+ variant,
571
+ index
572
+ }) {
573
+ const isBentoFeatured = variant === "bento" && feature.featured;
574
+ if (variant === "icon-left") {
575
+ return /* @__PURE__ */ jsxs("div", { className: "flex gap-4 border-brutal border-foreground border-l-4 border-l-brand bg-background p-5 shadow-brutal transition-all duration-150 hover:-translate-x-0.5 hover:-translate-y-0.5 hover:shadow-brutal-lg", children: [
576
+ feature.icon && /* @__PURE__ */ jsx("div", { className: "flex size-12 shrink-0 items-center justify-center border-brutal border-foreground bg-brand-muted text-2xl shadow-brutal-sm", children: feature.icon }),
577
+ /* @__PURE__ */ jsxs("div", { children: [
578
+ feature.stat && /* @__PURE__ */ jsx("p", { className: "brutal-label mb-1 text-brand", children: feature.stat }),
579
+ /* @__PURE__ */ jsx("h3", { className: "brutal-h4 mb-1", children: feature.title }),
580
+ /* @__PURE__ */ jsx("p", { className: "text-sm text-muted-foreground", children: feature.description })
581
+ ] })
582
+ ] });
583
+ }
584
+ if (variant === "numbered") {
585
+ return /* @__PURE__ */ jsxs(Card, { children: [
586
+ /* @__PURE__ */ jsxs(CardHeader, { children: [
587
+ /* @__PURE__ */ jsx("span", { className: "brutal-display mb-2 block text-brand opacity-20", children: String(index + 1).padStart(2, "0") }),
588
+ feature.stat && /* @__PURE__ */ jsx("p", { className: "brutal-label mb-1 text-brand", children: feature.stat }),
589
+ /* @__PURE__ */ jsx(CardTitle, { children: feature.title })
590
+ ] }),
591
+ /* @__PURE__ */ jsx(CardContent, { children: /* @__PURE__ */ jsx(CardDescription, { children: feature.description }) })
592
+ ] });
593
+ }
594
+ return /* @__PURE__ */ jsxs(
595
+ Card,
596
+ {
597
+ className: cn(
598
+ isBentoFeatured && "sm:col-span-2 bg-brand-muted"
599
+ ),
600
+ children: [
601
+ /* @__PURE__ */ jsxs(CardHeader, { children: [
602
+ feature.icon && /* @__PURE__ */ jsx("div", { className: "mb-2 inline-flex size-12 items-center justify-center border-brutal border-foreground border-b-brand bg-brand-muted text-2xl shadow-brutal-sm", children: feature.icon }),
603
+ feature.stat && /* @__PURE__ */ jsx("p", { className: "brutal-label mb-1 text-brand", children: feature.stat }),
604
+ /* @__PURE__ */ jsx(CardTitle, { children: feature.title })
605
+ ] }),
606
+ /* @__PURE__ */ jsx(CardContent, { children: /* @__PURE__ */ jsx(CardDescription, { children: feature.description }) })
607
+ ]
608
+ }
609
+ );
610
+ }
611
+ function useCountUp(target, inView) {
612
+ const [count, setCount] = useState(0);
613
+ useEffect(() => {
614
+ if (!inView) return;
615
+ let frame;
616
+ const duration = 1500;
617
+ const start = performance.now();
618
+ function animate(now) {
619
+ const elapsed = now - start;
620
+ const progress = Math.min(elapsed / duration, 1);
621
+ const eased = 1 - Math.pow(1 - progress, 3);
622
+ setCount(Math.round(eased * target));
623
+ if (progress < 1) frame = requestAnimationFrame(animate);
624
+ }
625
+ frame = requestAnimationFrame(animate);
626
+ return () => cancelAnimationFrame(frame);
627
+ }, [target, inView]);
628
+ return count;
629
+ }
630
+ function StatItem({ stat, inView }) {
631
+ const count = useCountUp(stat.value, inView);
632
+ return /* @__PURE__ */ jsxs("div", { className: "text-center", children: [
633
+ /* @__PURE__ */ jsxs("p", { className: "brutal-display", children: [
634
+ stat.prefix,
635
+ count.toLocaleString(),
636
+ stat.suffix
637
+ ] }),
638
+ /* @__PURE__ */ jsx("p", { className: "brutal-label mt-2 text-muted-foreground", children: stat.label })
639
+ ] });
640
+ }
641
+ function StatsBar({ stats, color = "white", className }) {
642
+ const ref = useRef(null);
643
+ const [inView, setInView] = useState(false);
644
+ useEffect(() => {
645
+ if (!ref.current) return;
646
+ const observer = new IntersectionObserver(
647
+ ([entry]) => {
648
+ if (entry.isIntersecting) {
649
+ setInView(true);
650
+ observer.disconnect();
651
+ }
652
+ },
653
+ { threshold: 0.3 }
654
+ );
655
+ observer.observe(ref.current);
656
+ return () => observer.disconnect();
657
+ }, []);
658
+ return /* @__PURE__ */ jsx(BrutalSection, { color, padding: "sm", className, children: /* @__PURE__ */ jsx(
659
+ "div",
660
+ {
661
+ ref,
662
+ className: cn(
663
+ "grid gap-8",
664
+ stats.length === 2 && "grid-cols-2",
665
+ stats.length === 3 && "grid-cols-3",
666
+ stats.length >= 4 && "grid-cols-2 sm:grid-cols-4"
667
+ ),
668
+ children: stats.map((stat) => /* @__PURE__ */ jsx(StatItem, { stat, inView }, stat.label))
669
+ }
670
+ ) });
671
+ }
672
+ function StarRating({ rating }) {
673
+ return /* @__PURE__ */ jsx("div", { className: "flex gap-0.5", children: Array.from({ length: 5 }, (_, i) => /* @__PURE__ */ jsx(
674
+ "span",
675
+ {
676
+ className: cn(
677
+ "text-sm",
678
+ i < rating ? "text-amber-500" : "text-foreground/20"
679
+ ),
680
+ children: "\u2605"
681
+ },
682
+ i
683
+ )) });
684
+ }
685
+ function TestimonialCard({
686
+ t,
687
+ className
688
+ }) {
689
+ return /* @__PURE__ */ jsxs(
690
+ "div",
691
+ {
692
+ className: cn(
693
+ "relative break-inside-avoid border-brutal border-foreground bg-background p-5 text-foreground shadow-brutal transition-all duration-150 hover:-translate-x-0.5 hover:-translate-y-0.5 hover:shadow-brutal-lg",
694
+ className
695
+ ),
696
+ children: [
697
+ /* @__PURE__ */ jsx("span", { className: "pointer-events-none absolute top-3 right-4 select-none font-serif text-5xl leading-none text-foreground/[0.06]", children: "\u201C" }),
698
+ t.rating && /* @__PURE__ */ jsx("div", { className: "mb-3", children: /* @__PURE__ */ jsx(StarRating, { rating: t.rating }) }),
699
+ /* @__PURE__ */ jsx("p", { className: "relative mb-4 text-sm leading-relaxed", children: t.text }),
700
+ /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3", children: [
701
+ t.avatar ? /* @__PURE__ */ jsx(
702
+ "img",
703
+ {
704
+ src: t.avatar,
705
+ alt: t.name,
706
+ className: "size-9 border-2 object-cover",
707
+ style: { borderColor: "hsl(var(--brand))" }
708
+ }
709
+ ) : /* @__PURE__ */ jsx(
710
+ "div",
711
+ {
712
+ className: "flex size-9 items-center justify-center border-2 font-bold text-brand-foreground",
713
+ style: {
714
+ borderColor: "hsl(var(--brand))",
715
+ backgroundColor: "hsl(var(--brand))"
716
+ },
717
+ children: t.name[0]
718
+ }
719
+ ),
720
+ /* @__PURE__ */ jsxs("div", { className: "min-w-0 flex-1", children: [
721
+ /* @__PURE__ */ jsx("p", { className: "text-sm font-bold", children: t.name }),
722
+ (t.role || t.company) && /* @__PURE__ */ jsxs("p", { className: "truncate text-xs text-muted-foreground", children: [
723
+ t.role,
724
+ t.role && t.company && " \xB7 ",
725
+ t.company
726
+ ] }),
727
+ !t.role && !t.company && t.handle && /* @__PURE__ */ jsx("p", { className: "font-mono text-xs text-muted-foreground", children: t.handle })
728
+ ] }),
729
+ t.companyLogo && /* @__PURE__ */ jsx(
730
+ "img",
731
+ {
732
+ src: t.companyLogo,
733
+ alt: t.company || "",
734
+ className: "h-5 object-contain opacity-60"
735
+ }
736
+ )
737
+ ] })
738
+ ]
739
+ }
740
+ );
741
+ }
742
+ function MasonryLayout({ testimonials }) {
743
+ return /* @__PURE__ */ jsx("div", { className: "columns-1 gap-6 sm:columns-2 lg:columns-3", children: testimonials.map((t, i) => /* @__PURE__ */ jsx(TestimonialCard, { t, className: "mb-6" }, i)) });
744
+ }
745
+ function FeaturedGridLayout({
746
+ testimonials
747
+ }) {
748
+ const featured = testimonials.find((t) => t.featured) || testimonials[0];
749
+ const rest = testimonials.filter((t) => t !== featured);
750
+ return /* @__PURE__ */ jsxs("div", { className: "grid gap-6 lg:grid-cols-2", children: [
751
+ featured && /* @__PURE__ */ jsx(
752
+ TestimonialCard,
753
+ {
754
+ t: featured,
755
+ className: "flex flex-col justify-between p-8 lg:row-span-2"
756
+ }
757
+ ),
758
+ rest.map((t, i) => /* @__PURE__ */ jsx(TestimonialCard, { t }, i))
759
+ ] });
760
+ }
761
+ function CarouselLayout({ testimonials }) {
762
+ return /* @__PURE__ */ jsx("div", { className: "-mx-6 flex snap-x snap-mandatory gap-6 overflow-x-auto px-6 pb-4", children: testimonials.map((t, i) => /* @__PURE__ */ jsx(
763
+ TestimonialCard,
764
+ {
765
+ t,
766
+ className: "w-80 flex-none snap-center"
767
+ },
768
+ i
769
+ )) });
770
+ }
771
+ function WallOfLoveLayout({ testimonials }) {
772
+ return /* @__PURE__ */ jsxs("div", { className: "relative max-h-[600px] overflow-hidden", children: [
773
+ /* @__PURE__ */ jsx("div", { className: "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-4", children: testimonials.map((t, i) => /* @__PURE__ */ jsx(TestimonialCard, { t }, i)) }),
774
+ /* @__PURE__ */ jsx("div", { className: "pointer-events-none absolute inset-x-0 bottom-0 h-32 bg-gradient-to-t from-background to-transparent" })
775
+ ] });
776
+ }
777
+ function BrutalTestimonials({
778
+ badge,
779
+ headline,
780
+ testimonials,
781
+ variant = "masonry",
782
+ color = "brand-muted",
783
+ pattern,
784
+ className
785
+ }) {
786
+ return /* @__PURE__ */ jsxs(BrutalSection, { color, pattern, className, children: [
787
+ (headline || badge) && /* @__PURE__ */ jsxs("div", { className: "mb-12 text-center", children: [
788
+ badge && /* @__PURE__ */ jsx("p", { className: "brutal-label mb-4 opacity-70", children: badge }),
789
+ headline && /* @__PURE__ */ jsx("h2", { className: "brutal-h2", children: headline })
790
+ ] }),
791
+ variant === "masonry" && /* @__PURE__ */ jsx(MasonryLayout, { testimonials }),
792
+ variant === "featured-grid" && /* @__PURE__ */ jsx(FeaturedGridLayout, { testimonials }),
793
+ variant === "carousel" && /* @__PURE__ */ jsx(CarouselLayout, { testimonials }),
794
+ variant === "wall-of-love" && /* @__PURE__ */ jsx(WallOfLoveLayout, { testimonials })
795
+ ] });
796
+ }
797
+ var badgeVariants = cva(
798
+ "group/badge inline-flex w-fit shrink-0 items-center justify-center gap-1 rounded-md whitespace-nowrap font-bold transition-all [&>svg]:pointer-events-none [&>svg]:size-3!",
799
+ {
800
+ variants: {
801
+ variant: {
802
+ default: "border-brutal border-foreground bg-primary px-3 py-1 text-xs text-primary-foreground shadow-brutal-sm",
803
+ secondary: "border-brutal border-foreground bg-secondary px-3 py-1 text-xs text-secondary-foreground shadow-brutal-sm",
804
+ brand: "border-brutal border-foreground bg-brand px-3 py-1 text-xs text-brand-foreground shadow-brutal-sm",
805
+ cta: "border-brutal border-foreground bg-cta px-3 py-1 text-xs text-cta-foreground shadow-brutal-sm",
806
+ outline: "border-brutal border-foreground bg-background px-3 py-1 text-xs text-foreground",
807
+ destructive: "border-brutal border-destructive bg-destructive/10 px-3 py-1 text-xs text-destructive",
808
+ ghost: "px-2 py-0.5 text-xs text-muted-foreground"
809
+ }
810
+ },
811
+ defaultVariants: {
812
+ variant: "default"
813
+ }
814
+ }
815
+ );
816
+ function Badge({
817
+ className,
818
+ variant = "default",
819
+ render,
820
+ ...props
821
+ }) {
822
+ return useRender({
823
+ defaultTagName: "span",
824
+ props: mergeProps(
825
+ {
826
+ className: cn(badgeVariants({ variant }), className)
827
+ },
828
+ props
829
+ ),
830
+ render,
831
+ state: {
832
+ slot: "badge",
833
+ variant
834
+ }
835
+ });
836
+ }
837
+ function PricingTable({
838
+ badge,
839
+ headline,
840
+ description,
841
+ tiers,
842
+ popularIndex,
843
+ billingToggle = true,
844
+ color = "white",
845
+ className
846
+ }) {
847
+ const [annual, setAnnual] = useState(false);
848
+ return /* @__PURE__ */ jsxs(BrutalSection, { color, className, children: [
849
+ (headline || badge) && /* @__PURE__ */ jsxs("div", { className: "mb-8 text-center", children: [
850
+ badge && /* @__PURE__ */ jsx("p", { className: "brutal-label mb-4 text-muted-foreground", children: badge }),
851
+ headline && /* @__PURE__ */ jsx("h2", { className: "brutal-h2 mb-4", children: headline }),
852
+ description && /* @__PURE__ */ jsx("p", { className: "brutal-body mx-auto max-w-lg text-muted-foreground", children: description })
853
+ ] }),
854
+ billingToggle && /* @__PURE__ */ jsxs("div", { className: "mb-10 flex items-center justify-center gap-3", children: [
855
+ /* @__PURE__ */ jsx("span", { className: cn("text-sm font-bold", !annual && "text-brand"), children: "Monthly" }),
856
+ /* @__PURE__ */ jsx(
857
+ "button",
858
+ {
859
+ onClick: () => setAnnual(!annual),
860
+ className: cn(
861
+ "relative h-8 w-14 border-brutal border-foreground transition-colors",
862
+ annual ? "bg-brand" : "bg-secondary"
863
+ ),
864
+ children: /* @__PURE__ */ jsx(
865
+ "span",
866
+ {
867
+ className: cn(
868
+ "absolute top-1 size-6 border border-foreground bg-background transition-transform",
869
+ annual ? "left-7" : "left-1"
870
+ )
871
+ }
872
+ )
873
+ }
874
+ ),
875
+ /* @__PURE__ */ jsx("span", { className: cn("text-sm font-bold", annual && "text-brand"), children: "Annual" }),
876
+ annual && /* @__PURE__ */ jsx(Badge, { variant: "cta", children: "Save 20%" })
877
+ ] }),
878
+ /* @__PURE__ */ jsx("div", { className: cn(
879
+ "grid gap-6",
880
+ tiers.length === 2 && "mx-auto max-w-2xl sm:grid-cols-2",
881
+ tiers.length === 3 && "lg:grid-cols-3",
882
+ tiers.length >= 4 && "sm:grid-cols-2 lg:grid-cols-4"
883
+ ), children: tiers.map((tier, i) => {
884
+ const isPopular = i === popularIndex;
885
+ const price = annual ? tier.price.annual : tier.price.monthly;
886
+ return /* @__PURE__ */ jsxs(
887
+ "div",
888
+ {
889
+ className: cn(
890
+ "relative flex flex-col border-brutal border-foreground bg-background p-6 shadow-brutal",
891
+ isPopular && "border-brand shadow-brutal-lg ring-2 ring-brand z-10 scale-105"
892
+ ),
893
+ children: [
894
+ isPopular && /* @__PURE__ */ jsx(Badge, { variant: "brand", className: "absolute -top-3 left-1/2 -translate-x-1/2", children: "Popular" }),
895
+ /* @__PURE__ */ jsx("h3", { className: "brutal-h4 mb-1", children: tier.name }),
896
+ tier.description && /* @__PURE__ */ jsx("p", { className: "mb-4 text-sm text-muted-foreground", children: tier.description }),
897
+ /* @__PURE__ */ jsxs("div", { className: "mb-6", children: [
898
+ /* @__PURE__ */ jsx("span", { className: "brutal-h1", children: typeof price === "number" ? `$${price}` : price }),
899
+ typeof price === "number" && /* @__PURE__ */ jsx("span", { className: "text-sm text-muted-foreground", children: "/mo" })
900
+ ] }),
901
+ /* @__PURE__ */ jsx("ul", { className: "mb-8 flex flex-1 flex-col gap-2", children: tier.features.map((feature) => /* @__PURE__ */ jsxs("li", { className: "flex items-start gap-2 text-sm", children: [
902
+ /* @__PURE__ */ jsx("span", { className: "mt-0.5 text-brand", children: "\u2713" }),
903
+ feature
904
+ ] }, feature)) }),
905
+ /* @__PURE__ */ jsx(
906
+ Button,
907
+ {
908
+ variant: tier.ctaVariant || (isPopular ? "cta" : "outline"),
909
+ size: "lg",
910
+ className: "w-full",
911
+ render: tier.ctaHref ? /* @__PURE__ */ jsx("a", { href: tier.ctaHref }) : void 0,
912
+ children: tier.ctaText
913
+ }
914
+ )
915
+ ]
916
+ },
917
+ tier.name
918
+ );
919
+ }) })
920
+ ] });
921
+ }
922
+ function Accordion({ className, ...props }) {
923
+ return /* @__PURE__ */ jsx(
924
+ Accordion$1.Root,
925
+ {
926
+ "data-slot": "accordion",
927
+ className: cn("flex w-full flex-col", className),
928
+ ...props
929
+ }
930
+ );
931
+ }
932
+ function AccordionItem({ className, ...props }) {
933
+ return /* @__PURE__ */ jsx(
934
+ Accordion$1.Item,
935
+ {
936
+ "data-slot": "accordion-item",
937
+ className: cn("border-brutal border-foreground rounded-lg mb-2 px-3", className),
938
+ ...props
939
+ }
940
+ );
941
+ }
942
+ function AccordionTrigger({
943
+ className,
944
+ children,
945
+ ...props
946
+ }) {
947
+ return /* @__PURE__ */ jsx(Accordion$1.Header, { className: "flex", children: /* @__PURE__ */ jsxs(
948
+ Accordion$1.Trigger,
949
+ {
950
+ "data-slot": "accordion-trigger",
951
+ className: cn(
952
+ "group/accordion-trigger relative flex flex-1 items-start justify-between rounded-lg border border-transparent py-2.5 text-left text-sm font-bold transition-all outline-none hover:underline focus-visible:border-ring focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 aria-disabled:pointer-events-none aria-disabled:opacity-50 **:data-[slot=accordion-trigger-icon]:ml-auto **:data-[slot=accordion-trigger-icon]:size-4 **:data-[slot=accordion-trigger-icon]:text-muted-foreground",
953
+ className
954
+ ),
955
+ ...props,
956
+ children: [
957
+ children,
958
+ /* @__PURE__ */ jsx(ChevronDownIcon, { "data-slot": "accordion-trigger-icon", className: "pointer-events-none shrink-0 group-aria-expanded/accordion-trigger:hidden" }),
959
+ /* @__PURE__ */ jsx(ChevronUpIcon, { "data-slot": "accordion-trigger-icon", className: "pointer-events-none hidden shrink-0 group-aria-expanded/accordion-trigger:inline" })
960
+ ]
961
+ }
962
+ ) });
963
+ }
964
+ function AccordionContent({
965
+ className,
966
+ children,
967
+ ...props
968
+ }) {
969
+ return /* @__PURE__ */ jsx(
970
+ Accordion$1.Panel,
971
+ {
972
+ "data-slot": "accordion-content",
973
+ className: "overflow-hidden text-sm data-open:animate-accordion-down data-closed:animate-accordion-up",
974
+ ...props,
975
+ children: /* @__PURE__ */ jsx(
976
+ "div",
977
+ {
978
+ className: cn(
979
+ "h-(--accordion-panel-height) pt-0 pb-2.5 data-ending-style:h-0 data-starting-style:h-0 [&_a]:underline [&_a]:underline-offset-3 [&_a]:hover:text-foreground [&_p:not(:last-child)]:mb-4",
980
+ className
981
+ ),
982
+ children
983
+ }
984
+ )
985
+ }
986
+ );
987
+ }
988
+ function FAQ({
989
+ badge,
990
+ headline,
991
+ items,
992
+ color = "white",
993
+ className
994
+ }) {
995
+ return /* @__PURE__ */ jsxs(BrutalSection, { color, className, children: [
996
+ (headline || badge) && /* @__PURE__ */ jsxs("div", { className: "mb-10 mx-auto max-w-2xl", children: [
997
+ badge && /* @__PURE__ */ jsx("p", { className: "brutal-label mb-4 text-brand", children: badge }),
998
+ headline && /* @__PURE__ */ jsx("h2", { className: "brutal-h2", children: headline })
999
+ ] }),
1000
+ /* @__PURE__ */ jsx(Accordion, { className: "mx-auto max-w-2xl", children: items.map((item, i) => /* @__PURE__ */ jsxs(
1001
+ AccordionItem,
1002
+ {
1003
+ value: `faq-${i}`,
1004
+ className: cn(
1005
+ "border-brutal border-foreground mb-3 px-5",
1006
+ i % 2 === 0 ? "bg-background" : "bg-secondary"
1007
+ ),
1008
+ children: [
1009
+ /* @__PURE__ */ jsx(AccordionTrigger, { className: "brutal-h4 py-4 text-left", children: item.question }),
1010
+ /* @__PURE__ */ jsx(AccordionContent, { className: "brutal-body pb-4 text-muted-foreground", children: item.answer })
1011
+ ]
1012
+ },
1013
+ i
1014
+ )) })
1015
+ ] });
1016
+ }
1017
+ function CTAButtons({
1018
+ ctaText,
1019
+ ctaHref = "#",
1020
+ ctaVariant = "cta",
1021
+ secondaryText,
1022
+ secondaryHref
1023
+ }) {
1024
+ return /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-4 sm:flex-row sm:flex-wrap sm:items-center sm:justify-center", children: [
1025
+ /* @__PURE__ */ jsx(
1026
+ Button,
1027
+ {
1028
+ variant: ctaVariant,
1029
+ size: "xl",
1030
+ className: "w-full sm:w-auto",
1031
+ render: /* @__PURE__ */ jsx("a", { href: ctaHref }),
1032
+ children: ctaText
1033
+ }
1034
+ ),
1035
+ secondaryText && /* @__PURE__ */ jsx(
1036
+ Button,
1037
+ {
1038
+ variant: "outline",
1039
+ size: "xl",
1040
+ className: "w-full sm:w-auto",
1041
+ render: /* @__PURE__ */ jsx("a", { href: secondaryHref || "#" }),
1042
+ children: secondaryText
1043
+ }
1044
+ )
1045
+ ] });
1046
+ }
1047
+ function CenteredCTA(props) {
1048
+ return /* @__PURE__ */ jsxs("div", { className: "mx-auto max-w-2xl text-center", children: [
1049
+ /* @__PURE__ */ jsx("h2", { className: "brutal-h1 mb-6", children: props.headline }),
1050
+ props.description && /* @__PURE__ */ jsx("p", { className: "brutal-body mb-4 opacity-80", children: props.description }),
1051
+ props.stats && /* @__PURE__ */ jsx("p", { className: "brutal-label mb-8 opacity-60", children: props.stats }),
1052
+ /* @__PURE__ */ jsx(
1053
+ CTAButtons,
1054
+ {
1055
+ ctaText: props.ctaText,
1056
+ ctaHref: props.ctaHref,
1057
+ ctaVariant: props.ctaVariant,
1058
+ secondaryText: props.secondaryText,
1059
+ secondaryHref: props.secondaryHref
1060
+ }
1061
+ )
1062
+ ] });
1063
+ }
1064
+ function SplitCTA(props) {
1065
+ return /* @__PURE__ */ jsxs("div", { className: "grid items-center gap-12 lg:grid-cols-2", children: [
1066
+ /* @__PURE__ */ jsxs("div", { children: [
1067
+ /* @__PURE__ */ jsx("h2", { className: "brutal-h1 mb-6", children: props.headline }),
1068
+ props.description && /* @__PURE__ */ jsx("p", { className: "brutal-body mb-4 opacity-80", children: props.description }),
1069
+ props.stats && /* @__PURE__ */ jsx("p", { className: "brutal-label mb-8 opacity-60", children: props.stats }),
1070
+ /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-4 sm:flex-row sm:flex-wrap", children: [
1071
+ /* @__PURE__ */ jsx(
1072
+ Button,
1073
+ {
1074
+ variant: props.ctaVariant || "cta",
1075
+ size: "xl",
1076
+ className: "w-full sm:w-auto",
1077
+ render: /* @__PURE__ */ jsx("a", { href: props.ctaHref || "#" }),
1078
+ children: props.ctaText
1079
+ }
1080
+ ),
1081
+ props.secondaryText && /* @__PURE__ */ jsx(
1082
+ Button,
1083
+ {
1084
+ variant: "outline",
1085
+ size: "xl",
1086
+ className: "w-full sm:w-auto",
1087
+ render: /* @__PURE__ */ jsx("a", { href: props.secondaryHref || "#" }),
1088
+ children: props.secondaryText
1089
+ }
1090
+ )
1091
+ ] })
1092
+ ] }),
1093
+ props.visual && /* @__PURE__ */ jsx("div", { children: props.visual })
1094
+ ] });
1095
+ }
1096
+ function WithVisualCTA(props) {
1097
+ return /* @__PURE__ */ jsxs("div", { className: "relative", children: [
1098
+ props.visual && /* @__PURE__ */ jsx("div", { className: "pointer-events-none absolute inset-0 flex items-center justify-center opacity-10", children: props.visual }),
1099
+ /* @__PURE__ */ jsxs("div", { className: "relative mx-auto max-w-2xl text-center", children: [
1100
+ /* @__PURE__ */ jsx("h2", { className: "brutal-h1 mb-6", children: props.headline }),
1101
+ props.description && /* @__PURE__ */ jsx("p", { className: "brutal-body mb-4 opacity-80", children: props.description }),
1102
+ props.stats && /* @__PURE__ */ jsx("p", { className: "brutal-label mb-8 opacity-60", children: props.stats }),
1103
+ /* @__PURE__ */ jsx(
1104
+ CTAButtons,
1105
+ {
1106
+ ctaText: props.ctaText,
1107
+ ctaHref: props.ctaHref,
1108
+ ctaVariant: props.ctaVariant,
1109
+ secondaryText: props.secondaryText,
1110
+ secondaryHref: props.secondaryHref
1111
+ }
1112
+ )
1113
+ ] })
1114
+ ] });
1115
+ }
1116
+ function FloatingCardCTA(props) {
1117
+ return /* @__PURE__ */ jsx("div", { className: "relative z-10 -mt-16", children: /* @__PURE__ */ jsxs("div", { className: "mx-auto max-w-2xl border-brutal border-foreground bg-background p-8 text-center text-foreground shadow-brutal-lg", children: [
1118
+ /* @__PURE__ */ jsx("h2", { className: "brutal-h1 mb-6", children: props.headline }),
1119
+ props.description && /* @__PURE__ */ jsx("p", { className: "brutal-body mb-4 opacity-80", children: props.description }),
1120
+ props.stats && /* @__PURE__ */ jsx("p", { className: "brutal-label mb-8 opacity-60", children: props.stats }),
1121
+ /* @__PURE__ */ jsx(
1122
+ CTAButtons,
1123
+ {
1124
+ ctaText: props.ctaText,
1125
+ ctaHref: props.ctaHref,
1126
+ ctaVariant: props.ctaVariant,
1127
+ secondaryText: props.secondaryText,
1128
+ secondaryHref: props.secondaryHref
1129
+ }
1130
+ )
1131
+ ] }) });
1132
+ }
1133
+ function BrutalCTA({
1134
+ variant = "centered",
1135
+ color = "black",
1136
+ className,
1137
+ pattern,
1138
+ ...props
1139
+ }) {
1140
+ if (variant === "floating-card") {
1141
+ return /* @__PURE__ */ jsx("div", { className: cn("brutal-container px-6", className), children: /* @__PURE__ */ jsx(FloatingCardCTA, { ...props, variant, color }) });
1142
+ }
1143
+ return /* @__PURE__ */ jsxs(BrutalSection, { color, pattern, className, children: [
1144
+ variant === "centered" && /* @__PURE__ */ jsx(CenteredCTA, { ...props, variant, color }),
1145
+ variant === "split" && /* @__PURE__ */ jsx(SplitCTA, { ...props, variant, color }),
1146
+ variant === "with-visual" && /* @__PURE__ */ jsx(WithVisualCTA, { ...props, variant, color })
1147
+ ] });
1148
+ }
1149
+ function Input({ className, type, ...props }) {
1150
+ return /* @__PURE__ */ jsx(
1151
+ Input$1,
1152
+ {
1153
+ type,
1154
+ "data-slot": "input",
1155
+ className: cn(
1156
+ "h-10 w-full min-w-0 rounded-lg border-brutal border-foreground bg-background px-3 py-2 text-base font-medium shadow-brutal-sm transition-all outline-none placeholder:text-muted-foreground focus:shadow-brutal focus:-translate-x-0.5 focus:-translate-y-0.5 disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive md:text-sm",
1157
+ className
1158
+ ),
1159
+ ...props
1160
+ }
1161
+ );
1162
+ }
1163
+ function SocialsRow({
1164
+ socials
1165
+ }) {
1166
+ const items = [
1167
+ { key: "twitter", label: "Twitter", url: socials.twitter },
1168
+ { key: "github", label: "GitHub", url: socials.github },
1169
+ { key: "linkedin", label: "LinkedIn", url: socials.linkedin },
1170
+ { key: "discord", label: "Discord", url: socials.discord }
1171
+ ].filter((s) => s.url);
1172
+ if (items.length === 0) return null;
1173
+ return /* @__PURE__ */ jsx("div", { className: "flex items-center gap-4", children: items.map((s) => /* @__PURE__ */ jsx(
1174
+ "a",
1175
+ {
1176
+ href: s.url,
1177
+ target: "_blank",
1178
+ rel: "noopener noreferrer",
1179
+ className: "text-sm font-bold transition-colors hover:text-muted-foreground",
1180
+ children: s.label
1181
+ },
1182
+ s.key
1183
+ )) });
1184
+ }
1185
+ function NewsletterSection({
1186
+ newsletter
1187
+ }) {
1188
+ return /* @__PURE__ */ jsx("div", { className: "mb-10 border-b-brutal border-foreground pb-10", children: /* @__PURE__ */ jsxs("div", { className: "mx-auto max-w-lg text-center", children: [
1189
+ /* @__PURE__ */ jsx("h3", { className: "brutal-h4 mb-2", children: newsletter.headline || "Stay in the loop" }),
1190
+ newsletter.description && /* @__PURE__ */ jsx("p", { className: "brutal-caption mb-4", children: newsletter.description }),
1191
+ /* @__PURE__ */ jsxs(
1192
+ "form",
1193
+ {
1194
+ onSubmit: (e) => e.preventDefault(),
1195
+ className: "flex gap-2",
1196
+ children: [
1197
+ /* @__PURE__ */ jsx(
1198
+ Input,
1199
+ {
1200
+ type: "email",
1201
+ placeholder: newsletter.placeholder || "you@email.com",
1202
+ className: "flex-1"
1203
+ }
1204
+ ),
1205
+ /* @__PURE__ */ jsx(Button, { variant: "default", size: "default", type: "submit", children: newsletter.buttonText || "Subscribe" })
1206
+ ]
1207
+ }
1208
+ )
1209
+ ] }) });
1210
+ }
1211
+ function MegaContent({
1212
+ logo,
1213
+ tagline,
1214
+ columns,
1215
+ socials
1216
+ }) {
1217
+ return /* @__PURE__ */ jsxs("div", { className: "mb-10 flex flex-col gap-8 sm:flex-row sm:items-start sm:justify-between", children: [
1218
+ /* @__PURE__ */ jsxs("div", { className: "max-w-xs", children: [
1219
+ /* @__PURE__ */ jsx("div", { className: "mb-2 text-xl font-black", children: logo }),
1220
+ tagline && /* @__PURE__ */ jsx("p", { className: "mb-4 text-sm text-muted-foreground", children: tagline }),
1221
+ socials && /* @__PURE__ */ jsx(SocialsRow, { socials })
1222
+ ] }),
1223
+ /* @__PURE__ */ jsx("div", { className: "grid grid-cols-2 gap-8 sm:grid-cols-3 md:gap-12", children: columns.map((col) => /* @__PURE__ */ jsxs("div", { children: [
1224
+ /* @__PURE__ */ jsx("h3", { className: "brutal-label mb-3 text-muted-foreground", children: col.title }),
1225
+ /* @__PURE__ */ jsx("ul", { className: "flex flex-col gap-2", children: col.links.map((link) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
1226
+ "a",
1227
+ {
1228
+ href: link.href,
1229
+ className: "text-sm font-medium transition-colors hover:text-muted-foreground",
1230
+ children: link.label
1231
+ }
1232
+ ) }, link.href)) })
1233
+ ] }, col.title)) })
1234
+ ] });
1235
+ }
1236
+ function MinimalContent({
1237
+ logo,
1238
+ columns,
1239
+ socials
1240
+ }) {
1241
+ const allLinks = columns.flatMap((col) => col.links);
1242
+ return /* @__PURE__ */ jsxs("div", { className: "mb-6 flex flex-col items-center gap-4 sm:flex-row sm:justify-between", children: [
1243
+ /* @__PURE__ */ jsx("div", { className: "text-xl font-black", children: logo }),
1244
+ /* @__PURE__ */ jsx("nav", { className: "flex flex-wrap items-center justify-center gap-x-6 gap-y-2", children: allLinks.map((link) => /* @__PURE__ */ jsx(
1245
+ "a",
1246
+ {
1247
+ href: link.href,
1248
+ className: "text-sm font-medium transition-colors hover:text-muted-foreground",
1249
+ children: link.label
1250
+ },
1251
+ link.href
1252
+ )) }),
1253
+ socials && /* @__PURE__ */ jsx(SocialsRow, { socials })
1254
+ ] });
1255
+ }
1256
+ function BrutalFooter({
1257
+ logo,
1258
+ tagline,
1259
+ columns,
1260
+ bottomLeft,
1261
+ bottomRight,
1262
+ variant = "mega",
1263
+ socials,
1264
+ newsletter,
1265
+ className
1266
+ }) {
1267
+ return /* @__PURE__ */ jsx(
1268
+ "footer",
1269
+ {
1270
+ className: cn(
1271
+ "w-full border-t-4 bg-background px-6 py-12 text-foreground",
1272
+ className
1273
+ ),
1274
+ style: { borderTopColor: "hsl(var(--brand))" },
1275
+ children: /* @__PURE__ */ jsxs("div", { className: "brutal-container", children: [
1276
+ variant === "newsletter" && newsletter && /* @__PURE__ */ jsx(NewsletterSection, { newsletter }),
1277
+ variant === "minimal" ? /* @__PURE__ */ jsx(MinimalContent, { logo, columns, socials }) : /* @__PURE__ */ jsx(
1278
+ MegaContent,
1279
+ {
1280
+ logo,
1281
+ tagline,
1282
+ columns,
1283
+ socials
1284
+ }
1285
+ ),
1286
+ /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between border-t-brutal border-foreground pt-6 font-mono text-xs uppercase tracking-widest text-muted-foreground", children: [
1287
+ /* @__PURE__ */ jsx("span", { children: bottomLeft || "Built with care" }),
1288
+ /* @__PURE__ */ jsx("span", { children: bottomRight || (/* @__PURE__ */ new Date()).getFullYear() })
1289
+ ] })
1290
+ ] })
1291
+ }
1292
+ );
1293
+ }
1294
+ function SaaSLaunchTemplate({
1295
+ brand,
1296
+ logo,
1297
+ nav,
1298
+ hero,
1299
+ logos,
1300
+ features,
1301
+ stats,
1302
+ testimonials,
1303
+ pricing,
1304
+ faq,
1305
+ cta,
1306
+ footer
1307
+ }) {
1308
+ return /* @__PURE__ */ jsxs("div", { children: [
1309
+ /* @__PURE__ */ jsx(BrutalNav, { logo, links: nav.links, ctaText: nav.ctaText, ctaHref: nav.ctaHref, variant: "solid" }),
1310
+ /* @__PURE__ */ jsx(
1311
+ BrutalHero,
1312
+ {
1313
+ variant: "split",
1314
+ badge: hero.badge,
1315
+ headline: hero.headline,
1316
+ description: hero.description,
1317
+ ctaText: hero.ctaText,
1318
+ ctaHref: hero.ctaHref,
1319
+ secondaryText: hero.secondaryText,
1320
+ secondaryHref: hero.secondaryHref,
1321
+ visual: hero.visual,
1322
+ proof: hero.proof,
1323
+ color: "brand",
1324
+ pattern: "noise"
1325
+ }
1326
+ ),
1327
+ /* @__PURE__ */ jsx(SectionDivider, { from: "hsl(var(--brand))", to: "hsl(var(--background))", variant: "wave" }),
1328
+ logos && logos.length > 0 && /* @__PURE__ */ jsx(LogoCloud, { logos, marquee: true, title: "Trusted by teams everywhere" }),
1329
+ /* @__PURE__ */ jsx(
1330
+ BrutalFeatureGrid,
1331
+ {
1332
+ variant: "bento",
1333
+ badge: features.badge,
1334
+ headline: features.headline,
1335
+ description: features.description,
1336
+ features: features.items,
1337
+ color: "white"
1338
+ }
1339
+ ),
1340
+ stats && stats.length > 0 && /* @__PURE__ */ jsx(StatsBar, { stats, color: "brand" }),
1341
+ /* @__PURE__ */ jsx(SectionDivider, { from: "hsl(var(--brand))", to: "hsl(var(--brand-muted))", variant: "torn-paper" }),
1342
+ /* @__PURE__ */ jsx(
1343
+ BrutalTestimonials,
1344
+ {
1345
+ variant: "wall-of-love",
1346
+ badge: testimonials.badge,
1347
+ headline: testimonials.headline,
1348
+ testimonials: testimonials.items,
1349
+ color: "brand-muted"
1350
+ }
1351
+ ),
1352
+ /* @__PURE__ */ jsx(SectionDivider, { from: "hsl(var(--brand-muted))", to: "hsl(var(--background))", variant: "wave" }),
1353
+ pricing && /* @__PURE__ */ jsx(
1354
+ PricingTable,
1355
+ {
1356
+ badge: pricing.badge,
1357
+ headline: pricing.headline,
1358
+ description: pricing.description,
1359
+ tiers: pricing.tiers,
1360
+ popularIndex: pricing.popularIndex,
1361
+ color: "white"
1362
+ }
1363
+ ),
1364
+ faq && faq.length > 0 && /* @__PURE__ */ jsx(FAQ, { badge: "FAQ", headline: "Common Questions", items: faq, color: "white" }),
1365
+ /* @__PURE__ */ jsx(
1366
+ BrutalCTA,
1367
+ {
1368
+ variant: "with-visual",
1369
+ headline: cta.headline,
1370
+ description: cta.description,
1371
+ ctaText: cta.ctaText,
1372
+ ctaHref: cta.ctaHref,
1373
+ secondaryText: cta.secondaryText,
1374
+ secondaryHref: cta.secondaryHref,
1375
+ color: "black",
1376
+ pattern: "gradient-mesh"
1377
+ }
1378
+ ),
1379
+ /* @__PURE__ */ jsx(
1380
+ BrutalFooter,
1381
+ {
1382
+ variant: "mega",
1383
+ logo,
1384
+ tagline: footer.tagline,
1385
+ columns: footer.columns,
1386
+ socials: footer.socials
1387
+ }
1388
+ )
1389
+ ] });
1390
+ }
1391
+
1392
+ export { SaaSLaunchTemplate };
1393
+ //# sourceMappingURL=saas-launch.js.map
1394
+ //# sourceMappingURL=saas-launch.js.map