@contractspec/bundle.marketing 3.7.5 → 3.7.7
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 +84 -84
- package/AGENTS.md +29 -21
- package/CHANGELOG.md +27 -0
- package/README.md +36 -49
- package/dist/browser/components/marketing/ChangelogPage.js +8 -8
- package/dist/browser/components/marketing/CofounderPage.js +167 -523
- package/dist/browser/components/marketing/ContactClient.js +200 -207
- package/dist/browser/components/marketing/ContributePage.js +211 -463
- package/dist/browser/components/marketing/DesignPartnerPage.js +165 -218
- package/dist/browser/components/marketing/LandingPage.js +464 -568
- package/dist/browser/components/marketing/PricingClient.js +213 -839
- package/dist/browser/components/marketing/ProductClientPage.js +265 -463
- package/dist/browser/components/marketing/index.js +2007 -3338
- package/dist/browser/components/marketing/pricing-thinking-modal.js +12 -12
- package/dist/browser/components/marketing/sections/AudienceSection.js +2 -2
- package/dist/browser/components/marketing/sections/CorePositioningSection.js +2 -2
- package/dist/browser/components/marketing/sections/CtaSection.js +3 -3
- package/dist/browser/components/marketing/sections/FearsSection.js +3 -3
- package/dist/browser/components/marketing/sections/HeroMarketingSection.js +6 -6
- package/dist/browser/components/marketing/sections/IconGridSection.js +2 -2
- package/dist/browser/components/marketing/sections/OutputsSection.js +2 -2
- package/dist/browser/components/marketing/sections/ProblemSection.js +2 -2
- package/dist/browser/components/marketing/sections/SolutionSection.js +2 -2
- package/dist/browser/components/marketing/sections/StepsSection.js +4 -4
- package/dist/browser/components/marketing/studio-signup-section.js +25 -41
- package/dist/browser/components/templates/TemplatesClientPage.js +2324 -3578
- package/dist/browser/components/templates/TemplatesPage.js +1 -1
- package/dist/browser/components/templates/TemplatesPreviewModal.js +3 -3
- package/dist/browser/components/templates/index.js +2361 -3615
- package/dist/browser/index.js +2363 -3617
- package/dist/browser/libs/email/client.js +1 -1
- package/dist/browser/libs/email/contact.js +1 -1
- package/dist/browser/libs/email/newsletter.js +1 -1
- package/dist/browser/libs/email/waitlist-application.js +1 -1
- package/dist/browser/libs/email/waitlist.js +1 -1
- package/dist/browser/registry/engine.js +2003 -3334
- package/dist/browser/registry/index.js +2003 -3334
- package/dist/browser/registry/registry-docs.js +2 -2
- package/dist/browser/registry/registry-landing.js +2007 -3338
- package/dist/browser/registry/registry.js +2003 -3334
- package/dist/browser/registry/utils.js +2003 -3334
- package/dist/components/marketing/ChangelogPage.js +8 -8
- package/dist/components/marketing/CofounderPage.js +167 -523
- package/dist/components/marketing/ContactClient.js +200 -207
- package/dist/components/marketing/ContributePage.d.ts +0 -2
- package/dist/components/marketing/ContributePage.js +211 -463
- package/dist/components/marketing/DesignPartnerPage.js +165 -218
- package/dist/components/marketing/LandingPage.js +464 -568
- package/dist/components/marketing/PricingClient.js +213 -839
- package/dist/components/marketing/ProductClientPage.js +265 -463
- package/dist/components/marketing/index.d.ts +5 -5
- package/dist/components/marketing/index.js +2007 -3338
- package/dist/components/marketing/pricing-thinking-modal.js +12 -12
- package/dist/components/marketing/sections/AudienceSection.js +2 -2
- package/dist/components/marketing/sections/CorePositioningSection.js +2 -2
- package/dist/components/marketing/sections/CtaSection.js +3 -3
- package/dist/components/marketing/sections/FearsSection.js +3 -3
- package/dist/components/marketing/sections/HeroMarketingSection.js +6 -6
- package/dist/components/marketing/sections/IconGridSection.d.ts +3 -3
- package/dist/components/marketing/sections/IconGridSection.js +2 -2
- package/dist/components/marketing/sections/OutputsSection.js +2 -2
- package/dist/components/marketing/sections/ProblemSection.js +2 -2
- package/dist/components/marketing/sections/SolutionSection.js +2 -2
- package/dist/components/marketing/sections/StepsSection.js +4 -4
- package/dist/components/marketing/studio-signup-section.js +25 -41
- package/dist/components/templates/TemplatesClientPage.js +2324 -3578
- package/dist/components/templates/TemplatesPage.js +1 -1
- package/dist/components/templates/TemplatesPreviewModal.js +3 -3
- package/dist/components/templates/index.js +2361 -3615
- package/dist/index.js +2363 -3617
- package/dist/libs/email/client.js +1 -1
- package/dist/libs/email/contact.js +1 -1
- package/dist/libs/email/newsletter.js +1 -1
- package/dist/libs/email/waitlist-application.js +1 -1
- package/dist/libs/email/waitlist.js +1 -1
- package/dist/node/components/marketing/ChangelogPage.js +8 -8
- package/dist/node/components/marketing/CofounderPage.js +167 -523
- package/dist/node/components/marketing/ContactClient.js +200 -207
- package/dist/node/components/marketing/ContributePage.js +211 -463
- package/dist/node/components/marketing/DesignPartnerPage.js +165 -218
- package/dist/node/components/marketing/LandingPage.js +464 -568
- package/dist/node/components/marketing/PricingClient.js +213 -839
- package/dist/node/components/marketing/ProductClientPage.js +265 -463
- package/dist/node/components/marketing/index.js +2007 -3338
- package/dist/node/components/marketing/pricing-thinking-modal.js +12 -12
- package/dist/node/components/marketing/sections/AudienceSection.js +2 -2
- package/dist/node/components/marketing/sections/CorePositioningSection.js +2 -2
- package/dist/node/components/marketing/sections/CtaSection.js +3 -3
- package/dist/node/components/marketing/sections/FearsSection.js +3 -3
- package/dist/node/components/marketing/sections/HeroMarketingSection.js +6 -6
- package/dist/node/components/marketing/sections/IconGridSection.js +2 -2
- package/dist/node/components/marketing/sections/OutputsSection.js +2 -2
- package/dist/node/components/marketing/sections/ProblemSection.js +2 -2
- package/dist/node/components/marketing/sections/SolutionSection.js +2 -2
- package/dist/node/components/marketing/sections/StepsSection.js +4 -4
- package/dist/node/components/marketing/studio-signup-section.js +25 -41
- package/dist/node/components/templates/TemplatesClientPage.js +2324 -3578
- package/dist/node/components/templates/TemplatesPage.js +1 -1
- package/dist/node/components/templates/TemplatesPreviewModal.js +3 -3
- package/dist/node/components/templates/index.js +2361 -3615
- package/dist/node/index.js +2363 -3617
- package/dist/node/libs/email/client.js +1 -1
- package/dist/node/libs/email/contact.js +1 -1
- package/dist/node/libs/email/newsletter.js +1 -1
- package/dist/node/libs/email/waitlist-application.js +1 -1
- package/dist/node/libs/email/waitlist.js +1 -1
- package/dist/node/registry/engine.js +2003 -3334
- package/dist/node/registry/index.js +2003 -3334
- package/dist/node/registry/registry-docs.js +2 -2
- package/dist/node/registry/registry-landing.js +2007 -3338
- package/dist/node/registry/registry.js +2003 -3334
- package/dist/node/registry/utils.js +2003 -3334
- package/dist/registry/engine.js +2003 -3334
- package/dist/registry/index.js +2003 -3334
- package/dist/registry/registry-docs.js +2 -2
- package/dist/registry/registry-landing.js +2007 -3338
- package/dist/registry/registry.js +2003 -3334
- package/dist/registry/utils.js +2003 -3334
- package/package.json +29 -29
- package/src/bundles/MarketingBundle.ts +273 -273
- package/src/components/marketing/ChangelogPage.tsx +72 -100
- package/src/components/marketing/CofounderPage.tsx +120 -384
- package/src/components/marketing/ContactClient.tsx +164 -154
- package/src/components/marketing/ContributePage.tsx +139 -313
- package/src/components/marketing/DesignPartnerPage.tsx +133 -171
- package/src/components/marketing/LandingPage.tsx +353 -25
- package/src/components/marketing/PricingClient.tsx +192 -437
- package/src/components/marketing/ProductClientPage.tsx +255 -377
- package/src/components/marketing/index.ts +5 -5
- package/src/components/marketing/pricing-thinking-modal.tsx +197 -197
- package/src/components/marketing/sections/AudienceSection.tsx +55 -56
- package/src/components/marketing/sections/CorePositioningSection.tsx +37 -37
- package/src/components/marketing/sections/CtaSection.tsx +49 -50
- package/src/components/marketing/sections/DevelopersSection.tsx +26 -27
- package/src/components/marketing/sections/FearsSection.tsx +36 -37
- package/src/components/marketing/sections/HeroMarketingSection.tsx +59 -59
- package/src/components/marketing/sections/IconGridSection.tsx +71 -71
- package/src/components/marketing/sections/OutputsSection.tsx +51 -52
- package/src/components/marketing/sections/ProblemSection.tsx +39 -40
- package/src/components/marketing/sections/SolutionSection.tsx +39 -40
- package/src/components/marketing/sections/StepsSection.tsx +47 -48
- package/src/components/marketing/studio-signup-section.tsx +39 -41
- package/src/components/templates/TemplatesClientPage.tsx +727 -685
- package/src/components/templates/TemplatesPage.tsx +110 -110
- package/src/components/templates/TemplatesPreviewModal.tsx +197 -198
- package/src/index.ts +4 -4
- package/src/libs/email/client.test.ts +81 -81
- package/src/libs/email/client.ts +111 -111
- package/src/libs/email/contact.ts +35 -35
- package/src/libs/email/newsletter.ts +46 -46
- package/src/libs/email/types.ts +29 -29
- package/src/libs/email/utils.ts +5 -5
- package/src/libs/email/waitlist-application.ts +72 -72
- package/src/libs/email/waitlist.ts +46 -46
- package/src/libs/pricing-examples.ts +12 -12
- package/src/registry/engine.ts +16 -16
- package/src/registry/factory.ts +57 -57
- package/src/registry/registry-docs.ts +656 -666
- package/src/registry/registry-landing.ts +94 -95
- package/src/registry/registry.ts +36 -37
- package/src/registry/types.ts +2 -2
- package/src/registry/utils.ts +56 -56
- package/tsconfig.json +11 -11
- package/tsdown.config.js +5 -5
|
@@ -1,59 +1,58 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import { IconGridSection } from './IconGridSection';
|
|
3
2
|
|
|
4
3
|
const outputs = [
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
4
|
+
{
|
|
5
|
+
title: 'REST API',
|
|
6
|
+
description:
|
|
7
|
+
'Type-safe endpoints with validation. Standard Express/Hono/Elysia handlers.',
|
|
8
|
+
icon: '🔌',
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
title: 'GraphQL Schema',
|
|
12
|
+
description:
|
|
13
|
+
'Automatically generated resolvers. Standard Pothos/Apollo output.',
|
|
14
|
+
icon: '📊',
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
title: 'Database Schema',
|
|
18
|
+
description: 'Prisma migrations and types. Standard SQL underneath.',
|
|
19
|
+
icon: '🗄️',
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
title: 'MCP Tools',
|
|
23
|
+
description:
|
|
24
|
+
'AI agent tool definitions. Works with Claude, GPT, and any MCP client.',
|
|
25
|
+
icon: '🤖',
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
title: 'Client SDKs',
|
|
29
|
+
description: 'Type-safe API clients. Standard fetch/axios underneath.',
|
|
30
|
+
icon: '📦',
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
title: 'UI Components',
|
|
34
|
+
description: 'React forms and views from specs. Standard JSX output.',
|
|
35
|
+
icon: '🎨',
|
|
36
|
+
},
|
|
38
37
|
];
|
|
39
38
|
|
|
40
39
|
export function OutputsSection() {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
40
|
+
return (
|
|
41
|
+
<IconGridSection
|
|
42
|
+
tone="muted"
|
|
43
|
+
columns={3}
|
|
44
|
+
title="What ContractSpec generates"
|
|
45
|
+
subtitle="One contract, multiple outputs. All in sync. All standard tech."
|
|
46
|
+
iconRole="iconFirst"
|
|
47
|
+
items={outputs.map((item) => ({
|
|
48
|
+
icon: () => (
|
|
49
|
+
<span aria-hidden className="text-3xl">
|
|
50
|
+
{item.icon}
|
|
51
|
+
</span>
|
|
52
|
+
),
|
|
53
|
+
title: item.title,
|
|
54
|
+
description: item.description,
|
|
55
|
+
}))}
|
|
56
|
+
/>
|
|
57
|
+
);
|
|
59
58
|
}
|
|
@@ -1,47 +1,46 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { IconGridSection, type IconGridItem } from './IconGridSection';
|
|
3
1
|
import { AlertTriangle, Layers, RefreshCw, XCircle } from 'lucide-react';
|
|
2
|
+
import { type IconGridItem, IconGridSection } from './IconGridSection';
|
|
4
3
|
|
|
5
4
|
const problemItems: IconGridItem[] = [
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
5
|
+
{
|
|
6
|
+
icon: AlertTriangle,
|
|
7
|
+
title: "Can't enforce invariants",
|
|
8
|
+
description:
|
|
9
|
+
'AI-generated code drifts from business rules over time. No source of truth means no safety.',
|
|
10
|
+
iconClassName: 'text-red-400',
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
icon: Layers,
|
|
14
|
+
title: 'Multi-surface chaos',
|
|
15
|
+
description:
|
|
16
|
+
'API, DB, UI, and events get out of sync. One change breaks three surfaces.',
|
|
17
|
+
iconClassName: 'text-orange-400',
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
icon: RefreshCw,
|
|
21
|
+
title: 'Hallucinated refactors',
|
|
22
|
+
description:
|
|
23
|
+
'AI "improvements" introduce subtle bugs and break contracts you didn’t know existed.',
|
|
24
|
+
iconClassName: 'text-amber-400',
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
icon: XCircle,
|
|
28
|
+
title: 'Unmaintainable spaghetti',
|
|
29
|
+
description:
|
|
30
|
+
'Teams ship fast initially, then spend months untangling AI-generated chaos.',
|
|
31
|
+
iconClassName: 'text-red-400',
|
|
32
|
+
},
|
|
34
33
|
];
|
|
35
34
|
|
|
36
35
|
export function ProblemSection() {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
36
|
+
return (
|
|
37
|
+
<IconGridSection
|
|
38
|
+
tone="muted"
|
|
39
|
+
columns={4}
|
|
40
|
+
eyebrow="The Problem"
|
|
41
|
+
title="AI agents write code fast. Then the chaos begins."
|
|
42
|
+
subtitle='In 2025, "vibe coding" and AI agents generate enormous amounts of code. But they have critical limitations that destroy long-term maintainability.'
|
|
43
|
+
items={problemItems}
|
|
44
|
+
/>
|
|
45
|
+
);
|
|
47
46
|
}
|
|
@@ -1,47 +1,46 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { IconGridSection, type IconGridItem } from './IconGridSection';
|
|
3
1
|
import { FileCode, Layers, RefreshCw, Shield } from 'lucide-react';
|
|
2
|
+
import { type IconGridItem, IconGridSection } from './IconGridSection';
|
|
4
3
|
|
|
5
4
|
const solutionItems: IconGridItem[] = [
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
5
|
+
{
|
|
6
|
+
icon: FileCode,
|
|
7
|
+
title: 'Canonical Source of Truth',
|
|
8
|
+
description:
|
|
9
|
+
'Contracts define what the system should do, not just what it does. AI agents read specs, not implementations.',
|
|
10
|
+
iconClassName: 'text-emerald-400',
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
icon: Layers,
|
|
14
|
+
title: 'Multi-Surface Consistency',
|
|
15
|
+
description:
|
|
16
|
+
'One spec generates API, DB, UI, events, and MCP tools. All surfaces stay in sync because they share the same source.',
|
|
17
|
+
iconClassName: 'text-blue-400',
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
icon: RefreshCw,
|
|
21
|
+
title: 'Safe Regeneration',
|
|
22
|
+
description:
|
|
23
|
+
'Regenerate code anytime without fear. Specs enforce invariants. Breaking changes caught at compile time.',
|
|
24
|
+
iconClassName: 'text-violet-400',
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
icon: Shield,
|
|
28
|
+
title: 'AI Governance',
|
|
29
|
+
description:
|
|
30
|
+
'Constrain what AI agents can change. Enforce contracts they must respect. Flag violations automatically.',
|
|
31
|
+
iconClassName: 'text-pink-400',
|
|
32
|
+
},
|
|
34
33
|
];
|
|
35
34
|
|
|
36
35
|
export function SolutionSection() {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
36
|
+
return (
|
|
37
|
+
<IconGridSection
|
|
38
|
+
tone="default"
|
|
39
|
+
columns={4}
|
|
40
|
+
eyebrow="The Solution"
|
|
41
|
+
title="ContractSpec: The safety layer for AI-coded systems"
|
|
42
|
+
subtitle="Define contracts once. Generate consistent code across all surfaces. Regenerate safely anytime. No lock-in."
|
|
43
|
+
items={solutionItems}
|
|
44
|
+
/>
|
|
45
|
+
);
|
|
47
46
|
}
|
|
@@ -1,55 +1,54 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import { IconGridSection } from './IconGridSection';
|
|
3
2
|
|
|
4
3
|
const steps = [
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
4
|
+
{
|
|
5
|
+
step: 1,
|
|
6
|
+
title: 'Pick one module',
|
|
7
|
+
description:
|
|
8
|
+
'Start with one API endpoint, one entity, one surface. No big-bang migration.',
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
step: 2,
|
|
12
|
+
title: 'Define the contract',
|
|
13
|
+
description:
|
|
14
|
+
'Write a spec in TypeScript. Just types and Zod schemas you already know.',
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
step: 3,
|
|
18
|
+
title: 'Generate & compare',
|
|
19
|
+
description:
|
|
20
|
+
'See what ContractSpec generates. Compare to your existing code. Keep what works.',
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
step: 4,
|
|
24
|
+
title: 'Expand gradually',
|
|
25
|
+
description:
|
|
26
|
+
'Add more contracts as you see value. No pressure. No lock-in. Your pace.',
|
|
27
|
+
},
|
|
29
28
|
];
|
|
30
29
|
|
|
31
30
|
export function StepsSection() {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
31
|
+
return (
|
|
32
|
+
<IconGridSection
|
|
33
|
+
tone="default"
|
|
34
|
+
columns={4}
|
|
35
|
+
title="How incremental adoption works"
|
|
36
|
+
padding="comfortable"
|
|
37
|
+
iconRole="listing"
|
|
38
|
+
items={steps.map((item) => ({
|
|
39
|
+
icon: ({ className }) => (
|
|
40
|
+
<div
|
|
41
|
+
className={`flex h-10 w-10 items-center justify-center rounded-lg bg-primary/15 ${className ?? ''}`}
|
|
42
|
+
>
|
|
43
|
+
<span className="font-semibold text-primary text-sm">
|
|
44
|
+
{item.step}
|
|
45
|
+
</span>
|
|
46
|
+
</div>
|
|
47
|
+
),
|
|
48
|
+
title: item.title,
|
|
49
|
+
description: item.description,
|
|
50
|
+
tone: 'muted',
|
|
51
|
+
}))}
|
|
52
|
+
/>
|
|
53
|
+
);
|
|
55
54
|
}
|
|
@@ -1,56 +1,54 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
+
import { ArrowRight, Sparkles } from 'lucide-react';
|
|
3
4
|
import Link from 'next/link';
|
|
4
|
-
import { ArrowRight, Rocket } from 'lucide-react';
|
|
5
|
-
import { Button } from '@contractspec/lib.design-system';
|
|
6
5
|
|
|
7
6
|
interface StudioSignupSectionProps {
|
|
8
|
-
|
|
7
|
+
variant?: 'default' | 'compact';
|
|
9
8
|
}
|
|
10
9
|
|
|
11
10
|
const studioUrl = 'https://www.contractspec.studio';
|
|
12
11
|
const studioDocsUrl = 'https://www.contractspec.studio/docs';
|
|
13
12
|
|
|
14
13
|
export function StudioSignupSection({
|
|
15
|
-
|
|
14
|
+
variant = 'default',
|
|
16
15
|
}: StudioSignupSectionProps) {
|
|
17
|
-
|
|
16
|
+
const isCompact = variant === 'compact';
|
|
18
17
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
18
|
+
return (
|
|
19
|
+
<div
|
|
20
|
+
id="studio-signup"
|
|
21
|
+
className={`${isCompact ? 'space-y-5 rounded-[28px] border border-border bg-card p-6' : 'editorial-panel space-y-6'}`}
|
|
22
|
+
>
|
|
23
|
+
<div className="space-y-4">
|
|
24
|
+
<div className="badge">
|
|
25
|
+
<Sparkles size={14} />
|
|
26
|
+
Studio on top
|
|
27
|
+
</div>
|
|
28
|
+
<h2
|
|
29
|
+
className={
|
|
30
|
+
isCompact
|
|
31
|
+
? 'font-serif text-3xl tracking-[-0.04em]'
|
|
32
|
+
: 'font-serif text-4xl tracking-[-0.04em]'
|
|
33
|
+
}
|
|
34
|
+
>
|
|
35
|
+
See the operating layer built on top of the open system.
|
|
36
|
+
</h2>
|
|
37
|
+
<p className="text-muted-foreground text-sm leading-7">
|
|
38
|
+
Studio packages the workflow for evidence, drafting, review, export,
|
|
39
|
+
and follow-up. It should feel like the best product built on top of
|
|
40
|
+
ContractSpec, not a different story.
|
|
41
|
+
</p>
|
|
42
|
+
</div>
|
|
43
43
|
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
</div>
|
|
55
|
-
);
|
|
44
|
+
<div className="grid gap-3 sm:grid-cols-2">
|
|
45
|
+
<Link href={studioUrl} className="btn-primary">
|
|
46
|
+
Explore Studio <ArrowRight className="ml-2 h-4 w-4" />
|
|
47
|
+
</Link>
|
|
48
|
+
<Link href={studioDocsUrl} className="btn-ghost">
|
|
49
|
+
Read Studio docs
|
|
50
|
+
</Link>
|
|
51
|
+
</div>
|
|
52
|
+
</div>
|
|
53
|
+
);
|
|
56
54
|
}
|