@contractspec/bundle.marketing 1.12.0 → 1.13.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.
- package/.turbo/turbo-build.log +146 -175
- package/.turbo/turbo-prebuild.log +1 -0
- package/CHANGELOG.md +29 -0
- package/dist/browser/components/marketing/ChangelogPage.js +92 -0
- package/dist/browser/components/marketing/CofounderPage.js +581 -0
- package/dist/browser/components/marketing/ContactClient.js +1379 -0
- package/dist/browser/components/marketing/ContributePage.js +487 -0
- package/dist/browser/components/marketing/DesignPartnerPage.js +272 -0
- package/dist/browser/components/marketing/LandingPage.js +629 -0
- package/dist/browser/components/marketing/PricingClient.js +1972 -0
- package/dist/browser/components/marketing/ProductClientPage.js +563 -0
- package/dist/browser/components/marketing/index.js +4818 -0
- package/dist/browser/components/marketing/pricing-thinking-modal.js +258 -0
- package/dist/browser/components/marketing/sections/AudienceSection.js +90 -0
- package/dist/browser/components/marketing/sections/CorePositioningSection.js +72 -0
- package/dist/browser/components/marketing/sections/CtaSection.js +67 -0
- package/dist/browser/components/marketing/sections/DevelopersSection.js +50 -0
- package/dist/browser/components/marketing/sections/FearsSection.js +105 -0
- package/dist/browser/components/marketing/sections/HeroMarketingSection.js +93 -0
- package/dist/browser/components/marketing/sections/IconGridSection.js +63 -0
- package/dist/browser/components/marketing/sections/OutputsSection.js +116 -0
- package/dist/browser/components/marketing/sections/ProblemSection.js +103 -0
- package/dist/browser/components/marketing/sections/SolutionSection.js +103 -0
- package/dist/browser/components/marketing/sections/StepsSection.js +109 -0
- package/dist/browser/components/marketing/waitlist-section.js +1104 -0
- package/dist/browser/components/templates/TemplatesClientPage.js +5662 -0
- package/dist/browser/components/templates/TemplatesPage.js +177 -0
- package/dist/browser/components/templates/TemplatesPreviewModal.js +124 -0
- package/dist/browser/components/templates/index.js +5831 -0
- package/dist/browser/index.js +6485 -0
- package/dist/browser/libs/email/client.js +122 -0
- package/dist/browser/libs/email/contact.js +190 -0
- package/dist/browser/libs/email/newsletter.js +215 -0
- package/dist/browser/libs/email/types.js +2 -0
- package/dist/browser/libs/email/utils.js +16 -0
- package/dist/browser/libs/email/waitlist-application.js +295 -0
- package/dist/browser/libs/email/waitlist.js +225 -0
- package/dist/browser/libs/pricing-examples.js +26 -0
- package/dist/browser/registry/engine.js +5293 -0
- package/dist/browser/registry/factory.js +52 -0
- package/dist/browser/registry/index.js +5358 -0
- package/dist/browser/registry/registry-docs.js +343 -0
- package/dist/browser/registry/registry-landing.js +4937 -0
- package/dist/browser/registry/registry.js +5279 -0
- package/dist/browser/registry/types.js +0 -0
- package/dist/browser/registry/utils.js +5340 -0
- package/dist/components/marketing/ChangelogPage.d.ts +11 -17
- package/dist/components/marketing/ChangelogPage.d.ts.map +1 -1
- package/dist/components/marketing/ChangelogPage.js +84 -62
- package/dist/components/marketing/CofounderPage.d.ts +1 -6
- package/dist/components/marketing/CofounderPage.d.ts.map +1 -1
- package/dist/components/marketing/CofounderPage.js +544 -436
- package/dist/components/marketing/ContactClient.d.ts +1 -6
- package/dist/components/marketing/ContactClient.d.ts.map +1 -1
- package/dist/components/marketing/ContactClient.js +1371 -155
- package/dist/components/marketing/ContributePage.d.ts +3 -8
- package/dist/components/marketing/ContributePage.d.ts.map +1 -1
- package/dist/components/marketing/ContributePage.js +478 -358
- package/dist/components/marketing/DesignPartnerPage.d.ts +3 -8
- package/dist/components/marketing/DesignPartnerPage.d.ts.map +1 -1
- package/dist/components/marketing/DesignPartnerPage.js +263 -211
- package/dist/components/marketing/LandingPage.d.ts +1 -6
- package/dist/components/marketing/LandingPage.d.ts.map +1 -1
- package/dist/components/marketing/LandingPage.js +623 -37
- package/dist/components/marketing/PricingClient.d.ts +1 -6
- package/dist/components/marketing/PricingClient.d.ts.map +1 -1
- package/dist/components/marketing/PricingClient.js +1962 -516
- package/dist/components/marketing/ProductClientPage.d.ts +1 -6
- package/dist/components/marketing/ProductClientPage.d.ts.map +1 -1
- package/dist/components/marketing/ProductClientPage.js +556 -458
- package/dist/components/marketing/index.d.ts +11 -11
- package/dist/components/marketing/index.d.ts.map +1 -0
- package/dist/components/marketing/index.js +4813 -12
- package/dist/components/marketing/pricing-thinking-modal.d.ts +5 -13
- package/dist/components/marketing/pricing-thinking-modal.d.ts.map +1 -1
- package/dist/components/marketing/pricing-thinking-modal.js +248 -197
- package/dist/components/marketing/sections/AudienceSection.d.ts +1 -6
- package/dist/components/marketing/sections/AudienceSection.d.ts.map +1 -1
- package/dist/components/marketing/sections/AudienceSection.js +80 -63
- package/dist/components/marketing/sections/CorePositioningSection.d.ts +1 -6
- package/dist/components/marketing/sections/CorePositioningSection.d.ts.map +1 -1
- package/dist/components/marketing/sections/CorePositioningSection.js +62 -54
- package/dist/components/marketing/sections/CtaSection.d.ts +1 -6
- package/dist/components/marketing/sections/CtaSection.d.ts.map +1 -1
- package/dist/components/marketing/sections/CtaSection.js +58 -50
- package/dist/components/marketing/sections/DevelopersSection.d.ts +1 -6
- package/dist/components/marketing/sections/DevelopersSection.d.ts.map +1 -1
- package/dist/components/marketing/sections/DevelopersSection.js +40 -40
- package/dist/components/marketing/sections/FearsSection.d.ts +1 -6
- package/dist/components/marketing/sections/FearsSection.d.ts.map +1 -1
- package/dist/components/marketing/sections/FearsSection.js +96 -44
- package/dist/components/marketing/sections/HeroMarketingSection.d.ts +1 -6
- package/dist/components/marketing/sections/HeroMarketingSection.d.ts.map +1 -1
- package/dist/components/marketing/sections/HeroMarketingSection.js +82 -71
- package/dist/components/marketing/sections/IconGridSection.d.ts +25 -39
- package/dist/components/marketing/sections/IconGridSection.d.ts.map +1 -1
- package/dist/components/marketing/sections/IconGridSection.js +55 -41
- package/dist/components/marketing/sections/OutputsSection.d.ts +1 -6
- package/dist/components/marketing/sections/OutputsSection.d.ts.map +1 -1
- package/dist/components/marketing/sections/OutputsSection.js +107 -55
- package/dist/components/marketing/sections/ProblemSection.d.ts +1 -6
- package/dist/components/marketing/sections/ProblemSection.d.ts.map +1 -1
- package/dist/components/marketing/sections/ProblemSection.js +94 -42
- package/dist/components/marketing/sections/SolutionSection.d.ts +1 -6
- package/dist/components/marketing/sections/SolutionSection.d.ts.map +1 -1
- package/dist/components/marketing/sections/SolutionSection.js +94 -42
- package/dist/components/marketing/sections/StepsSection.d.ts +1 -6
- package/dist/components/marketing/sections/StepsSection.d.ts.map +1 -1
- package/dist/components/marketing/sections/StepsSection.js +100 -48
- package/dist/components/marketing/waitlist-section.d.ts +5 -12
- package/dist/components/marketing/waitlist-section.d.ts.map +1 -1
- package/dist/components/marketing/waitlist-section.js +1089 -568
- package/dist/components/templates/TemplatesClientPage.d.ts +1 -6
- package/dist/components/templates/TemplatesClientPage.d.ts.map +1 -1
- package/dist/components/templates/TemplatesClientPage.js +5649 -617
- package/dist/components/templates/TemplatesPage.d.ts +1 -6
- package/dist/components/templates/TemplatesPage.d.ts.map +1 -1
- package/dist/components/templates/TemplatesPage.js +163 -116
- package/dist/components/templates/TemplatesPreviewModal.d.ts +5 -12
- package/dist/components/templates/TemplatesPreviewModal.d.ts.map +1 -1
- package/dist/components/templates/TemplatesPreviewModal.js +113 -131
- package/dist/components/templates/index.d.ts +4 -4
- package/dist/components/templates/index.d.ts.map +1 -0
- package/dist/components/templates/index.js +5825 -4
- package/dist/index.d.ts +9 -29
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +6480 -28
- package/dist/libs/email/client.d.ts +9 -12
- package/dist/libs/email/client.d.ts.map +1 -1
- package/dist/libs/email/client.js +109 -105
- package/dist/libs/email/client.test.d.ts +2 -0
- package/dist/libs/email/client.test.d.ts.map +1 -0
- package/dist/libs/email/contact.d.ts +2 -6
- package/dist/libs/email/contact.d.ts.map +1 -1
- package/dist/libs/email/contact.js +155 -41
- package/dist/libs/email/newsletter.d.ts +2 -6
- package/dist/libs/email/newsletter.d.ts.map +1 -1
- package/dist/libs/email/newsletter.js +169 -54
- package/dist/libs/email/types.d.ts +48 -52
- package/dist/libs/email/types.d.ts.map +1 -1
- package/dist/libs/email/types.js +3 -1
- package/dist/libs/email/utils.d.ts +2 -5
- package/dist/libs/email/utils.d.ts.map +1 -1
- package/dist/libs/email/utils.js +10 -6
- package/dist/libs/email/waitlist-application.d.ts +2 -6
- package/dist/libs/email/waitlist-application.d.ts.map +1 -1
- package/dist/libs/email/waitlist-application.js +191 -71
- package/dist/libs/email/waitlist.d.ts +2 -6
- package/dist/libs/email/waitlist.d.ts.map +1 -1
- package/dist/libs/email/waitlist.js +171 -56
- package/dist/libs/pricing-examples.d.ts +13 -16
- package/dist/libs/pricing-examples.d.ts.map +1 -1
- package/dist/libs/pricing-examples.js +20 -20
- package/dist/node/components/marketing/ChangelogPage.js +87 -0
- package/dist/node/components/marketing/CofounderPage.js +576 -0
- package/dist/node/components/marketing/ContactClient.js +1374 -0
- package/dist/node/components/marketing/ContributePage.js +482 -0
- package/dist/node/components/marketing/DesignPartnerPage.js +267 -0
- package/dist/node/components/marketing/LandingPage.js +624 -0
- package/dist/node/components/marketing/PricingClient.js +1967 -0
- package/dist/node/components/marketing/ProductClientPage.js +558 -0
- package/dist/node/components/marketing/index.js +4813 -0
- package/dist/node/components/marketing/pricing-thinking-modal.js +253 -0
- package/dist/node/components/marketing/sections/AudienceSection.js +85 -0
- package/dist/node/components/marketing/sections/CorePositioningSection.js +67 -0
- package/dist/node/components/marketing/sections/CtaSection.js +62 -0
- package/dist/node/components/marketing/sections/DevelopersSection.js +45 -0
- package/dist/node/components/marketing/sections/FearsSection.js +100 -0
- package/dist/node/components/marketing/sections/HeroMarketingSection.js +88 -0
- package/dist/node/components/marketing/sections/IconGridSection.js +58 -0
- package/dist/node/components/marketing/sections/OutputsSection.js +111 -0
- package/dist/node/components/marketing/sections/ProblemSection.js +98 -0
- package/dist/node/components/marketing/sections/SolutionSection.js +98 -0
- package/dist/node/components/marketing/sections/StepsSection.js +104 -0
- package/dist/node/components/marketing/waitlist-section.js +1099 -0
- package/dist/node/components/templates/TemplatesClientPage.js +5657 -0
- package/dist/node/components/templates/TemplatesPage.js +172 -0
- package/dist/node/components/templates/TemplatesPreviewModal.js +119 -0
- package/dist/node/components/templates/index.js +5826 -0
- package/dist/node/index.js +6480 -0
- package/dist/node/libs/email/client.js +117 -0
- package/dist/node/libs/email/contact.js +185 -0
- package/dist/node/libs/email/newsletter.js +210 -0
- package/dist/node/libs/email/types.js +2 -0
- package/dist/node/libs/email/utils.js +11 -0
- package/dist/node/libs/email/waitlist-application.js +290 -0
- package/dist/node/libs/email/waitlist.js +220 -0
- package/dist/node/libs/pricing-examples.js +21 -0
- package/dist/node/registry/engine.js +5288 -0
- package/dist/node/registry/factory.js +47 -0
- package/dist/node/registry/index.js +5353 -0
- package/dist/node/registry/registry-docs.js +338 -0
- package/dist/node/registry/registry-landing.js +4932 -0
- package/dist/node/registry/registry.js +5274 -0
- package/dist/node/registry/types.js +0 -0
- package/dist/node/registry/utils.js +5335 -0
- package/dist/registry/engine.d.ts +4 -8
- package/dist/registry/engine.d.ts.map +1 -1
- package/dist/registry/engine.js +5287 -23
- package/dist/registry/factory.d.ts +30 -34
- package/dist/registry/factory.d.ts.map +1 -1
- package/dist/registry/factory.js +42 -56
- package/dist/registry/index.d.ts +8 -8
- package/dist/registry/index.d.ts.map +1 -0
- package/dist/registry/index.js +5353 -8
- package/dist/registry/registry-docs.d.ts +4 -8
- package/dist/registry/registry-docs.d.ts.map +1 -1
- package/dist/registry/registry-docs.js +242 -209
- package/dist/registry/registry-landing.d.ts +5 -9
- package/dist/registry/registry-landing.d.ts.map +1 -1
- package/dist/registry/registry-landing.js +4930 -93
- package/dist/registry/registry.d.ts +7 -11
- package/dist/registry/registry.d.ts.map +1 -1
- package/dist/registry/registry.js +5262 -49
- package/dist/registry/types.d.ts +6 -10
- package/dist/registry/types.d.ts.map +1 -1
- package/dist/registry/types.js +1 -0
- package/dist/registry/utils.d.ts +10 -14
- package/dist/registry/utils.d.ts.map +1 -1
- package/dist/registry/utils.js +5330 -49
- package/package.json +355 -73
- package/tsdown.config.js +1 -2
- package/.turbo/turbo-build$colon$types.log +0 -1
- package/.turbo/turbo-lint.log +0 -3
- package/dist/components/marketing/ChangelogPage.js.map +0 -1
- package/dist/components/marketing/CofounderPage.js.map +0 -1
- package/dist/components/marketing/ContactClient.js.map +0 -1
- package/dist/components/marketing/ContributePage.js.map +0 -1
- package/dist/components/marketing/DesignPartnerPage.js.map +0 -1
- package/dist/components/marketing/LandingPage.js.map +0 -1
- package/dist/components/marketing/PricingClient.js.map +0 -1
- package/dist/components/marketing/ProductClientPage.js.map +0 -1
- package/dist/components/marketing/pricing-thinking-modal.js.map +0 -1
- package/dist/components/marketing/sections/AudienceSection.js.map +0 -1
- package/dist/components/marketing/sections/CorePositioningSection.js.map +0 -1
- package/dist/components/marketing/sections/CtaSection.js.map +0 -1
- package/dist/components/marketing/sections/DevelopersSection.js.map +0 -1
- package/dist/components/marketing/sections/FearsSection.js.map +0 -1
- package/dist/components/marketing/sections/HeroMarketingSection.js.map +0 -1
- package/dist/components/marketing/sections/IconGridSection.js.map +0 -1
- package/dist/components/marketing/sections/OutputsSection.js.map +0 -1
- package/dist/components/marketing/sections/ProblemSection.js.map +0 -1
- package/dist/components/marketing/sections/SolutionSection.js.map +0 -1
- package/dist/components/marketing/sections/StepsSection.js.map +0 -1
- package/dist/components/marketing/waitlist-section.js.map +0 -1
- package/dist/components/templates/TemplatesClientPage.js.map +0 -1
- package/dist/components/templates/TemplatesPage.js.map +0 -1
- package/dist/components/templates/TemplatesPreviewModal.js.map +0 -1
- package/dist/libs/email/client.js.map +0 -1
- package/dist/libs/email/contact.js.map +0 -1
- package/dist/libs/email/newsletter.js.map +0 -1
- package/dist/libs/email/utils.js.map +0 -1
- package/dist/libs/email/waitlist-application.js.map +0 -1
- package/dist/libs/email/waitlist.js.map +0 -1
- package/dist/libs/pricing-examples.js.map +0 -1
- package/dist/registry/engine.js.map +0 -1
- package/dist/registry/factory.js.map +0 -1
- package/dist/registry/registry-docs.js.map +0 -1
- package/dist/registry/registry-landing.js.map +0 -1
- package/dist/registry/registry.js.map +0 -1
- package/dist/registry/utils.js.map +0 -1
- package/tsconfig.tsbuildinfo +0 -1
|
@@ -0,0 +1,93 @@
|
|
|
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
|
+
export {
|
|
92
|
+
HeroMarketingSection
|
|
93
|
+
};
|
|
@@ -0,0 +1,63 @@
|
|
|
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/IconGridSection.tsx
|
|
10
|
+
import { cva } from "class-variance-authority";
|
|
11
|
+
import {
|
|
12
|
+
MarketingCardsSection,
|
|
13
|
+
MarketingIconCard
|
|
14
|
+
} from "@contractspec/lib.design-system";
|
|
15
|
+
import { Muted } from "@contractspec/lib.ui-kit-web/ui/typography";
|
|
16
|
+
import { jsxDEV } from "react/jsx-dev-runtime";
|
|
17
|
+
var itemVariants = cva("", {
|
|
18
|
+
variants: {
|
|
19
|
+
iconRole: {
|
|
20
|
+
iconFirst: "",
|
|
21
|
+
listing: "items-start",
|
|
22
|
+
support: "items-start"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
defaultVariants: { iconRole: "iconFirst" }
|
|
26
|
+
});
|
|
27
|
+
function IconGridSection({
|
|
28
|
+
eyebrow,
|
|
29
|
+
title,
|
|
30
|
+
subtitle,
|
|
31
|
+
items,
|
|
32
|
+
tone = "default",
|
|
33
|
+
padding,
|
|
34
|
+
columns = 3,
|
|
35
|
+
iconRole = "iconFirst"
|
|
36
|
+
}) {
|
|
37
|
+
return /* @__PURE__ */ jsxDEV(MarketingCardsSection, {
|
|
38
|
+
tone,
|
|
39
|
+
padding,
|
|
40
|
+
eyebrow: eyebrow ? /* @__PURE__ */ jsxDEV(Muted, {
|
|
41
|
+
className: "text-xs font-semibold tracking-[0.2em] uppercase",
|
|
42
|
+
children: eyebrow
|
|
43
|
+
}, undefined, false, undefined, this) : null,
|
|
44
|
+
title,
|
|
45
|
+
subtitle: subtitle ? /* @__PURE__ */ jsxDEV(Muted, {
|
|
46
|
+
className: "text-lg",
|
|
47
|
+
children: subtitle
|
|
48
|
+
}, undefined, false, undefined, this) : null,
|
|
49
|
+
columns,
|
|
50
|
+
children: items.map((card) => /* @__PURE__ */ jsxDEV(MarketingIconCard, {
|
|
51
|
+
icon: card.icon,
|
|
52
|
+
title: card.title,
|
|
53
|
+
description: card.description,
|
|
54
|
+
tone: card.tone,
|
|
55
|
+
iconClassName: card.iconClassName,
|
|
56
|
+
variant: iconRole === "listing" ? "listing" : iconRole === "support" ? "support" : "iconFirst",
|
|
57
|
+
className: itemVariants({ iconRole })
|
|
58
|
+
}, card.title, false, undefined, this))
|
|
59
|
+
}, undefined, false, undefined, this);
|
|
60
|
+
}
|
|
61
|
+
export {
|
|
62
|
+
IconGridSection
|
|
63
|
+
};
|
|
@@ -0,0 +1,116 @@
|
|
|
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/IconGridSection.tsx
|
|
10
|
+
import { cva } from "class-variance-authority";
|
|
11
|
+
import {
|
|
12
|
+
MarketingCardsSection,
|
|
13
|
+
MarketingIconCard
|
|
14
|
+
} from "@contractspec/lib.design-system";
|
|
15
|
+
import { Muted } from "@contractspec/lib.ui-kit-web/ui/typography";
|
|
16
|
+
import { jsxDEV } from "react/jsx-dev-runtime";
|
|
17
|
+
var itemVariants = cva("", {
|
|
18
|
+
variants: {
|
|
19
|
+
iconRole: {
|
|
20
|
+
iconFirst: "",
|
|
21
|
+
listing: "items-start",
|
|
22
|
+
support: "items-start"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
defaultVariants: { iconRole: "iconFirst" }
|
|
26
|
+
});
|
|
27
|
+
function IconGridSection({
|
|
28
|
+
eyebrow,
|
|
29
|
+
title,
|
|
30
|
+
subtitle,
|
|
31
|
+
items,
|
|
32
|
+
tone = "default",
|
|
33
|
+
padding,
|
|
34
|
+
columns = 3,
|
|
35
|
+
iconRole = "iconFirst"
|
|
36
|
+
}) {
|
|
37
|
+
return /* @__PURE__ */ jsxDEV(MarketingCardsSection, {
|
|
38
|
+
tone,
|
|
39
|
+
padding,
|
|
40
|
+
eyebrow: eyebrow ? /* @__PURE__ */ jsxDEV(Muted, {
|
|
41
|
+
className: "text-xs font-semibold tracking-[0.2em] uppercase",
|
|
42
|
+
children: eyebrow
|
|
43
|
+
}, undefined, false, undefined, this) : null,
|
|
44
|
+
title,
|
|
45
|
+
subtitle: subtitle ? /* @__PURE__ */ jsxDEV(Muted, {
|
|
46
|
+
className: "text-lg",
|
|
47
|
+
children: subtitle
|
|
48
|
+
}, undefined, false, undefined, this) : null,
|
|
49
|
+
columns,
|
|
50
|
+
children: items.map((card) => /* @__PURE__ */ jsxDEV(MarketingIconCard, {
|
|
51
|
+
icon: card.icon,
|
|
52
|
+
title: card.title,
|
|
53
|
+
description: card.description,
|
|
54
|
+
tone: card.tone,
|
|
55
|
+
iconClassName: card.iconClassName,
|
|
56
|
+
variant: iconRole === "listing" ? "listing" : iconRole === "support" ? "support" : "iconFirst",
|
|
57
|
+
className: itemVariants({ iconRole })
|
|
58
|
+
}, card.title, false, undefined, this))
|
|
59
|
+
}, undefined, false, undefined, this);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
// src/components/marketing/sections/OutputsSection.tsx
|
|
63
|
+
import { jsxDEV as jsxDEV2 } from "react/jsx-dev-runtime";
|
|
64
|
+
var outputs = [
|
|
65
|
+
{
|
|
66
|
+
title: "REST API",
|
|
67
|
+
description: "Type-safe endpoints with validation. Standard Express/Hono/Elysia handlers.",
|
|
68
|
+
icon: "\uD83D\uDD0C"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
title: "GraphQL Schema",
|
|
72
|
+
description: "Automatically generated resolvers. Standard Pothos/Apollo output.",
|
|
73
|
+
icon: "\uD83D\uDCCA"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
title: "Database Schema",
|
|
77
|
+
description: "Prisma migrations and types. Standard SQL underneath.",
|
|
78
|
+
icon: "\uD83D\uDDC4️"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
title: "MCP Tools",
|
|
82
|
+
description: "AI agent tool definitions. Works with Claude, GPT, and any MCP client.",
|
|
83
|
+
icon: "\uD83E\uDD16"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
title: "Client SDKs",
|
|
87
|
+
description: "Type-safe API clients. Standard fetch/axios underneath.",
|
|
88
|
+
icon: "\uD83D\uDCE6"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
title: "UI Components",
|
|
92
|
+
description: "React forms and views from specs. Standard JSX output.",
|
|
93
|
+
icon: "\uD83C\uDFA8"
|
|
94
|
+
}
|
|
95
|
+
];
|
|
96
|
+
function OutputsSection() {
|
|
97
|
+
return /* @__PURE__ */ jsxDEV2(IconGridSection, {
|
|
98
|
+
tone: "muted",
|
|
99
|
+
columns: 3,
|
|
100
|
+
title: "What ContractSpec generates",
|
|
101
|
+
subtitle: "One contract, multiple outputs. All in sync. All standard tech.",
|
|
102
|
+
iconRole: "iconFirst",
|
|
103
|
+
items: outputs.map((item) => ({
|
|
104
|
+
icon: () => /* @__PURE__ */ jsxDEV2("span", {
|
|
105
|
+
"aria-hidden": true,
|
|
106
|
+
className: "text-3xl",
|
|
107
|
+
children: item.icon
|
|
108
|
+
}, undefined, false, undefined, this),
|
|
109
|
+
title: item.title,
|
|
110
|
+
description: item.description
|
|
111
|
+
}))
|
|
112
|
+
}, undefined, false, undefined, this);
|
|
113
|
+
}
|
|
114
|
+
export {
|
|
115
|
+
OutputsSection
|
|
116
|
+
};
|
|
@@ -0,0 +1,103 @@
|
|
|
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/IconGridSection.tsx
|
|
10
|
+
import { cva } from "class-variance-authority";
|
|
11
|
+
import {
|
|
12
|
+
MarketingCardsSection,
|
|
13
|
+
MarketingIconCard
|
|
14
|
+
} from "@contractspec/lib.design-system";
|
|
15
|
+
import { Muted } from "@contractspec/lib.ui-kit-web/ui/typography";
|
|
16
|
+
import { jsxDEV } from "react/jsx-dev-runtime";
|
|
17
|
+
var itemVariants = cva("", {
|
|
18
|
+
variants: {
|
|
19
|
+
iconRole: {
|
|
20
|
+
iconFirst: "",
|
|
21
|
+
listing: "items-start",
|
|
22
|
+
support: "items-start"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
defaultVariants: { iconRole: "iconFirst" }
|
|
26
|
+
});
|
|
27
|
+
function IconGridSection({
|
|
28
|
+
eyebrow,
|
|
29
|
+
title,
|
|
30
|
+
subtitle,
|
|
31
|
+
items,
|
|
32
|
+
tone = "default",
|
|
33
|
+
padding,
|
|
34
|
+
columns = 3,
|
|
35
|
+
iconRole = "iconFirst"
|
|
36
|
+
}) {
|
|
37
|
+
return /* @__PURE__ */ jsxDEV(MarketingCardsSection, {
|
|
38
|
+
tone,
|
|
39
|
+
padding,
|
|
40
|
+
eyebrow: eyebrow ? /* @__PURE__ */ jsxDEV(Muted, {
|
|
41
|
+
className: "text-xs font-semibold tracking-[0.2em] uppercase",
|
|
42
|
+
children: eyebrow
|
|
43
|
+
}, undefined, false, undefined, this) : null,
|
|
44
|
+
title,
|
|
45
|
+
subtitle: subtitle ? /* @__PURE__ */ jsxDEV(Muted, {
|
|
46
|
+
className: "text-lg",
|
|
47
|
+
children: subtitle
|
|
48
|
+
}, undefined, false, undefined, this) : null,
|
|
49
|
+
columns,
|
|
50
|
+
children: items.map((card) => /* @__PURE__ */ jsxDEV(MarketingIconCard, {
|
|
51
|
+
icon: card.icon,
|
|
52
|
+
title: card.title,
|
|
53
|
+
description: card.description,
|
|
54
|
+
tone: card.tone,
|
|
55
|
+
iconClassName: card.iconClassName,
|
|
56
|
+
variant: iconRole === "listing" ? "listing" : iconRole === "support" ? "support" : "iconFirst",
|
|
57
|
+
className: itemVariants({ iconRole })
|
|
58
|
+
}, card.title, false, undefined, this))
|
|
59
|
+
}, undefined, false, undefined, this);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
// src/components/marketing/sections/ProblemSection.tsx
|
|
63
|
+
import { AlertTriangle, Layers, RefreshCw, XCircle } from "lucide-react";
|
|
64
|
+
import { jsxDEV as jsxDEV2 } from "react/jsx-dev-runtime";
|
|
65
|
+
var problemItems = [
|
|
66
|
+
{
|
|
67
|
+
icon: AlertTriangle,
|
|
68
|
+
title: "Can't enforce invariants",
|
|
69
|
+
description: "AI-generated code drifts from business rules over time. No source of truth means no safety.",
|
|
70
|
+
iconClassName: "text-red-400"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
icon: Layers,
|
|
74
|
+
title: "Multi-surface chaos",
|
|
75
|
+
description: "API, DB, UI, and events get out of sync. One change breaks three surfaces.",
|
|
76
|
+
iconClassName: "text-orange-400"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
icon: RefreshCw,
|
|
80
|
+
title: "Hallucinated refactors",
|
|
81
|
+
description: 'AI "improvements" introduce subtle bugs and break contracts you didn’t know existed.',
|
|
82
|
+
iconClassName: "text-amber-400"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
icon: XCircle,
|
|
86
|
+
title: "Unmaintainable spaghetti",
|
|
87
|
+
description: "Teams ship fast initially, then spend months untangling AI-generated chaos.",
|
|
88
|
+
iconClassName: "text-red-400"
|
|
89
|
+
}
|
|
90
|
+
];
|
|
91
|
+
function ProblemSection() {
|
|
92
|
+
return /* @__PURE__ */ jsxDEV2(IconGridSection, {
|
|
93
|
+
tone: "muted",
|
|
94
|
+
columns: 4,
|
|
95
|
+
eyebrow: "The Problem",
|
|
96
|
+
title: "AI agents write code fast. Then the chaos begins.",
|
|
97
|
+
subtitle: 'In 2025, "vibe coding" and AI agents generate enormous amounts of code. But they have critical limitations that destroy long-term maintainability.',
|
|
98
|
+
items: problemItems
|
|
99
|
+
}, undefined, false, undefined, this);
|
|
100
|
+
}
|
|
101
|
+
export {
|
|
102
|
+
ProblemSection
|
|
103
|
+
};
|
|
@@ -0,0 +1,103 @@
|
|
|
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/IconGridSection.tsx
|
|
10
|
+
import { cva } from "class-variance-authority";
|
|
11
|
+
import {
|
|
12
|
+
MarketingCardsSection,
|
|
13
|
+
MarketingIconCard
|
|
14
|
+
} from "@contractspec/lib.design-system";
|
|
15
|
+
import { Muted } from "@contractspec/lib.ui-kit-web/ui/typography";
|
|
16
|
+
import { jsxDEV } from "react/jsx-dev-runtime";
|
|
17
|
+
var itemVariants = cva("", {
|
|
18
|
+
variants: {
|
|
19
|
+
iconRole: {
|
|
20
|
+
iconFirst: "",
|
|
21
|
+
listing: "items-start",
|
|
22
|
+
support: "items-start"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
defaultVariants: { iconRole: "iconFirst" }
|
|
26
|
+
});
|
|
27
|
+
function IconGridSection({
|
|
28
|
+
eyebrow,
|
|
29
|
+
title,
|
|
30
|
+
subtitle,
|
|
31
|
+
items,
|
|
32
|
+
tone = "default",
|
|
33
|
+
padding,
|
|
34
|
+
columns = 3,
|
|
35
|
+
iconRole = "iconFirst"
|
|
36
|
+
}) {
|
|
37
|
+
return /* @__PURE__ */ jsxDEV(MarketingCardsSection, {
|
|
38
|
+
tone,
|
|
39
|
+
padding,
|
|
40
|
+
eyebrow: eyebrow ? /* @__PURE__ */ jsxDEV(Muted, {
|
|
41
|
+
className: "text-xs font-semibold tracking-[0.2em] uppercase",
|
|
42
|
+
children: eyebrow
|
|
43
|
+
}, undefined, false, undefined, this) : null,
|
|
44
|
+
title,
|
|
45
|
+
subtitle: subtitle ? /* @__PURE__ */ jsxDEV(Muted, {
|
|
46
|
+
className: "text-lg",
|
|
47
|
+
children: subtitle
|
|
48
|
+
}, undefined, false, undefined, this) : null,
|
|
49
|
+
columns,
|
|
50
|
+
children: items.map((card) => /* @__PURE__ */ jsxDEV(MarketingIconCard, {
|
|
51
|
+
icon: card.icon,
|
|
52
|
+
title: card.title,
|
|
53
|
+
description: card.description,
|
|
54
|
+
tone: card.tone,
|
|
55
|
+
iconClassName: card.iconClassName,
|
|
56
|
+
variant: iconRole === "listing" ? "listing" : iconRole === "support" ? "support" : "iconFirst",
|
|
57
|
+
className: itemVariants({ iconRole })
|
|
58
|
+
}, card.title, false, undefined, this))
|
|
59
|
+
}, undefined, false, undefined, this);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
// src/components/marketing/sections/SolutionSection.tsx
|
|
63
|
+
import { FileCode, Layers, RefreshCw, Shield } from "lucide-react";
|
|
64
|
+
import { jsxDEV as jsxDEV2 } from "react/jsx-dev-runtime";
|
|
65
|
+
var solutionItems = [
|
|
66
|
+
{
|
|
67
|
+
icon: FileCode,
|
|
68
|
+
title: "Canonical Source of Truth",
|
|
69
|
+
description: "Contracts define what the system should do, not just what it does. AI agents read specs, not implementations.",
|
|
70
|
+
iconClassName: "text-emerald-400"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
icon: Layers,
|
|
74
|
+
title: "Multi-Surface Consistency",
|
|
75
|
+
description: "One spec generates API, DB, UI, events, and MCP tools. All surfaces stay in sync because they share the same source.",
|
|
76
|
+
iconClassName: "text-blue-400"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
icon: RefreshCw,
|
|
80
|
+
title: "Safe Regeneration",
|
|
81
|
+
description: "Regenerate code anytime without fear. Specs enforce invariants. Breaking changes caught at compile time.",
|
|
82
|
+
iconClassName: "text-violet-400"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
icon: Shield,
|
|
86
|
+
title: "AI Governance",
|
|
87
|
+
description: "Constrain what AI agents can change. Enforce contracts they must respect. Flag violations automatically.",
|
|
88
|
+
iconClassName: "text-pink-400"
|
|
89
|
+
}
|
|
90
|
+
];
|
|
91
|
+
function SolutionSection() {
|
|
92
|
+
return /* @__PURE__ */ jsxDEV2(IconGridSection, {
|
|
93
|
+
tone: "default",
|
|
94
|
+
columns: 4,
|
|
95
|
+
eyebrow: "The Solution",
|
|
96
|
+
title: "ContractSpec: The safety layer for AI-coded systems",
|
|
97
|
+
subtitle: "Define contracts once. Generate consistent code across all surfaces. Regenerate safely anytime. No lock-in.",
|
|
98
|
+
items: solutionItems
|
|
99
|
+
}, undefined, false, undefined, this);
|
|
100
|
+
}
|
|
101
|
+
export {
|
|
102
|
+
SolutionSection
|
|
103
|
+
};
|
|
@@ -0,0 +1,109 @@
|
|
|
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/IconGridSection.tsx
|
|
10
|
+
import { cva } from "class-variance-authority";
|
|
11
|
+
import {
|
|
12
|
+
MarketingCardsSection,
|
|
13
|
+
MarketingIconCard
|
|
14
|
+
} from "@contractspec/lib.design-system";
|
|
15
|
+
import { Muted } from "@contractspec/lib.ui-kit-web/ui/typography";
|
|
16
|
+
import { jsxDEV } from "react/jsx-dev-runtime";
|
|
17
|
+
var itemVariants = cva("", {
|
|
18
|
+
variants: {
|
|
19
|
+
iconRole: {
|
|
20
|
+
iconFirst: "",
|
|
21
|
+
listing: "items-start",
|
|
22
|
+
support: "items-start"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
defaultVariants: { iconRole: "iconFirst" }
|
|
26
|
+
});
|
|
27
|
+
function IconGridSection({
|
|
28
|
+
eyebrow,
|
|
29
|
+
title,
|
|
30
|
+
subtitle,
|
|
31
|
+
items,
|
|
32
|
+
tone = "default",
|
|
33
|
+
padding,
|
|
34
|
+
columns = 3,
|
|
35
|
+
iconRole = "iconFirst"
|
|
36
|
+
}) {
|
|
37
|
+
return /* @__PURE__ */ jsxDEV(MarketingCardsSection, {
|
|
38
|
+
tone,
|
|
39
|
+
padding,
|
|
40
|
+
eyebrow: eyebrow ? /* @__PURE__ */ jsxDEV(Muted, {
|
|
41
|
+
className: "text-xs font-semibold tracking-[0.2em] uppercase",
|
|
42
|
+
children: eyebrow
|
|
43
|
+
}, undefined, false, undefined, this) : null,
|
|
44
|
+
title,
|
|
45
|
+
subtitle: subtitle ? /* @__PURE__ */ jsxDEV(Muted, {
|
|
46
|
+
className: "text-lg",
|
|
47
|
+
children: subtitle
|
|
48
|
+
}, undefined, false, undefined, this) : null,
|
|
49
|
+
columns,
|
|
50
|
+
children: items.map((card) => /* @__PURE__ */ jsxDEV(MarketingIconCard, {
|
|
51
|
+
icon: card.icon,
|
|
52
|
+
title: card.title,
|
|
53
|
+
description: card.description,
|
|
54
|
+
tone: card.tone,
|
|
55
|
+
iconClassName: card.iconClassName,
|
|
56
|
+
variant: iconRole === "listing" ? "listing" : iconRole === "support" ? "support" : "iconFirst",
|
|
57
|
+
className: itemVariants({ iconRole })
|
|
58
|
+
}, card.title, false, undefined, this))
|
|
59
|
+
}, undefined, false, undefined, this);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
// src/components/marketing/sections/StepsSection.tsx
|
|
63
|
+
import { jsxDEV as jsxDEV2 } from "react/jsx-dev-runtime";
|
|
64
|
+
var steps = [
|
|
65
|
+
{
|
|
66
|
+
step: 1,
|
|
67
|
+
title: "Pick one module",
|
|
68
|
+
description: "Start with one API endpoint, one entity, one surface. No big-bang migration."
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
step: 2,
|
|
72
|
+
title: "Define the contract",
|
|
73
|
+
description: "Write a spec in TypeScript. Just types and Zod schemas you already know."
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
step: 3,
|
|
77
|
+
title: "Generate & compare",
|
|
78
|
+
description: "See what ContractSpec generates. Compare to your existing code. Keep what works."
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
step: 4,
|
|
82
|
+
title: "Expand gradually",
|
|
83
|
+
description: "Add more contracts as you see value. No pressure. No lock-in. Your pace."
|
|
84
|
+
}
|
|
85
|
+
];
|
|
86
|
+
function StepsSection() {
|
|
87
|
+
return /* @__PURE__ */ jsxDEV2(IconGridSection, {
|
|
88
|
+
tone: "default",
|
|
89
|
+
columns: 4,
|
|
90
|
+
title: "How incremental adoption works",
|
|
91
|
+
padding: "comfortable",
|
|
92
|
+
iconRole: "listing",
|
|
93
|
+
items: steps.map((item) => ({
|
|
94
|
+
icon: ({ className }) => /* @__PURE__ */ jsxDEV2("div", {
|
|
95
|
+
className: `bg-primary/15 flex h-10 w-10 items-center justify-center rounded-lg ${className ?? ""}`,
|
|
96
|
+
children: /* @__PURE__ */ jsxDEV2("span", {
|
|
97
|
+
className: "text-primary text-sm font-semibold",
|
|
98
|
+
children: item.step
|
|
99
|
+
}, undefined, false, undefined, this)
|
|
100
|
+
}, undefined, false, undefined, this),
|
|
101
|
+
title: item.title,
|
|
102
|
+
description: item.description,
|
|
103
|
+
tone: "muted"
|
|
104
|
+
}))
|
|
105
|
+
}, undefined, false, undefined, this);
|
|
106
|
+
}
|
|
107
|
+
export {
|
|
108
|
+
StepsSection
|
|
109
|
+
};
|