@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.
- package/.turbo/turbo-build.log +146 -175
- package/.turbo/turbo-prebuild.log +1 -0
- package/CHANGELOG.md +57 -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
|
@@ -1,48 +1,100 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
// @bun
|
|
2
|
+
var __require = import.meta.require;
|
|
3
|
+
|
|
4
|
+
// src/components/marketing/sections/IconGridSection.tsx
|
|
5
|
+
import { cva } from "class-variance-authority";
|
|
6
|
+
import {
|
|
7
|
+
MarketingCardsSection,
|
|
8
|
+
MarketingIconCard
|
|
9
|
+
} from "@contractspec/lib.design-system";
|
|
10
|
+
import { Muted } from "@contractspec/lib.ui-kit-web/ui/typography";
|
|
11
|
+
import { jsxDEV } from "react/jsx-dev-runtime";
|
|
12
|
+
var itemVariants = cva("", {
|
|
13
|
+
variants: {
|
|
14
|
+
iconRole: {
|
|
15
|
+
iconFirst: "",
|
|
16
|
+
listing: "items-start",
|
|
17
|
+
support: "items-start"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
defaultVariants: { iconRole: "iconFirst" }
|
|
21
|
+
});
|
|
22
|
+
function IconGridSection({
|
|
23
|
+
eyebrow,
|
|
24
|
+
title,
|
|
25
|
+
subtitle,
|
|
26
|
+
items,
|
|
27
|
+
tone = "default",
|
|
28
|
+
padding,
|
|
29
|
+
columns = 3,
|
|
30
|
+
iconRole = "iconFirst"
|
|
31
|
+
}) {
|
|
32
|
+
return /* @__PURE__ */ jsxDEV(MarketingCardsSection, {
|
|
33
|
+
tone,
|
|
34
|
+
padding,
|
|
35
|
+
eyebrow: eyebrow ? /* @__PURE__ */ jsxDEV(Muted, {
|
|
36
|
+
className: "text-xs font-semibold tracking-[0.2em] uppercase",
|
|
37
|
+
children: eyebrow
|
|
38
|
+
}, undefined, false, undefined, this) : null,
|
|
39
|
+
title,
|
|
40
|
+
subtitle: subtitle ? /* @__PURE__ */ jsxDEV(Muted, {
|
|
41
|
+
className: "text-lg",
|
|
42
|
+
children: subtitle
|
|
43
|
+
}, undefined, false, undefined, this) : null,
|
|
44
|
+
columns,
|
|
45
|
+
children: items.map((card) => /* @__PURE__ */ jsxDEV(MarketingIconCard, {
|
|
46
|
+
icon: card.icon,
|
|
47
|
+
title: card.title,
|
|
48
|
+
description: card.description,
|
|
49
|
+
tone: card.tone,
|
|
50
|
+
iconClassName: card.iconClassName,
|
|
51
|
+
variant: iconRole === "listing" ? "listing" : iconRole === "support" ? "support" : "iconFirst",
|
|
52
|
+
className: itemVariants({ iconRole })
|
|
53
|
+
}, card.title, false, undefined, this))
|
|
54
|
+
}, undefined, false, undefined, this);
|
|
55
|
+
}
|
|
5
56
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
57
|
+
// src/components/marketing/sections/FearsSection.tsx
|
|
58
|
+
import { CheckCircle, Code, Unlock, Zap } from "lucide-react";
|
|
59
|
+
import { jsxDEV as jsxDEV2 } from "react/jsx-dev-runtime";
|
|
60
|
+
var fears = [
|
|
61
|
+
{
|
|
62
|
+
title: '"I already have an app"',
|
|
63
|
+
body: "ContractSpec works with existing codebases. You don't start over \u2014 you stabilize incrementally, one module at a time. Start with one API endpoint, one data model, one contract.",
|
|
64
|
+
icon: CheckCircle
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
title: '"Vendor lock-in / losing ownership"',
|
|
68
|
+
body: "You own the generated code. It's standard TypeScript, standard SQL, standard GraphQL. ContractSpec is a compiler \u2014 like TypeScript itself. You can eject anytime.",
|
|
69
|
+
icon: Unlock
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
title: '"Adoption cost / learning curve"',
|
|
73
|
+
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.",
|
|
74
|
+
icon: Code
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
title: '"Forced migrations / magical runtime"',
|
|
78
|
+
body: "ContractSpec generates plain code you can read, debug, and modify. There's no proprietary runtime. Migrations are explicit, reversible, and in your control.",
|
|
79
|
+
icon: Zap
|
|
80
|
+
}
|
|
28
81
|
];
|
|
29
82
|
function FearsSection() {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
83
|
+
return /* @__PURE__ */ jsxDEV2(IconGridSection, {
|
|
84
|
+
tone: "muted",
|
|
85
|
+
columns: 2,
|
|
86
|
+
eyebrow: "We Get It",
|
|
87
|
+
title: "Your fears, addressed",
|
|
88
|
+
subtitle: "We know what you're thinking. Here's why those concerns don't apply to ContractSpec.",
|
|
89
|
+
iconRole: "support",
|
|
90
|
+
items: fears.map((item) => ({
|
|
91
|
+
icon: item.icon,
|
|
92
|
+
title: item.title,
|
|
93
|
+
description: item.body,
|
|
94
|
+
iconClassName: "text-violet-400"
|
|
95
|
+
}))
|
|
96
|
+
}, undefined, false, undefined, this);
|
|
44
97
|
}
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
//# sourceMappingURL=FearsSection.js.map
|
|
98
|
+
export {
|
|
99
|
+
FearsSection
|
|
100
|
+
};
|
|
@@ -1,7 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
//#region src/components/marketing/sections/HeroMarketingSection.d.ts
|
|
4
|
-
declare function HeroMarketingSection(): react_jsx_runtime0.JSX.Element;
|
|
5
|
-
//#endregion
|
|
6
|
-
export { HeroMarketingSection };
|
|
1
|
+
export declare function HeroMarketingSection(): import("react/jsx-runtime").JSX.Element;
|
|
7
2
|
//# sourceMappingURL=HeroMarketingSection.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HeroMarketingSection.d.ts","
|
|
1
|
+
{"version":3,"file":"HeroMarketingSection.d.ts","sourceRoot":"","sources":["../../../../src/components/marketing/sections/HeroMarketingSection.tsx"],"names":[],"mappings":"AAaA,wBAAgB,oBAAoB,4CA2DnC"}
|
|
@@ -1,77 +1,88 @@
|
|
|
1
|
-
|
|
1
|
+
// @bun
|
|
2
|
+
var __require = import.meta.require;
|
|
2
3
|
|
|
3
|
-
|
|
4
|
+
// src/components/marketing/sections/HeroMarketingSection.tsx
|
|
4
5
|
import { ButtonLink, MarketingSection } from "@contractspec/lib.design-system";
|
|
5
|
-
import {
|
|
6
|
+
import {
|
|
7
|
+
analyticsEventNames,
|
|
8
|
+
captureAnalyticsEvent
|
|
9
|
+
} from "@contractspec/bundle.library/libs/posthog/client";
|
|
10
|
+
import { Box, HStack, VStack } from "@contractspec/lib.ui-kit-web/ui/stack";
|
|
6
11
|
import { H1, Lead, Small } from "@contractspec/lib.ui-kit-web/ui/typography";
|
|
7
12
|
import { ChevronRight } from "lucide-react";
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
const heroChips = [
|
|
12
|
-
"Multi-Surface Sync",
|
|
13
|
-
"No Lock-in",
|
|
14
|
-
"Standard Tech"
|
|
15
|
-
];
|
|
13
|
+
import { jsxDEV } from "react/jsx-dev-runtime";
|
|
14
|
+
"use client";
|
|
15
|
+
var heroChips = ["Multi-Surface Sync", "No Lock-in", "Standard Tech"];
|
|
16
16
|
function HeroMarketingSection() {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
17
|
+
return /* @__PURE__ */ jsxDEV(MarketingSection, {
|
|
18
|
+
tone: "gradient",
|
|
19
|
+
padding: "spacious",
|
|
20
|
+
align: "center",
|
|
21
|
+
children: /* @__PURE__ */ jsxDEV(VStack, {
|
|
22
|
+
gap: "lg",
|
|
23
|
+
align: "center",
|
|
24
|
+
className: "text-center",
|
|
25
|
+
children: [
|
|
26
|
+
/* @__PURE__ */ jsxDEV(Box, {
|
|
27
|
+
as: "div",
|
|
28
|
+
role: "presentation",
|
|
29
|
+
className: "bg-muted text-muted-foreground inline-flex items-center rounded-full px-3 py-1 text-xs font-medium tracking-wider uppercase",
|
|
30
|
+
children: "Open Source Core"
|
|
31
|
+
}, undefined, false, undefined, this),
|
|
32
|
+
/* @__PURE__ */ jsxDEV(H1, {
|
|
33
|
+
className: "text-4xl leading-tight font-bold text-balance md:text-5xl",
|
|
34
|
+
children: "Stabilize your AI-generated code"
|
|
35
|
+
}, undefined, false, undefined, this),
|
|
36
|
+
/* @__PURE__ */ jsxDEV(Lead, {
|
|
37
|
+
className: "text-muted-foreground text-lg text-balance md:text-xl",
|
|
38
|
+
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."
|
|
39
|
+
}, undefined, false, undefined, this),
|
|
40
|
+
/* @__PURE__ */ jsxDEV(HStack, {
|
|
41
|
+
gap: "md",
|
|
42
|
+
justify: "center",
|
|
43
|
+
wrap: "wrap",
|
|
44
|
+
children: [
|
|
45
|
+
/* @__PURE__ */ jsxDEV(ButtonLink, {
|
|
46
|
+
href: "/install",
|
|
47
|
+
onClick: () => captureAnalyticsEvent(analyticsEventNames.CTA_INSTALL_CLICK, {
|
|
48
|
+
surface: "hero"
|
|
49
|
+
}),
|
|
50
|
+
children: [
|
|
51
|
+
"Install OSS ",
|
|
52
|
+
/* @__PURE__ */ jsxDEV(ChevronRight, {
|
|
53
|
+
size: 16
|
|
54
|
+
}, undefined, false, undefined, this)
|
|
55
|
+
]
|
|
56
|
+
}, undefined, true, undefined, this),
|
|
57
|
+
/* @__PURE__ */ jsxDEV(ButtonLink, {
|
|
58
|
+
variant: "ghost",
|
|
59
|
+
href: "/contact#waitlist",
|
|
60
|
+
onClick: () => captureAnalyticsEvent(analyticsEventNames.CTA_STUDIO_CLICK, {
|
|
61
|
+
surface: "hero"
|
|
62
|
+
}),
|
|
63
|
+
children: "Join Studio Waitlist"
|
|
64
|
+
}, undefined, false, undefined, this)
|
|
65
|
+
]
|
|
66
|
+
}, undefined, true, undefined, this),
|
|
67
|
+
/* @__PURE__ */ jsxDEV(HStack, {
|
|
68
|
+
gap: "sm",
|
|
69
|
+
justify: "center",
|
|
70
|
+
wrap: "wrap",
|
|
71
|
+
className: "pt-2",
|
|
72
|
+
children: heroChips.map((chip) => /* @__PURE__ */ jsxDEV(Box, {
|
|
73
|
+
as: "div",
|
|
74
|
+
role: "presentation",
|
|
75
|
+
className: "border-border text-foreground inline-flex items-center rounded-full border px-3 py-1 text-sm",
|
|
76
|
+
children: /* @__PURE__ */ jsxDEV(Small, {
|
|
77
|
+
className: "font-medium",
|
|
78
|
+
children: chip
|
|
79
|
+
}, undefined, false, undefined, this)
|
|
80
|
+
}, chip, false, undefined, this))
|
|
81
|
+
}, undefined, false, undefined, this)
|
|
82
|
+
]
|
|
83
|
+
}, undefined, true, undefined, this)
|
|
84
|
+
}, undefined, false, undefined, this);
|
|
73
85
|
}
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
//# sourceMappingURL=HeroMarketingSection.js.map
|
|
86
|
+
export {
|
|
87
|
+
HeroMarketingSection
|
|
88
|
+
};
|
|
@@ -1,45 +1,31 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
//#region src/components/marketing/sections/IconGridSection.d.ts
|
|
8
|
-
type IconComponent = React$1.ComponentType<{
|
|
9
|
-
className?: string;
|
|
10
|
-
size?: number;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { type VariantProps } from 'class-variance-authority';
|
|
3
|
+
import { type MarketingCardTone, type MarketingSectionPadding, type MarketingSectionTone } from '@contractspec/lib.design-system';
|
|
4
|
+
type IconComponent = React.ComponentType<{
|
|
5
|
+
className?: string;
|
|
6
|
+
size?: number;
|
|
11
7
|
}>;
|
|
12
|
-
interface IconGridItem {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
8
|
+
export interface IconGridItem {
|
|
9
|
+
icon: IconComponent;
|
|
10
|
+
title: string;
|
|
11
|
+
description: string;
|
|
12
|
+
iconClassName?: string;
|
|
13
|
+
tone?: MarketingCardTone;
|
|
18
14
|
}
|
|
19
15
|
interface IconGridSectionProps {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
16
|
+
eyebrow?: string;
|
|
17
|
+
title: string;
|
|
18
|
+
subtitle?: string;
|
|
19
|
+
items: IconGridItem[];
|
|
20
|
+
tone?: MarketingSectionTone;
|
|
21
|
+
padding?: MarketingSectionPadding;
|
|
22
|
+
columns?: 2 | 3 | 4;
|
|
23
|
+
iconRole?: IconGridSectionRole;
|
|
28
24
|
}
|
|
29
25
|
declare const itemVariants: (props?: ({
|
|
30
|
-
|
|
31
|
-
} &
|
|
32
|
-
type IconGridSectionRole = VariantProps<typeof itemVariants>['iconRole'];
|
|
33
|
-
declare function IconGridSection({
|
|
34
|
-
|
|
35
|
-
title,
|
|
36
|
-
subtitle,
|
|
37
|
-
items,
|
|
38
|
-
tone,
|
|
39
|
-
padding,
|
|
40
|
-
columns,
|
|
41
|
-
iconRole
|
|
42
|
-
}: IconGridSectionProps): react_jsx_runtime0.JSX.Element;
|
|
43
|
-
//#endregion
|
|
44
|
-
export { IconGridItem, IconGridSection, IconGridSectionRole };
|
|
26
|
+
iconRole?: "iconFirst" | "listing" | "support" | null | undefined;
|
|
27
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
28
|
+
export type IconGridSectionRole = VariantProps<typeof itemVariants>['iconRole'];
|
|
29
|
+
export declare function IconGridSection({ eyebrow, title, subtitle, items, tone, padding, columns, iconRole, }: IconGridSectionProps): import("react/jsx-runtime").JSX.Element;
|
|
30
|
+
export {};
|
|
45
31
|
//# sourceMappingURL=IconGridSection.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IconGridSection.d.ts","
|
|
1
|
+
{"version":3,"file":"IconGridSection.d.ts","sourceRoot":"","sources":["../../../../src/components/marketing/sections/IconGridSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAGL,KAAK,iBAAiB,EACtB,KAAK,uBAAuB,EAC5B,KAAK,oBAAoB,EAC1B,MAAM,iCAAiC,CAAC;AAGzC,KAAK,aAAa,GAAG,KAAK,CAAC,aAAa,CAAC;IAAE,SAAS,CAAC,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC;AAEhF,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,aAAa,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,IAAI,CAAC,EAAE,iBAAiB,CAAC;CAC1B;AAED,UAAU,oBAAoB;IAC5B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,YAAY,EAAE,CAAC;IACtB,IAAI,CAAC,EAAE,oBAAoB,CAAC;IAC5B,OAAO,CAAC,EAAE,uBAAuB,CAAC;IAClC,OAAO,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IACpB,QAAQ,CAAC,EAAE,mBAAmB,CAAC;CAChC;AAED,QAAA,MAAM,YAAY;;8EAShB,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG,YAAY,CAAC,OAAO,YAAY,CAAC,CAAC,UAAU,CAAC,CAAC;AAEhF,wBAAgB,eAAe,CAAC,EAC9B,OAAO,EACP,KAAK,EACL,QAAQ,EACR,KAAK,EACL,IAAgB,EAChB,OAAO,EACP,OAAW,EACX,QAAsB,GACvB,EAAE,oBAAoB,2CAoCtB"}
|
|
@@ -1,44 +1,58 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { jsx } from "react/jsx-runtime";
|
|
4
|
-
import "react";
|
|
5
|
-
import { cva } from "class-variance-authority";
|
|
1
|
+
// @bun
|
|
2
|
+
var __require = import.meta.require;
|
|
6
3
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
4
|
+
// src/components/marketing/sections/IconGridSection.tsx
|
|
5
|
+
import { cva } from "class-variance-authority";
|
|
6
|
+
import {
|
|
7
|
+
MarketingCardsSection,
|
|
8
|
+
MarketingIconCard
|
|
9
|
+
} from "@contractspec/lib.design-system";
|
|
10
|
+
import { Muted } from "@contractspec/lib.ui-kit-web/ui/typography";
|
|
11
|
+
import { jsxDEV } from "react/jsx-dev-runtime";
|
|
12
|
+
var itemVariants = cva("", {
|
|
13
|
+
variants: {
|
|
14
|
+
iconRole: {
|
|
15
|
+
iconFirst: "",
|
|
16
|
+
listing: "items-start",
|
|
17
|
+
support: "items-start"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
defaultVariants: { iconRole: "iconFirst" }
|
|
15
21
|
});
|
|
16
|
-
function IconGridSection({
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
22
|
+
function IconGridSection({
|
|
23
|
+
eyebrow,
|
|
24
|
+
title,
|
|
25
|
+
subtitle,
|
|
26
|
+
items,
|
|
27
|
+
tone = "default",
|
|
28
|
+
padding,
|
|
29
|
+
columns = 3,
|
|
30
|
+
iconRole = "iconFirst"
|
|
31
|
+
}) {
|
|
32
|
+
return /* @__PURE__ */ jsxDEV(MarketingCardsSection, {
|
|
33
|
+
tone,
|
|
34
|
+
padding,
|
|
35
|
+
eyebrow: eyebrow ? /* @__PURE__ */ jsxDEV(Muted, {
|
|
36
|
+
className: "text-xs font-semibold tracking-[0.2em] uppercase",
|
|
37
|
+
children: eyebrow
|
|
38
|
+
}, undefined, false, undefined, this) : null,
|
|
39
|
+
title,
|
|
40
|
+
subtitle: subtitle ? /* @__PURE__ */ jsxDEV(Muted, {
|
|
41
|
+
className: "text-lg",
|
|
42
|
+
children: subtitle
|
|
43
|
+
}, undefined, false, undefined, this) : null,
|
|
44
|
+
columns,
|
|
45
|
+
children: items.map((card) => /* @__PURE__ */ jsxDEV(MarketingIconCard, {
|
|
46
|
+
icon: card.icon,
|
|
47
|
+
title: card.title,
|
|
48
|
+
description: card.description,
|
|
49
|
+
tone: card.tone,
|
|
50
|
+
iconClassName: card.iconClassName,
|
|
51
|
+
variant: iconRole === "listing" ? "listing" : iconRole === "support" ? "support" : "iconFirst",
|
|
52
|
+
className: itemVariants({ iconRole })
|
|
53
|
+
}, card.title, false, undefined, this))
|
|
54
|
+
}, undefined, false, undefined, this);
|
|
40
55
|
}
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
//# sourceMappingURL=IconGridSection.js.map
|
|
56
|
+
export {
|
|
57
|
+
IconGridSection
|
|
58
|
+
};
|
|
@@ -1,7 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
//#region src/components/marketing/sections/OutputsSection.d.ts
|
|
4
|
-
declare function OutputsSection(): react_jsx_runtime0.JSX.Element;
|
|
5
|
-
//#endregion
|
|
6
|
-
export { OutputsSection };
|
|
1
|
+
export declare function OutputsSection(): import("react/jsx-runtime").JSX.Element;
|
|
7
2
|
//# sourceMappingURL=OutputsSection.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OutputsSection.d.ts","
|
|
1
|
+
{"version":3,"file":"OutputsSection.d.ts","sourceRoot":"","sources":["../../../../src/components/marketing/sections/OutputsSection.tsx"],"names":[],"mappings":"AAuCA,wBAAgB,cAAc,4CAmB7B"}
|