@contractspec/bundle.marketing 1.12.0 → 1.14.0

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 (262) hide show
  1. package/.turbo/turbo-build.log +146 -175
  2. package/.turbo/turbo-prebuild.log +1 -0
  3. package/CHANGELOG.md +57 -0
  4. package/dist/browser/components/marketing/ChangelogPage.js +92 -0
  5. package/dist/browser/components/marketing/CofounderPage.js +581 -0
  6. package/dist/browser/components/marketing/ContactClient.js +1379 -0
  7. package/dist/browser/components/marketing/ContributePage.js +487 -0
  8. package/dist/browser/components/marketing/DesignPartnerPage.js +272 -0
  9. package/dist/browser/components/marketing/LandingPage.js +629 -0
  10. package/dist/browser/components/marketing/PricingClient.js +1972 -0
  11. package/dist/browser/components/marketing/ProductClientPage.js +563 -0
  12. package/dist/browser/components/marketing/index.js +4818 -0
  13. package/dist/browser/components/marketing/pricing-thinking-modal.js +258 -0
  14. package/dist/browser/components/marketing/sections/AudienceSection.js +90 -0
  15. package/dist/browser/components/marketing/sections/CorePositioningSection.js +72 -0
  16. package/dist/browser/components/marketing/sections/CtaSection.js +67 -0
  17. package/dist/browser/components/marketing/sections/DevelopersSection.js +50 -0
  18. package/dist/browser/components/marketing/sections/FearsSection.js +105 -0
  19. package/dist/browser/components/marketing/sections/HeroMarketingSection.js +93 -0
  20. package/dist/browser/components/marketing/sections/IconGridSection.js +63 -0
  21. package/dist/browser/components/marketing/sections/OutputsSection.js +116 -0
  22. package/dist/browser/components/marketing/sections/ProblemSection.js +103 -0
  23. package/dist/browser/components/marketing/sections/SolutionSection.js +103 -0
  24. package/dist/browser/components/marketing/sections/StepsSection.js +109 -0
  25. package/dist/browser/components/marketing/waitlist-section.js +1104 -0
  26. package/dist/browser/components/templates/TemplatesClientPage.js +5662 -0
  27. package/dist/browser/components/templates/TemplatesPage.js +177 -0
  28. package/dist/browser/components/templates/TemplatesPreviewModal.js +124 -0
  29. package/dist/browser/components/templates/index.js +5831 -0
  30. package/dist/browser/index.js +6485 -0
  31. package/dist/browser/libs/email/client.js +122 -0
  32. package/dist/browser/libs/email/contact.js +190 -0
  33. package/dist/browser/libs/email/newsletter.js +215 -0
  34. package/dist/browser/libs/email/types.js +2 -0
  35. package/dist/browser/libs/email/utils.js +16 -0
  36. package/dist/browser/libs/email/waitlist-application.js +295 -0
  37. package/dist/browser/libs/email/waitlist.js +225 -0
  38. package/dist/browser/libs/pricing-examples.js +26 -0
  39. package/dist/browser/registry/engine.js +5293 -0
  40. package/dist/browser/registry/factory.js +52 -0
  41. package/dist/browser/registry/index.js +5358 -0
  42. package/dist/browser/registry/registry-docs.js +343 -0
  43. package/dist/browser/registry/registry-landing.js +4937 -0
  44. package/dist/browser/registry/registry.js +5279 -0
  45. package/dist/browser/registry/types.js +0 -0
  46. package/dist/browser/registry/utils.js +5340 -0
  47. package/dist/components/marketing/ChangelogPage.d.ts +11 -17
  48. package/dist/components/marketing/ChangelogPage.d.ts.map +1 -1
  49. package/dist/components/marketing/ChangelogPage.js +84 -62
  50. package/dist/components/marketing/CofounderPage.d.ts +1 -6
  51. package/dist/components/marketing/CofounderPage.d.ts.map +1 -1
  52. package/dist/components/marketing/CofounderPage.js +544 -436
  53. package/dist/components/marketing/ContactClient.d.ts +1 -6
  54. package/dist/components/marketing/ContactClient.d.ts.map +1 -1
  55. package/dist/components/marketing/ContactClient.js +1371 -155
  56. package/dist/components/marketing/ContributePage.d.ts +3 -8
  57. package/dist/components/marketing/ContributePage.d.ts.map +1 -1
  58. package/dist/components/marketing/ContributePage.js +478 -358
  59. package/dist/components/marketing/DesignPartnerPage.d.ts +3 -8
  60. package/dist/components/marketing/DesignPartnerPage.d.ts.map +1 -1
  61. package/dist/components/marketing/DesignPartnerPage.js +263 -211
  62. package/dist/components/marketing/LandingPage.d.ts +1 -6
  63. package/dist/components/marketing/LandingPage.d.ts.map +1 -1
  64. package/dist/components/marketing/LandingPage.js +623 -37
  65. package/dist/components/marketing/PricingClient.d.ts +1 -6
  66. package/dist/components/marketing/PricingClient.d.ts.map +1 -1
  67. package/dist/components/marketing/PricingClient.js +1962 -516
  68. package/dist/components/marketing/ProductClientPage.d.ts +1 -6
  69. package/dist/components/marketing/ProductClientPage.d.ts.map +1 -1
  70. package/dist/components/marketing/ProductClientPage.js +556 -458
  71. package/dist/components/marketing/index.d.ts +11 -11
  72. package/dist/components/marketing/index.d.ts.map +1 -0
  73. package/dist/components/marketing/index.js +4813 -12
  74. package/dist/components/marketing/pricing-thinking-modal.d.ts +5 -13
  75. package/dist/components/marketing/pricing-thinking-modal.d.ts.map +1 -1
  76. package/dist/components/marketing/pricing-thinking-modal.js +248 -197
  77. package/dist/components/marketing/sections/AudienceSection.d.ts +1 -6
  78. package/dist/components/marketing/sections/AudienceSection.d.ts.map +1 -1
  79. package/dist/components/marketing/sections/AudienceSection.js +80 -63
  80. package/dist/components/marketing/sections/CorePositioningSection.d.ts +1 -6
  81. package/dist/components/marketing/sections/CorePositioningSection.d.ts.map +1 -1
  82. package/dist/components/marketing/sections/CorePositioningSection.js +62 -54
  83. package/dist/components/marketing/sections/CtaSection.d.ts +1 -6
  84. package/dist/components/marketing/sections/CtaSection.d.ts.map +1 -1
  85. package/dist/components/marketing/sections/CtaSection.js +58 -50
  86. package/dist/components/marketing/sections/DevelopersSection.d.ts +1 -6
  87. package/dist/components/marketing/sections/DevelopersSection.d.ts.map +1 -1
  88. package/dist/components/marketing/sections/DevelopersSection.js +40 -40
  89. package/dist/components/marketing/sections/FearsSection.d.ts +1 -6
  90. package/dist/components/marketing/sections/FearsSection.d.ts.map +1 -1
  91. package/dist/components/marketing/sections/FearsSection.js +96 -44
  92. package/dist/components/marketing/sections/HeroMarketingSection.d.ts +1 -6
  93. package/dist/components/marketing/sections/HeroMarketingSection.d.ts.map +1 -1
  94. package/dist/components/marketing/sections/HeroMarketingSection.js +82 -71
  95. package/dist/components/marketing/sections/IconGridSection.d.ts +25 -39
  96. package/dist/components/marketing/sections/IconGridSection.d.ts.map +1 -1
  97. package/dist/components/marketing/sections/IconGridSection.js +55 -41
  98. package/dist/components/marketing/sections/OutputsSection.d.ts +1 -6
  99. package/dist/components/marketing/sections/OutputsSection.d.ts.map +1 -1
  100. package/dist/components/marketing/sections/OutputsSection.js +107 -55
  101. package/dist/components/marketing/sections/ProblemSection.d.ts +1 -6
  102. package/dist/components/marketing/sections/ProblemSection.d.ts.map +1 -1
  103. package/dist/components/marketing/sections/ProblemSection.js +94 -42
  104. package/dist/components/marketing/sections/SolutionSection.d.ts +1 -6
  105. package/dist/components/marketing/sections/SolutionSection.d.ts.map +1 -1
  106. package/dist/components/marketing/sections/SolutionSection.js +94 -42
  107. package/dist/components/marketing/sections/StepsSection.d.ts +1 -6
  108. package/dist/components/marketing/sections/StepsSection.d.ts.map +1 -1
  109. package/dist/components/marketing/sections/StepsSection.js +100 -48
  110. package/dist/components/marketing/waitlist-section.d.ts +5 -12
  111. package/dist/components/marketing/waitlist-section.d.ts.map +1 -1
  112. package/dist/components/marketing/waitlist-section.js +1089 -568
  113. package/dist/components/templates/TemplatesClientPage.d.ts +1 -6
  114. package/dist/components/templates/TemplatesClientPage.d.ts.map +1 -1
  115. package/dist/components/templates/TemplatesClientPage.js +5649 -617
  116. package/dist/components/templates/TemplatesPage.d.ts +1 -6
  117. package/dist/components/templates/TemplatesPage.d.ts.map +1 -1
  118. package/dist/components/templates/TemplatesPage.js +163 -116
  119. package/dist/components/templates/TemplatesPreviewModal.d.ts +5 -12
  120. package/dist/components/templates/TemplatesPreviewModal.d.ts.map +1 -1
  121. package/dist/components/templates/TemplatesPreviewModal.js +113 -131
  122. package/dist/components/templates/index.d.ts +4 -4
  123. package/dist/components/templates/index.d.ts.map +1 -0
  124. package/dist/components/templates/index.js +5825 -4
  125. package/dist/index.d.ts +9 -29
  126. package/dist/index.d.ts.map +1 -0
  127. package/dist/index.js +6480 -28
  128. package/dist/libs/email/client.d.ts +9 -12
  129. package/dist/libs/email/client.d.ts.map +1 -1
  130. package/dist/libs/email/client.js +109 -105
  131. package/dist/libs/email/client.test.d.ts +2 -0
  132. package/dist/libs/email/client.test.d.ts.map +1 -0
  133. package/dist/libs/email/contact.d.ts +2 -6
  134. package/dist/libs/email/contact.d.ts.map +1 -1
  135. package/dist/libs/email/contact.js +155 -41
  136. package/dist/libs/email/newsletter.d.ts +2 -6
  137. package/dist/libs/email/newsletter.d.ts.map +1 -1
  138. package/dist/libs/email/newsletter.js +169 -54
  139. package/dist/libs/email/types.d.ts +48 -52
  140. package/dist/libs/email/types.d.ts.map +1 -1
  141. package/dist/libs/email/types.js +3 -1
  142. package/dist/libs/email/utils.d.ts +2 -5
  143. package/dist/libs/email/utils.d.ts.map +1 -1
  144. package/dist/libs/email/utils.js +10 -6
  145. package/dist/libs/email/waitlist-application.d.ts +2 -6
  146. package/dist/libs/email/waitlist-application.d.ts.map +1 -1
  147. package/dist/libs/email/waitlist-application.js +191 -71
  148. package/dist/libs/email/waitlist.d.ts +2 -6
  149. package/dist/libs/email/waitlist.d.ts.map +1 -1
  150. package/dist/libs/email/waitlist.js +171 -56
  151. package/dist/libs/pricing-examples.d.ts +13 -16
  152. package/dist/libs/pricing-examples.d.ts.map +1 -1
  153. package/dist/libs/pricing-examples.js +20 -20
  154. package/dist/node/components/marketing/ChangelogPage.js +87 -0
  155. package/dist/node/components/marketing/CofounderPage.js +576 -0
  156. package/dist/node/components/marketing/ContactClient.js +1374 -0
  157. package/dist/node/components/marketing/ContributePage.js +482 -0
  158. package/dist/node/components/marketing/DesignPartnerPage.js +267 -0
  159. package/dist/node/components/marketing/LandingPage.js +624 -0
  160. package/dist/node/components/marketing/PricingClient.js +1967 -0
  161. package/dist/node/components/marketing/ProductClientPage.js +558 -0
  162. package/dist/node/components/marketing/index.js +4813 -0
  163. package/dist/node/components/marketing/pricing-thinking-modal.js +253 -0
  164. package/dist/node/components/marketing/sections/AudienceSection.js +85 -0
  165. package/dist/node/components/marketing/sections/CorePositioningSection.js +67 -0
  166. package/dist/node/components/marketing/sections/CtaSection.js +62 -0
  167. package/dist/node/components/marketing/sections/DevelopersSection.js +45 -0
  168. package/dist/node/components/marketing/sections/FearsSection.js +100 -0
  169. package/dist/node/components/marketing/sections/HeroMarketingSection.js +88 -0
  170. package/dist/node/components/marketing/sections/IconGridSection.js +58 -0
  171. package/dist/node/components/marketing/sections/OutputsSection.js +111 -0
  172. package/dist/node/components/marketing/sections/ProblemSection.js +98 -0
  173. package/dist/node/components/marketing/sections/SolutionSection.js +98 -0
  174. package/dist/node/components/marketing/sections/StepsSection.js +104 -0
  175. package/dist/node/components/marketing/waitlist-section.js +1099 -0
  176. package/dist/node/components/templates/TemplatesClientPage.js +5657 -0
  177. package/dist/node/components/templates/TemplatesPage.js +172 -0
  178. package/dist/node/components/templates/TemplatesPreviewModal.js +119 -0
  179. package/dist/node/components/templates/index.js +5826 -0
  180. package/dist/node/index.js +6480 -0
  181. package/dist/node/libs/email/client.js +117 -0
  182. package/dist/node/libs/email/contact.js +185 -0
  183. package/dist/node/libs/email/newsletter.js +210 -0
  184. package/dist/node/libs/email/types.js +2 -0
  185. package/dist/node/libs/email/utils.js +11 -0
  186. package/dist/node/libs/email/waitlist-application.js +290 -0
  187. package/dist/node/libs/email/waitlist.js +220 -0
  188. package/dist/node/libs/pricing-examples.js +21 -0
  189. package/dist/node/registry/engine.js +5288 -0
  190. package/dist/node/registry/factory.js +47 -0
  191. package/dist/node/registry/index.js +5353 -0
  192. package/dist/node/registry/registry-docs.js +338 -0
  193. package/dist/node/registry/registry-landing.js +4932 -0
  194. package/dist/node/registry/registry.js +5274 -0
  195. package/dist/node/registry/types.js +0 -0
  196. package/dist/node/registry/utils.js +5335 -0
  197. package/dist/registry/engine.d.ts +4 -8
  198. package/dist/registry/engine.d.ts.map +1 -1
  199. package/dist/registry/engine.js +5287 -23
  200. package/dist/registry/factory.d.ts +30 -34
  201. package/dist/registry/factory.d.ts.map +1 -1
  202. package/dist/registry/factory.js +42 -56
  203. package/dist/registry/index.d.ts +8 -8
  204. package/dist/registry/index.d.ts.map +1 -0
  205. package/dist/registry/index.js +5353 -8
  206. package/dist/registry/registry-docs.d.ts +4 -8
  207. package/dist/registry/registry-docs.d.ts.map +1 -1
  208. package/dist/registry/registry-docs.js +242 -209
  209. package/dist/registry/registry-landing.d.ts +5 -9
  210. package/dist/registry/registry-landing.d.ts.map +1 -1
  211. package/dist/registry/registry-landing.js +4930 -93
  212. package/dist/registry/registry.d.ts +7 -11
  213. package/dist/registry/registry.d.ts.map +1 -1
  214. package/dist/registry/registry.js +5262 -49
  215. package/dist/registry/types.d.ts +6 -10
  216. package/dist/registry/types.d.ts.map +1 -1
  217. package/dist/registry/types.js +1 -0
  218. package/dist/registry/utils.d.ts +10 -14
  219. package/dist/registry/utils.d.ts.map +1 -1
  220. package/dist/registry/utils.js +5330 -49
  221. package/package.json +355 -73
  222. package/tsdown.config.js +1 -2
  223. package/.turbo/turbo-build$colon$types.log +0 -1
  224. package/.turbo/turbo-lint.log +0 -3
  225. package/dist/components/marketing/ChangelogPage.js.map +0 -1
  226. package/dist/components/marketing/CofounderPage.js.map +0 -1
  227. package/dist/components/marketing/ContactClient.js.map +0 -1
  228. package/dist/components/marketing/ContributePage.js.map +0 -1
  229. package/dist/components/marketing/DesignPartnerPage.js.map +0 -1
  230. package/dist/components/marketing/LandingPage.js.map +0 -1
  231. package/dist/components/marketing/PricingClient.js.map +0 -1
  232. package/dist/components/marketing/ProductClientPage.js.map +0 -1
  233. package/dist/components/marketing/pricing-thinking-modal.js.map +0 -1
  234. package/dist/components/marketing/sections/AudienceSection.js.map +0 -1
  235. package/dist/components/marketing/sections/CorePositioningSection.js.map +0 -1
  236. package/dist/components/marketing/sections/CtaSection.js.map +0 -1
  237. package/dist/components/marketing/sections/DevelopersSection.js.map +0 -1
  238. package/dist/components/marketing/sections/FearsSection.js.map +0 -1
  239. package/dist/components/marketing/sections/HeroMarketingSection.js.map +0 -1
  240. package/dist/components/marketing/sections/IconGridSection.js.map +0 -1
  241. package/dist/components/marketing/sections/OutputsSection.js.map +0 -1
  242. package/dist/components/marketing/sections/ProblemSection.js.map +0 -1
  243. package/dist/components/marketing/sections/SolutionSection.js.map +0 -1
  244. package/dist/components/marketing/sections/StepsSection.js.map +0 -1
  245. package/dist/components/marketing/waitlist-section.js.map +0 -1
  246. package/dist/components/templates/TemplatesClientPage.js.map +0 -1
  247. package/dist/components/templates/TemplatesPage.js.map +0 -1
  248. package/dist/components/templates/TemplatesPreviewModal.js.map +0 -1
  249. package/dist/libs/email/client.js.map +0 -1
  250. package/dist/libs/email/contact.js.map +0 -1
  251. package/dist/libs/email/newsletter.js.map +0 -1
  252. package/dist/libs/email/utils.js.map +0 -1
  253. package/dist/libs/email/waitlist-application.js.map +0 -1
  254. package/dist/libs/email/waitlist.js.map +0 -1
  255. package/dist/libs/pricing-examples.js.map +0 -1
  256. package/dist/registry/engine.js.map +0 -1
  257. package/dist/registry/factory.js.map +0 -1
  258. package/dist/registry/registry-docs.js.map +0 -1
  259. package/dist/registry/registry-landing.js.map +0 -1
  260. package/dist/registry/registry.js.map +0 -1
  261. package/dist/registry/utils.js.map +0 -1
  262. package/tsconfig.tsbuildinfo +0 -1
@@ -0,0 +1,629 @@
1
+ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
2
+ get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
3
+ }) : x)(function(x) {
4
+ if (typeof require !== "undefined")
5
+ return require.apply(this, arguments);
6
+ throw Error('Dynamic require of "' + x + '" is not supported');
7
+ });
8
+
9
+ // src/components/marketing/sections/HeroMarketingSection.tsx
10
+ import { ButtonLink, MarketingSection } from "@contractspec/lib.design-system";
11
+ import {
12
+ analyticsEventNames,
13
+ captureAnalyticsEvent
14
+ } from "@contractspec/bundle.library/libs/posthog/client";
15
+ import { Box, HStack, VStack } from "@contractspec/lib.ui-kit-web/ui/stack";
16
+ import { H1, Lead, Small } from "@contractspec/lib.ui-kit-web/ui/typography";
17
+ import { ChevronRight } from "lucide-react";
18
+ import { jsxDEV } from "react/jsx-dev-runtime";
19
+ "use client";
20
+ var heroChips = ["Multi-Surface Sync", "No Lock-in", "Standard Tech"];
21
+ function HeroMarketingSection() {
22
+ return /* @__PURE__ */ jsxDEV(MarketingSection, {
23
+ tone: "gradient",
24
+ padding: "spacious",
25
+ align: "center",
26
+ children: /* @__PURE__ */ jsxDEV(VStack, {
27
+ gap: "lg",
28
+ align: "center",
29
+ className: "text-center",
30
+ children: [
31
+ /* @__PURE__ */ jsxDEV(Box, {
32
+ as: "div",
33
+ role: "presentation",
34
+ className: "bg-muted text-muted-foreground inline-flex items-center rounded-full px-3 py-1 text-xs font-medium tracking-wider uppercase",
35
+ children: "Open Source Core"
36
+ }, undefined, false, undefined, this),
37
+ /* @__PURE__ */ jsxDEV(H1, {
38
+ className: "text-4xl leading-tight font-bold text-balance md:text-5xl",
39
+ children: "Stabilize your AI-generated code"
40
+ }, undefined, false, undefined, this),
41
+ /* @__PURE__ */ jsxDEV(Lead, {
42
+ className: "text-muted-foreground text-lg text-balance md:text-xl",
43
+ children: "ContractSpec is the compiler that keeps AI-written software coherent, safe, and regenerable. You keep your app. You own the code. One module at a time."
44
+ }, undefined, false, undefined, this),
45
+ /* @__PURE__ */ jsxDEV(HStack, {
46
+ gap: "md",
47
+ justify: "center",
48
+ wrap: "wrap",
49
+ children: [
50
+ /* @__PURE__ */ jsxDEV(ButtonLink, {
51
+ href: "/install",
52
+ onClick: () => captureAnalyticsEvent(analyticsEventNames.CTA_INSTALL_CLICK, {
53
+ surface: "hero"
54
+ }),
55
+ children: [
56
+ "Install OSS ",
57
+ /* @__PURE__ */ jsxDEV(ChevronRight, {
58
+ size: 16
59
+ }, undefined, false, undefined, this)
60
+ ]
61
+ }, undefined, true, undefined, this),
62
+ /* @__PURE__ */ jsxDEV(ButtonLink, {
63
+ variant: "ghost",
64
+ href: "/contact#waitlist",
65
+ onClick: () => captureAnalyticsEvent(analyticsEventNames.CTA_STUDIO_CLICK, {
66
+ surface: "hero"
67
+ }),
68
+ children: "Join Studio Waitlist"
69
+ }, undefined, false, undefined, this)
70
+ ]
71
+ }, undefined, true, undefined, this),
72
+ /* @__PURE__ */ jsxDEV(HStack, {
73
+ gap: "sm",
74
+ justify: "center",
75
+ wrap: "wrap",
76
+ className: "pt-2",
77
+ children: heroChips.map((chip) => /* @__PURE__ */ jsxDEV(Box, {
78
+ as: "div",
79
+ role: "presentation",
80
+ className: "border-border text-foreground inline-flex items-center rounded-full border px-3 py-1 text-sm",
81
+ children: /* @__PURE__ */ jsxDEV(Small, {
82
+ className: "font-medium",
83
+ children: chip
84
+ }, undefined, false, undefined, this)
85
+ }, chip, false, undefined, this))
86
+ }, undefined, false, undefined, this)
87
+ ]
88
+ }, undefined, true, undefined, this)
89
+ }, undefined, false, undefined, this);
90
+ }
91
+
92
+ // src/components/marketing/sections/IconGridSection.tsx
93
+ import { cva } from "class-variance-authority";
94
+ import {
95
+ MarketingCardsSection,
96
+ MarketingIconCard
97
+ } from "@contractspec/lib.design-system";
98
+ import { Muted } from "@contractspec/lib.ui-kit-web/ui/typography";
99
+ import { jsxDEV as jsxDEV2 } from "react/jsx-dev-runtime";
100
+ var itemVariants = cva("", {
101
+ variants: {
102
+ iconRole: {
103
+ iconFirst: "",
104
+ listing: "items-start",
105
+ support: "items-start"
106
+ }
107
+ },
108
+ defaultVariants: { iconRole: "iconFirst" }
109
+ });
110
+ function IconGridSection({
111
+ eyebrow,
112
+ title,
113
+ subtitle,
114
+ items,
115
+ tone = "default",
116
+ padding,
117
+ columns = 3,
118
+ iconRole = "iconFirst"
119
+ }) {
120
+ return /* @__PURE__ */ jsxDEV2(MarketingCardsSection, {
121
+ tone,
122
+ padding,
123
+ eyebrow: eyebrow ? /* @__PURE__ */ jsxDEV2(Muted, {
124
+ className: "text-xs font-semibold tracking-[0.2em] uppercase",
125
+ children: eyebrow
126
+ }, undefined, false, undefined, this) : null,
127
+ title,
128
+ subtitle: subtitle ? /* @__PURE__ */ jsxDEV2(Muted, {
129
+ className: "text-lg",
130
+ children: subtitle
131
+ }, undefined, false, undefined, this) : null,
132
+ columns,
133
+ children: items.map((card) => /* @__PURE__ */ jsxDEV2(MarketingIconCard, {
134
+ icon: card.icon,
135
+ title: card.title,
136
+ description: card.description,
137
+ tone: card.tone,
138
+ iconClassName: card.iconClassName,
139
+ variant: iconRole === "listing" ? "listing" : iconRole === "support" ? "support" : "iconFirst",
140
+ className: itemVariants({ iconRole })
141
+ }, card.title, false, undefined, this))
142
+ }, undefined, false, undefined, this);
143
+ }
144
+
145
+ // src/components/marketing/sections/ProblemSection.tsx
146
+ import { AlertTriangle, Layers, RefreshCw, XCircle } from "lucide-react";
147
+ import { jsxDEV as jsxDEV3 } from "react/jsx-dev-runtime";
148
+ var problemItems = [
149
+ {
150
+ icon: AlertTriangle,
151
+ title: "Can't enforce invariants",
152
+ description: "AI-generated code drifts from business rules over time. No source of truth means no safety.",
153
+ iconClassName: "text-red-400"
154
+ },
155
+ {
156
+ icon: Layers,
157
+ title: "Multi-surface chaos",
158
+ description: "API, DB, UI, and events get out of sync. One change breaks three surfaces.",
159
+ iconClassName: "text-orange-400"
160
+ },
161
+ {
162
+ icon: RefreshCw,
163
+ title: "Hallucinated refactors",
164
+ description: 'AI "improvements" introduce subtle bugs and break contracts you didn’t know existed.',
165
+ iconClassName: "text-amber-400"
166
+ },
167
+ {
168
+ icon: XCircle,
169
+ title: "Unmaintainable spaghetti",
170
+ description: "Teams ship fast initially, then spend months untangling AI-generated chaos.",
171
+ iconClassName: "text-red-400"
172
+ }
173
+ ];
174
+ function ProblemSection() {
175
+ return /* @__PURE__ */ jsxDEV3(IconGridSection, {
176
+ tone: "muted",
177
+ columns: 4,
178
+ eyebrow: "The Problem",
179
+ title: "AI agents write code fast. Then the chaos begins.",
180
+ subtitle: 'In 2025, "vibe coding" and AI agents generate enormous amounts of code. But they have critical limitations that destroy long-term maintainability.',
181
+ items: problemItems
182
+ }, undefined, false, undefined, this);
183
+ }
184
+
185
+ // src/components/marketing/sections/SolutionSection.tsx
186
+ import { FileCode, Layers as Layers2, RefreshCw as RefreshCw2, Shield } from "lucide-react";
187
+ import { jsxDEV as jsxDEV4 } from "react/jsx-dev-runtime";
188
+ var solutionItems = [
189
+ {
190
+ icon: FileCode,
191
+ title: "Canonical Source of Truth",
192
+ description: "Contracts define what the system should do, not just what it does. AI agents read specs, not implementations.",
193
+ iconClassName: "text-emerald-400"
194
+ },
195
+ {
196
+ icon: Layers2,
197
+ title: "Multi-Surface Consistency",
198
+ description: "One spec generates API, DB, UI, events, and MCP tools. All surfaces stay in sync because they share the same source.",
199
+ iconClassName: "text-blue-400"
200
+ },
201
+ {
202
+ icon: RefreshCw2,
203
+ title: "Safe Regeneration",
204
+ description: "Regenerate code anytime without fear. Specs enforce invariants. Breaking changes caught at compile time.",
205
+ iconClassName: "text-violet-400"
206
+ },
207
+ {
208
+ icon: Shield,
209
+ title: "AI Governance",
210
+ description: "Constrain what AI agents can change. Enforce contracts they must respect. Flag violations automatically.",
211
+ iconClassName: "text-pink-400"
212
+ }
213
+ ];
214
+ function SolutionSection() {
215
+ return /* @__PURE__ */ jsxDEV4(IconGridSection, {
216
+ tone: "default",
217
+ columns: 4,
218
+ eyebrow: "The Solution",
219
+ title: "ContractSpec: The safety layer for AI-coded systems",
220
+ subtitle: "Define contracts once. Generate consistent code across all surfaces. Regenerate safely anytime. No lock-in.",
221
+ items: solutionItems
222
+ }, undefined, false, undefined, this);
223
+ }
224
+
225
+ // src/components/marketing/sections/FearsSection.tsx
226
+ import { CheckCircle, Code, Unlock, Zap } from "lucide-react";
227
+ import { jsxDEV as jsxDEV5 } from "react/jsx-dev-runtime";
228
+ var fears = [
229
+ {
230
+ title: '"I already have an app"',
231
+ body: "ContractSpec works with existing codebases. You don't start over — you stabilize incrementally, one module at a time. Start with one API endpoint, one data model, one contract.",
232
+ icon: CheckCircle
233
+ },
234
+ {
235
+ title: '"Vendor lock-in / losing ownership"',
236
+ body: "You own the generated code. It's standard TypeScript, standard SQL, standard GraphQL. ContractSpec is a compiler — like TypeScript itself. You can eject anytime.",
237
+ icon: Unlock
238
+ },
239
+ {
240
+ title: '"Adoption cost / learning curve"',
241
+ body: "Specs are just TypeScript. If you can write z.object({ name: z.string() }), you can write a ContractSpec. No new language, no magic DSL, no YAML.",
242
+ icon: Code
243
+ },
244
+ {
245
+ title: '"Forced migrations / magical runtime"',
246
+ body: "ContractSpec generates plain code you can read, debug, and modify. There's no proprietary runtime. Migrations are explicit, reversible, and in your control.",
247
+ icon: Zap
248
+ }
249
+ ];
250
+ function FearsSection() {
251
+ return /* @__PURE__ */ jsxDEV5(IconGridSection, {
252
+ tone: "muted",
253
+ columns: 2,
254
+ eyebrow: "We Get It",
255
+ title: "Your fears, addressed",
256
+ subtitle: "We know what you're thinking. Here's why those concerns don't apply to ContractSpec.",
257
+ iconRole: "support",
258
+ items: fears.map((item) => ({
259
+ icon: item.icon,
260
+ title: item.title,
261
+ description: item.body,
262
+ iconClassName: "text-violet-400"
263
+ }))
264
+ }, undefined, false, undefined, this);
265
+ }
266
+
267
+ // src/components/marketing/sections/CorePositioningSection.tsx
268
+ import { MarketingSection as MarketingSection2, ButtonLink as ButtonLink2 } from "@contractspec/lib.design-system";
269
+ import { VStack as VStack2 } from "@contractspec/lib.ui-kit-web/ui/stack";
270
+ import { H2, Lead as Lead2, Small as Small2 } from "@contractspec/lib.ui-kit-web/ui/typography";
271
+ import { ChevronRight as ChevronRight2 } from "lucide-react";
272
+ import { jsxDEV as jsxDEV6 } from "react/jsx-dev-runtime";
273
+ function CorePositioningSection() {
274
+ return /* @__PURE__ */ jsxDEV6(MarketingSection2, {
275
+ tone: "gradient",
276
+ padding: "comfortable",
277
+ align: "center",
278
+ maxWidth: "lg",
279
+ children: /* @__PURE__ */ jsxDEV6(VStack2, {
280
+ gap: "md",
281
+ align: "center",
282
+ children: [
283
+ /* @__PURE__ */ jsxDEV6(H2, {
284
+ className: "text-center text-3xl font-bold md:text-4xl",
285
+ children: [
286
+ "You keep your app.",
287
+ /* @__PURE__ */ jsxDEV6("br", {}, undefined, false, undefined, this),
288
+ "We stabilize it, one module at a time."
289
+ ]
290
+ }, undefined, true, undefined, this),
291
+ /* @__PURE__ */ jsxDEV6(Lead2, {
292
+ className: "text-center",
293
+ children: [
294
+ "You own the code. It's standard tech.",
295
+ /* @__PURE__ */ jsxDEV6("br", {}, undefined, false, undefined, this),
296
+ /* @__PURE__ */ jsxDEV6(Small2, {
297
+ className: "font-semibold text-violet-400",
298
+ children: "We're the compiler, not the prison."
299
+ }, undefined, false, undefined, this)
300
+ ]
301
+ }, undefined, true, undefined, this),
302
+ /* @__PURE__ */ jsxDEV6(VStack2, {
303
+ as: "div",
304
+ gap: "sm",
305
+ align: "center",
306
+ className: "pt-2 sm:flex sm:flex-row sm:flex-wrap sm:items-center sm:justify-center",
307
+ children: [
308
+ /* @__PURE__ */ jsxDEV6(ButtonLink2, {
309
+ href: "/pricing#waitlist",
310
+ children: [
311
+ "Join waitlist ",
312
+ /* @__PURE__ */ jsxDEV6(ChevronRight2, {
313
+ size: 16
314
+ }, undefined, false, undefined, this)
315
+ ]
316
+ }, undefined, true, undefined, this),
317
+ /* @__PURE__ */ jsxDEV6(ButtonLink2, {
318
+ variant: "ghost",
319
+ href: "/contact",
320
+ children: "Book a call"
321
+ }, undefined, false, undefined, this)
322
+ ]
323
+ }, undefined, true, undefined, this)
324
+ ]
325
+ }, undefined, true, undefined, this)
326
+ }, undefined, false, undefined, this);
327
+ }
328
+
329
+ // src/components/marketing/sections/AudienceSection.tsx
330
+ import {
331
+ MarketingCard,
332
+ MarketingCardContent,
333
+ MarketingCardHeader,
334
+ MarketingCardTitle,
335
+ MarketingCardsSection as MarketingCardsSection2
336
+ } from "@contractspec/lib.design-system";
337
+ import { VStack as VStack3 } from "@contractspec/lib.ui-kit-web/ui/stack";
338
+ import { Muted as Muted2, Small as Small3 } from "@contractspec/lib.ui-kit-web/ui/typography";
339
+ import { jsxDEV as jsxDEV7 } from "react/jsx-dev-runtime";
340
+ var audiences = [
341
+ {
342
+ tier: "Tier 1: Priority",
343
+ title: "AI-Native Startups & Technical Founders",
344
+ body: "Solo founders or small teams using Cursor, Copilot, Claude, or AI agents heavily. Messy AI-generated backends and frontends, inconsistent APIs, code that is hard to refactor.",
345
+ need: "Need: A way to stabilize AI-generated code without rewriting it."
346
+ },
347
+ {
348
+ tier: "Tier 1: Priority",
349
+ title: "Small Teams with AI-Generated Chaos",
350
+ body: "2-10 person teams that shipped fast with AI and now have tech debt. Multiple surfaces out of sync, no source of truth, afraid to touch AI-generated code.",
351
+ need: "Need: Incremental stabilization, safe regeneration, contracts as guardrails."
352
+ },
353
+ {
354
+ tier: "Tier 2: Growth",
355
+ title: "AI Dev Agencies",
356
+ body: "Agencies building many projects for clients using AI-assisted development. Repeating the same patterns, inconsistent quality across projects, handoff nightmares.",
357
+ need: "Need: Reusable templates, consistent contracts, professional handoff artifacts."
358
+ },
359
+ {
360
+ tier: "Tier 2: Growth",
361
+ title: "Scaleups with Compliance Needs",
362
+ body: "Growing companies that need audit trails, API governance, or regulatory compliance. AI-generated code doesn't meet compliance requirements.",
363
+ need: "Need: Governance layer, change tracking, contract enforcement."
364
+ }
365
+ ];
366
+ function AudienceSection() {
367
+ return /* @__PURE__ */ jsxDEV7(MarketingCardsSection2, {
368
+ tone: "default",
369
+ columns: 2,
370
+ eyebrow: "Who It's For",
371
+ title: "Built for teams drowning in AI-generated code",
372
+ maxWidth: "xl",
373
+ children: audiences.map((item) => /* @__PURE__ */ jsxDEV7(MarketingCard, {
374
+ tone: "muted",
375
+ children: [
376
+ /* @__PURE__ */ jsxDEV7(MarketingCardHeader, {
377
+ className: "space-y-2",
378
+ children: [
379
+ /* @__PURE__ */ jsxDEV7(Small3, {
380
+ className: "font-semibold text-blue-400",
381
+ children: item.tier
382
+ }, undefined, false, undefined, this),
383
+ /* @__PURE__ */ jsxDEV7(MarketingCardTitle, {
384
+ className: "text-xl",
385
+ children: item.title
386
+ }, undefined, false, undefined, this)
387
+ ]
388
+ }, undefined, true, undefined, this),
389
+ /* @__PURE__ */ jsxDEV7(MarketingCardContent, {
390
+ children: /* @__PURE__ */ jsxDEV7(VStack3, {
391
+ gap: "sm",
392
+ children: [
393
+ /* @__PURE__ */ jsxDEV7(Muted2, {
394
+ className: "text-sm leading-relaxed",
395
+ children: item.body
396
+ }, undefined, false, undefined, this),
397
+ /* @__PURE__ */ jsxDEV7(Small3, {
398
+ className: "font-medium text-violet-400",
399
+ children: item.need
400
+ }, undefined, false, undefined, this)
401
+ ]
402
+ }, undefined, true, undefined, this)
403
+ }, undefined, false, undefined, this)
404
+ ]
405
+ }, item.title, true, undefined, this))
406
+ }, undefined, false, undefined, this);
407
+ }
408
+
409
+ // src/components/marketing/sections/OutputsSection.tsx
410
+ import { jsxDEV as jsxDEV8 } from "react/jsx-dev-runtime";
411
+ var outputs = [
412
+ {
413
+ title: "REST API",
414
+ description: "Type-safe endpoints with validation. Standard Express/Hono/Elysia handlers.",
415
+ icon: "\uD83D\uDD0C"
416
+ },
417
+ {
418
+ title: "GraphQL Schema",
419
+ description: "Automatically generated resolvers. Standard Pothos/Apollo output.",
420
+ icon: "\uD83D\uDCCA"
421
+ },
422
+ {
423
+ title: "Database Schema",
424
+ description: "Prisma migrations and types. Standard SQL underneath.",
425
+ icon: "\uD83D\uDDC4️"
426
+ },
427
+ {
428
+ title: "MCP Tools",
429
+ description: "AI agent tool definitions. Works with Claude, GPT, and any MCP client.",
430
+ icon: "\uD83E\uDD16"
431
+ },
432
+ {
433
+ title: "Client SDKs",
434
+ description: "Type-safe API clients. Standard fetch/axios underneath.",
435
+ icon: "\uD83D\uDCE6"
436
+ },
437
+ {
438
+ title: "UI Components",
439
+ description: "React forms and views from specs. Standard JSX output.",
440
+ icon: "\uD83C\uDFA8"
441
+ }
442
+ ];
443
+ function OutputsSection() {
444
+ return /* @__PURE__ */ jsxDEV8(IconGridSection, {
445
+ tone: "muted",
446
+ columns: 3,
447
+ title: "What ContractSpec generates",
448
+ subtitle: "One contract, multiple outputs. All in sync. All standard tech.",
449
+ iconRole: "iconFirst",
450
+ items: outputs.map((item) => ({
451
+ icon: () => /* @__PURE__ */ jsxDEV8("span", {
452
+ "aria-hidden": true,
453
+ className: "text-3xl",
454
+ children: item.icon
455
+ }, undefined, false, undefined, this),
456
+ title: item.title,
457
+ description: item.description
458
+ }))
459
+ }, undefined, false, undefined, this);
460
+ }
461
+
462
+ // src/components/marketing/sections/StepsSection.tsx
463
+ import { jsxDEV as jsxDEV9 } from "react/jsx-dev-runtime";
464
+ var steps = [
465
+ {
466
+ step: 1,
467
+ title: "Pick one module",
468
+ description: "Start with one API endpoint, one entity, one surface. No big-bang migration."
469
+ },
470
+ {
471
+ step: 2,
472
+ title: "Define the contract",
473
+ description: "Write a spec in TypeScript. Just types and Zod schemas you already know."
474
+ },
475
+ {
476
+ step: 3,
477
+ title: "Generate & compare",
478
+ description: "See what ContractSpec generates. Compare to your existing code. Keep what works."
479
+ },
480
+ {
481
+ step: 4,
482
+ title: "Expand gradually",
483
+ description: "Add more contracts as you see value. No pressure. No lock-in. Your pace."
484
+ }
485
+ ];
486
+ function StepsSection() {
487
+ return /* @__PURE__ */ jsxDEV9(IconGridSection, {
488
+ tone: "default",
489
+ columns: 4,
490
+ title: "How incremental adoption works",
491
+ padding: "comfortable",
492
+ iconRole: "listing",
493
+ items: steps.map((item) => ({
494
+ icon: ({ className }) => /* @__PURE__ */ jsxDEV9("div", {
495
+ className: `bg-primary/15 flex h-10 w-10 items-center justify-center rounded-lg ${className ?? ""}`,
496
+ children: /* @__PURE__ */ jsxDEV9("span", {
497
+ className: "text-primary text-sm font-semibold",
498
+ children: item.step
499
+ }, undefined, false, undefined, this)
500
+ }, undefined, false, undefined, this),
501
+ title: item.title,
502
+ description: item.description,
503
+ tone: "muted"
504
+ }))
505
+ }, undefined, false, undefined, this);
506
+ }
507
+
508
+ // src/components/marketing/sections/DevelopersSection.tsx
509
+ import {
510
+ ButtonLink as ButtonLink3,
511
+ MarketingComparisonSection
512
+ } from "@contractspec/lib.design-system";
513
+ import { jsxDEV as jsxDEV10 } from "react/jsx-dev-runtime";
514
+ var standardTech = [
515
+ "TypeScript & Zod — schemas you already know",
516
+ "Prisma — standard database access",
517
+ "GraphQL or REST — your choice",
518
+ "React or any UI framework",
519
+ "Bun, Node, Deno — all supported"
520
+ ];
521
+ var noMagic = [
522
+ "Generated code is readable & modifiable",
523
+ "No proprietary runtime dependencies",
524
+ "Eject anytime, keep everything",
525
+ "Works with your existing CI/CD",
526
+ "Open spec format"
527
+ ];
528
+ function DevelopersSection() {
529
+ return /* @__PURE__ */ jsxDEV10(MarketingComparisonSection, {
530
+ tone: "muted",
531
+ title: "Built for developers",
532
+ padding: "comfortable",
533
+ left: { title: "Standard Tech Stack", items: standardTech },
534
+ right: { title: "No Magic, No Lock-in", items: noMagic },
535
+ subtitle: /* @__PURE__ */ jsxDEV10(ButtonLink3, {
536
+ href: "/docs",
537
+ children: [
538
+ "Read the docs ",
539
+ /* @__PURE__ */ jsxDEV10("span", {
540
+ "aria-hidden": true,
541
+ children: "→"
542
+ }, undefined, false, undefined, this)
543
+ ]
544
+ }, undefined, true, undefined, this)
545
+ }, undefined, false, undefined, this);
546
+ }
547
+
548
+ // src/components/marketing/sections/CtaSection.tsx
549
+ import { MarketingSection as MarketingSection3, ButtonLink as ButtonLink4 } from "@contractspec/lib.design-system";
550
+ import {
551
+ analyticsEventNames as analyticsEventNames2,
552
+ captureAnalyticsEvent as captureAnalyticsEvent2
553
+ } from "@contractspec/bundle.library/libs/posthog/client";
554
+ import { VStack as VStack4 } from "@contractspec/lib.ui-kit-web/ui/stack";
555
+ import { H2 as H22, Lead as Lead3 } from "@contractspec/lib.ui-kit-web/ui/typography";
556
+ import { jsxDEV as jsxDEV11 } from "react/jsx-dev-runtime";
557
+ function CtaSection() {
558
+ return /* @__PURE__ */ jsxDEV11(MarketingSection3, {
559
+ tone: "gradient",
560
+ padding: "comfortable",
561
+ align: "center",
562
+ maxWidth: "lg",
563
+ children: /* @__PURE__ */ jsxDEV11(VStack4, {
564
+ gap: "md",
565
+ align: "center",
566
+ className: "text-center",
567
+ children: [
568
+ /* @__PURE__ */ jsxDEV11(H22, {
569
+ className: "text-4xl font-bold md:text-5xl",
570
+ children: "Ready to stabilize your codebase?"
571
+ }, undefined, false, undefined, this),
572
+ /* @__PURE__ */ jsxDEV11(Lead3, {
573
+ className: "text-muted-foreground text-lg",
574
+ children: "Start with one module. See the difference. Expand at your own pace."
575
+ }, undefined, false, undefined, this),
576
+ /* @__PURE__ */ jsxDEV11(VStack4, {
577
+ as: "div",
578
+ gap: "sm",
579
+ align: "center",
580
+ className: "pt-2 sm:flex sm:flex-row sm:flex-wrap sm:items-center sm:justify-center",
581
+ children: [
582
+ /* @__PURE__ */ jsxDEV11(ButtonLink4, {
583
+ href: "/pricing#waitlist",
584
+ onClick: () => captureAnalyticsEvent2(analyticsEventNames2.CTA_STUDIO_CLICK, {
585
+ surface: "cta-section"
586
+ }),
587
+ children: "Join waitlist"
588
+ }, undefined, false, undefined, this),
589
+ /* @__PURE__ */ jsxDEV11(ButtonLink4, {
590
+ variant: "ghost",
591
+ href: "/contact",
592
+ onClick: () => captureAnalyticsEvent2(analyticsEventNames2.CTA_STUDIO_CLICK, {
593
+ surface: "cta-section",
594
+ variant: "contact"
595
+ }),
596
+ children: "Book a call"
597
+ }, undefined, false, undefined, this)
598
+ ]
599
+ }, undefined, true, undefined, this)
600
+ ]
601
+ }, undefined, true, undefined, this)
602
+ }, undefined, false, undefined, this);
603
+ }
604
+
605
+ // src/components/marketing/LandingPage.tsx
606
+ import { VStack as VStack5 } from "@contractspec/lib.ui-kit-web/ui/stack";
607
+ import { jsxDEV as jsxDEV12 } from "react/jsx-dev-runtime";
608
+ "use client";
609
+ function LandingPage() {
610
+ return /* @__PURE__ */ jsxDEV12(VStack5, {
611
+ as: "main",
612
+ gap: "none",
613
+ children: [
614
+ /* @__PURE__ */ jsxDEV12(HeroMarketingSection, {}, undefined, false, undefined, this),
615
+ /* @__PURE__ */ jsxDEV12(ProblemSection, {}, undefined, false, undefined, this),
616
+ /* @__PURE__ */ jsxDEV12(SolutionSection, {}, undefined, false, undefined, this),
617
+ /* @__PURE__ */ jsxDEV12(FearsSection, {}, undefined, false, undefined, this),
618
+ /* @__PURE__ */ jsxDEV12(CorePositioningSection, {}, undefined, false, undefined, this),
619
+ /* @__PURE__ */ jsxDEV12(AudienceSection, {}, undefined, false, undefined, this),
620
+ /* @__PURE__ */ jsxDEV12(OutputsSection, {}, undefined, false, undefined, this),
621
+ /* @__PURE__ */ jsxDEV12(StepsSection, {}, undefined, false, undefined, this),
622
+ /* @__PURE__ */ jsxDEV12(DevelopersSection, {}, undefined, false, undefined, this),
623
+ /* @__PURE__ */ jsxDEV12(CtaSection, {}, undefined, false, undefined, this)
624
+ ]
625
+ }, undefined, true, undefined, this);
626
+ }
627
+ export {
628
+ LandingPage
629
+ };