@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.
Files changed (164) hide show
  1. package/.turbo/turbo-build.log +84 -84
  2. package/AGENTS.md +29 -21
  3. package/CHANGELOG.md +27 -0
  4. package/README.md +36 -49
  5. package/dist/browser/components/marketing/ChangelogPage.js +8 -8
  6. package/dist/browser/components/marketing/CofounderPage.js +167 -523
  7. package/dist/browser/components/marketing/ContactClient.js +200 -207
  8. package/dist/browser/components/marketing/ContributePage.js +211 -463
  9. package/dist/browser/components/marketing/DesignPartnerPage.js +165 -218
  10. package/dist/browser/components/marketing/LandingPage.js +464 -568
  11. package/dist/browser/components/marketing/PricingClient.js +213 -839
  12. package/dist/browser/components/marketing/ProductClientPage.js +265 -463
  13. package/dist/browser/components/marketing/index.js +2007 -3338
  14. package/dist/browser/components/marketing/pricing-thinking-modal.js +12 -12
  15. package/dist/browser/components/marketing/sections/AudienceSection.js +2 -2
  16. package/dist/browser/components/marketing/sections/CorePositioningSection.js +2 -2
  17. package/dist/browser/components/marketing/sections/CtaSection.js +3 -3
  18. package/dist/browser/components/marketing/sections/FearsSection.js +3 -3
  19. package/dist/browser/components/marketing/sections/HeroMarketingSection.js +6 -6
  20. package/dist/browser/components/marketing/sections/IconGridSection.js +2 -2
  21. package/dist/browser/components/marketing/sections/OutputsSection.js +2 -2
  22. package/dist/browser/components/marketing/sections/ProblemSection.js +2 -2
  23. package/dist/browser/components/marketing/sections/SolutionSection.js +2 -2
  24. package/dist/browser/components/marketing/sections/StepsSection.js +4 -4
  25. package/dist/browser/components/marketing/studio-signup-section.js +25 -41
  26. package/dist/browser/components/templates/TemplatesClientPage.js +2324 -3578
  27. package/dist/browser/components/templates/TemplatesPage.js +1 -1
  28. package/dist/browser/components/templates/TemplatesPreviewModal.js +3 -3
  29. package/dist/browser/components/templates/index.js +2361 -3615
  30. package/dist/browser/index.js +2363 -3617
  31. package/dist/browser/libs/email/client.js +1 -1
  32. package/dist/browser/libs/email/contact.js +1 -1
  33. package/dist/browser/libs/email/newsletter.js +1 -1
  34. package/dist/browser/libs/email/waitlist-application.js +1 -1
  35. package/dist/browser/libs/email/waitlist.js +1 -1
  36. package/dist/browser/registry/engine.js +2003 -3334
  37. package/dist/browser/registry/index.js +2003 -3334
  38. package/dist/browser/registry/registry-docs.js +2 -2
  39. package/dist/browser/registry/registry-landing.js +2007 -3338
  40. package/dist/browser/registry/registry.js +2003 -3334
  41. package/dist/browser/registry/utils.js +2003 -3334
  42. package/dist/components/marketing/ChangelogPage.js +8 -8
  43. package/dist/components/marketing/CofounderPage.js +167 -523
  44. package/dist/components/marketing/ContactClient.js +200 -207
  45. package/dist/components/marketing/ContributePage.d.ts +0 -2
  46. package/dist/components/marketing/ContributePage.js +211 -463
  47. package/dist/components/marketing/DesignPartnerPage.js +165 -218
  48. package/dist/components/marketing/LandingPage.js +464 -568
  49. package/dist/components/marketing/PricingClient.js +213 -839
  50. package/dist/components/marketing/ProductClientPage.js +265 -463
  51. package/dist/components/marketing/index.d.ts +5 -5
  52. package/dist/components/marketing/index.js +2007 -3338
  53. package/dist/components/marketing/pricing-thinking-modal.js +12 -12
  54. package/dist/components/marketing/sections/AudienceSection.js +2 -2
  55. package/dist/components/marketing/sections/CorePositioningSection.js +2 -2
  56. package/dist/components/marketing/sections/CtaSection.js +3 -3
  57. package/dist/components/marketing/sections/FearsSection.js +3 -3
  58. package/dist/components/marketing/sections/HeroMarketingSection.js +6 -6
  59. package/dist/components/marketing/sections/IconGridSection.d.ts +3 -3
  60. package/dist/components/marketing/sections/IconGridSection.js +2 -2
  61. package/dist/components/marketing/sections/OutputsSection.js +2 -2
  62. package/dist/components/marketing/sections/ProblemSection.js +2 -2
  63. package/dist/components/marketing/sections/SolutionSection.js +2 -2
  64. package/dist/components/marketing/sections/StepsSection.js +4 -4
  65. package/dist/components/marketing/studio-signup-section.js +25 -41
  66. package/dist/components/templates/TemplatesClientPage.js +2324 -3578
  67. package/dist/components/templates/TemplatesPage.js +1 -1
  68. package/dist/components/templates/TemplatesPreviewModal.js +3 -3
  69. package/dist/components/templates/index.js +2361 -3615
  70. package/dist/index.js +2363 -3617
  71. package/dist/libs/email/client.js +1 -1
  72. package/dist/libs/email/contact.js +1 -1
  73. package/dist/libs/email/newsletter.js +1 -1
  74. package/dist/libs/email/waitlist-application.js +1 -1
  75. package/dist/libs/email/waitlist.js +1 -1
  76. package/dist/node/components/marketing/ChangelogPage.js +8 -8
  77. package/dist/node/components/marketing/CofounderPage.js +167 -523
  78. package/dist/node/components/marketing/ContactClient.js +200 -207
  79. package/dist/node/components/marketing/ContributePage.js +211 -463
  80. package/dist/node/components/marketing/DesignPartnerPage.js +165 -218
  81. package/dist/node/components/marketing/LandingPage.js +464 -568
  82. package/dist/node/components/marketing/PricingClient.js +213 -839
  83. package/dist/node/components/marketing/ProductClientPage.js +265 -463
  84. package/dist/node/components/marketing/index.js +2007 -3338
  85. package/dist/node/components/marketing/pricing-thinking-modal.js +12 -12
  86. package/dist/node/components/marketing/sections/AudienceSection.js +2 -2
  87. package/dist/node/components/marketing/sections/CorePositioningSection.js +2 -2
  88. package/dist/node/components/marketing/sections/CtaSection.js +3 -3
  89. package/dist/node/components/marketing/sections/FearsSection.js +3 -3
  90. package/dist/node/components/marketing/sections/HeroMarketingSection.js +6 -6
  91. package/dist/node/components/marketing/sections/IconGridSection.js +2 -2
  92. package/dist/node/components/marketing/sections/OutputsSection.js +2 -2
  93. package/dist/node/components/marketing/sections/ProblemSection.js +2 -2
  94. package/dist/node/components/marketing/sections/SolutionSection.js +2 -2
  95. package/dist/node/components/marketing/sections/StepsSection.js +4 -4
  96. package/dist/node/components/marketing/studio-signup-section.js +25 -41
  97. package/dist/node/components/templates/TemplatesClientPage.js +2324 -3578
  98. package/dist/node/components/templates/TemplatesPage.js +1 -1
  99. package/dist/node/components/templates/TemplatesPreviewModal.js +3 -3
  100. package/dist/node/components/templates/index.js +2361 -3615
  101. package/dist/node/index.js +2363 -3617
  102. package/dist/node/libs/email/client.js +1 -1
  103. package/dist/node/libs/email/contact.js +1 -1
  104. package/dist/node/libs/email/newsletter.js +1 -1
  105. package/dist/node/libs/email/waitlist-application.js +1 -1
  106. package/dist/node/libs/email/waitlist.js +1 -1
  107. package/dist/node/registry/engine.js +2003 -3334
  108. package/dist/node/registry/index.js +2003 -3334
  109. package/dist/node/registry/registry-docs.js +2 -2
  110. package/dist/node/registry/registry-landing.js +2007 -3338
  111. package/dist/node/registry/registry.js +2003 -3334
  112. package/dist/node/registry/utils.js +2003 -3334
  113. package/dist/registry/engine.js +2003 -3334
  114. package/dist/registry/index.js +2003 -3334
  115. package/dist/registry/registry-docs.js +2 -2
  116. package/dist/registry/registry-landing.js +2007 -3338
  117. package/dist/registry/registry.js +2003 -3334
  118. package/dist/registry/utils.js +2003 -3334
  119. package/package.json +29 -29
  120. package/src/bundles/MarketingBundle.ts +273 -273
  121. package/src/components/marketing/ChangelogPage.tsx +72 -100
  122. package/src/components/marketing/CofounderPage.tsx +120 -384
  123. package/src/components/marketing/ContactClient.tsx +164 -154
  124. package/src/components/marketing/ContributePage.tsx +139 -313
  125. package/src/components/marketing/DesignPartnerPage.tsx +133 -171
  126. package/src/components/marketing/LandingPage.tsx +353 -25
  127. package/src/components/marketing/PricingClient.tsx +192 -437
  128. package/src/components/marketing/ProductClientPage.tsx +255 -377
  129. package/src/components/marketing/index.ts +5 -5
  130. package/src/components/marketing/pricing-thinking-modal.tsx +197 -197
  131. package/src/components/marketing/sections/AudienceSection.tsx +55 -56
  132. package/src/components/marketing/sections/CorePositioningSection.tsx +37 -37
  133. package/src/components/marketing/sections/CtaSection.tsx +49 -50
  134. package/src/components/marketing/sections/DevelopersSection.tsx +26 -27
  135. package/src/components/marketing/sections/FearsSection.tsx +36 -37
  136. package/src/components/marketing/sections/HeroMarketingSection.tsx +59 -59
  137. package/src/components/marketing/sections/IconGridSection.tsx +71 -71
  138. package/src/components/marketing/sections/OutputsSection.tsx +51 -52
  139. package/src/components/marketing/sections/ProblemSection.tsx +39 -40
  140. package/src/components/marketing/sections/SolutionSection.tsx +39 -40
  141. package/src/components/marketing/sections/StepsSection.tsx +47 -48
  142. package/src/components/marketing/studio-signup-section.tsx +39 -41
  143. package/src/components/templates/TemplatesClientPage.tsx +727 -685
  144. package/src/components/templates/TemplatesPage.tsx +110 -110
  145. package/src/components/templates/TemplatesPreviewModal.tsx +197 -198
  146. package/src/index.ts +4 -4
  147. package/src/libs/email/client.test.ts +81 -81
  148. package/src/libs/email/client.ts +111 -111
  149. package/src/libs/email/contact.ts +35 -35
  150. package/src/libs/email/newsletter.ts +46 -46
  151. package/src/libs/email/types.ts +29 -29
  152. package/src/libs/email/utils.ts +5 -5
  153. package/src/libs/email/waitlist-application.ts +72 -72
  154. package/src/libs/email/waitlist.ts +46 -46
  155. package/src/libs/pricing-examples.ts +12 -12
  156. package/src/registry/engine.ts +16 -16
  157. package/src/registry/factory.ts +57 -57
  158. package/src/registry/registry-docs.ts +656 -666
  159. package/src/registry/registry-landing.ts +94 -95
  160. package/src/registry/registry.ts +36 -37
  161. package/src/registry/types.ts +2 -2
  162. package/src/registry/utils.ts +56 -56
  163. package/tsconfig.json +11 -11
  164. package/tsdown.config.js +5 -5
@@ -7,481 +7,229 @@ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require
7
7
  });
8
8
 
9
9
  // src/components/marketing/ContributePage.tsx
10
+ import Link from "next/link";
10
11
  import { jsxDEV } from "react/jsx-dev-runtime";
11
- var metadata = {
12
- title: "Contribute to ContractSpec",
13
- description: "Join the ContractSpec open-source community. Report issues, improve docs, build integrations, and help shape the future of spec-first development.",
14
- openGraph: {
15
- title: "Contribute to ContractSpec",
16
- description: "Get started contributing in under 3 minutes. Docs, examples, integrations, and more.",
17
- url: "https://contractspec.io/contribute"
12
+ var contributionTracks = [
13
+ {
14
+ title: "Contracts and runtime behavior",
15
+ copy: "Improve the core system surfaces that keep APIs, UI, data, and tools aligned."
18
16
  },
19
- alternates: {
20
- canonical: "https://contractspec.io/contribute"
17
+ {
18
+ title: "Examples and templates",
19
+ copy: "Show how the open system behaves in realistic verticals and team workflows."
20
+ },
21
+ {
22
+ title: "Docs and agent-facing guidance",
23
+ copy: "Tighten the human and machine-readable guides that explain how the stack actually works."
24
+ },
25
+ {
26
+ title: "Integrations and ecosystem",
27
+ copy: "Expand the bridges that make the system usable in more real-world environments."
21
28
  }
22
- };
29
+ ];
23
30
  function ContributePage() {
24
31
  return /* @__PURE__ */ jsxDEV("main", {
25
- className: "flex grow flex-col items-center justify-center",
26
- children: /* @__PURE__ */ jsxDEV("section", {
27
- className: "section-padding",
28
- children: /* @__PURE__ */ jsxDEV("div", {
29
- className: "prose prose-invert mx-auto max-w-2xl",
30
- children: [
31
- /* @__PURE__ */ jsxDEV("h1", {
32
- className: "mb-8 text-4xl font-bold",
33
- children: "Contribute to ContractSpec"
34
- }, undefined, false, undefined, this),
35
- /* @__PURE__ */ jsxDEV("div", {
36
- className: "not-prose border-border bg-muted/30 mb-12 rounded-lg border p-6",
37
- children: [
38
- /* @__PURE__ */ jsxDEV("h2", {
39
- className: "text-foreground mb-4 text-xl font-bold",
40
- children: " Quick Start 3 Minutes to Your First Contribution"
41
- }, undefined, false, undefined, this),
42
- /* @__PURE__ */ jsxDEV("ol", {
43
- className: "text-muted-foreground list-inside list-decimal space-y-2",
44
- children: [
45
- /* @__PURE__ */ jsxDEV("li", {
46
- children: [
47
- "Read the",
48
- " ",
49
- /* @__PURE__ */ jsxDEV("a", {
50
- href: "https://github.com/contractspec/contractspec/blob/main/CONTRIBUTING.md",
51
- className: "text-primary hover:underline",
52
- target: "_blank",
53
- rel: "noopener noreferrer",
54
- children: "CONTRIBUTING guide"
55
- }, undefined, false, undefined, this)
56
- ]
57
- }, undefined, true, undefined, this),
58
- /* @__PURE__ */ jsxDEV("li", {
59
- children: [
60
- "Pick a",
61
- " ",
62
- /* @__PURE__ */ jsxDEV("a", {
63
- href: "https://github.com/contractspec/contractspec/labels/good%20first%20issue",
64
- className: "text-primary hover:underline",
65
- target: "_blank",
66
- rel: "noopener noreferrer",
67
- children: "good first issue"
68
- }, undefined, false, undefined, this),
69
- " ",
70
- "or",
71
- " ",
72
- /* @__PURE__ */ jsxDEV("a", {
73
- href: "https://github.com/contractspec/contractspec/labels/help%20wanted",
74
- className: "text-primary hover:underline",
75
- target: "_blank",
76
- rel: "noopener noreferrer",
77
- children: "help wanted"
78
- }, undefined, false, undefined, this),
79
- " ",
80
- "label"
81
- ]
82
- }, undefined, true, undefined, this),
83
- /* @__PURE__ */ jsxDEV("li", {
84
- children: "Open a draft PR early — we'll guide you from there"
85
- }, undefined, false, undefined, this)
86
- ]
87
- }, undefined, true, undefined, this)
88
- ]
89
- }, undefined, true, undefined, this),
90
- /* @__PURE__ */ jsxDEV("section", {
91
- className: "mb-10 space-y-4",
92
- children: [
93
- /* @__PURE__ */ jsxDEV("h2", {
94
- className: "text-foreground text-2xl font-bold",
95
- children: "Why Open Source?"
96
- }, undefined, false, undefined, this),
97
- /* @__PURE__ */ jsxDEV("ul", {
98
- className: "text-muted-foreground list-inside list-disc space-y-2",
99
- children: [
100
- /* @__PURE__ */ jsxDEV("li", {
101
- children: [
102
- /* @__PURE__ */ jsxDEV("strong", {
103
- children: "Transparency:"
104
- }, undefined, false, undefined, this),
105
- " You can see exactly how your code is compiled and deployed"
106
- ]
107
- }, undefined, true, undefined, this),
108
- /* @__PURE__ */ jsxDEV("li", {
109
- children: [
110
- /* @__PURE__ */ jsxDEV("strong", {
111
- children: "Trust:"
112
- }, undefined, false, undefined, this),
113
- " No black boxes audit the compiler that shapes your AI-generated code"
114
- ]
115
- }, undefined, true, undefined, this),
116
- /* @__PURE__ */ jsxDEV("li", {
117
- children: [
118
- /* @__PURE__ */ jsxDEV("strong", {
119
- children: "Faster ecosystem:"
120
- }, undefined, false, undefined, this),
121
- " Community contributions accelerate adoption and surface real-world edge cases"
122
- ]
123
- }, undefined, true, undefined, this),
124
- /* @__PURE__ */ jsxDEV("li", {
125
- children: [
126
- /* @__PURE__ */ jsxDEV("strong", {
127
- children: "Community review:"
128
- }, undefined, false, undefined, this),
129
- " More eyes catch more bugs, and better patterns emerge"
130
- ]
131
- }, undefined, true, undefined, this),
132
- /* @__PURE__ */ jsxDEV("li", {
133
- children: [
134
- /* @__PURE__ */ jsxDEV("strong", {
135
- children: "No lock-in:"
136
- }, undefined, false, undefined, this),
137
- " You own your code. The spec is portable."
138
- ]
139
- }, undefined, true, undefined, this)
140
- ]
141
- }, undefined, true, undefined, this)
142
- ]
143
- }, undefined, true, undefined, this),
144
- /* @__PURE__ */ jsxDEV("section", {
145
- className: "mb-10 space-y-4",
146
- children: [
147
- /* @__PURE__ */ jsxDEV("h2", {
148
- className: "text-foreground text-2xl font-bold",
149
- children: "Where to Contribute"
150
- }, undefined, false, undefined, this),
151
- /* @__PURE__ */ jsxDEV("ul", {
152
- className: "text-muted-foreground list-inside list-disc space-y-2",
153
- children: [
154
- /* @__PURE__ */ jsxDEV("li", {
155
- children: [
156
- /* @__PURE__ */ jsxDEV("a", {
157
- href: "https://github.com/contractspec",
158
- className: "text-primary hover:underline",
159
- target: "_blank",
160
- rel: "noopener noreferrer",
161
- children: "GitHub Organization"
162
- }, undefined, false, undefined, this),
163
- " ",
164
- "— All repos live here"
165
- ]
166
- }, undefined, true, undefined, this),
167
- /* @__PURE__ */ jsxDEV("li", {
168
- children: [
169
- /* @__PURE__ */ jsxDEV("a", {
170
- href: "https://github.com/contractspec/contractspec",
171
- className: "text-primary hover:underline",
172
- target: "_blank",
173
- rel: "noopener noreferrer",
174
- children: "Main Repository"
175
- }, undefined, false, undefined, this),
176
- " ",
177
- "— Core compiler and specs"
178
- ]
179
- }, undefined, true, undefined, this),
180
- /* @__PURE__ */ jsxDEV("li", {
181
- children: [
182
- /* @__PURE__ */ jsxDEV("a", {
183
- href: "https://github.com/contractspec/contractspec/discussions",
184
- className: "text-primary hover:underline",
185
- target: "_blank",
186
- rel: "noopener noreferrer",
187
- children: "Discussions"
188
- }, undefined, false, undefined, this),
189
- " ",
190
- "— Questions, ideas, and RFCs"
191
- ]
192
- }, undefined, true, undefined, this)
193
- ]
194
- }, undefined, true, undefined, this)
195
- ]
196
- }, undefined, true, undefined, this),
197
- /* @__PURE__ */ jsxDEV("section", {
198
- className: "mb-10 space-y-4",
199
- children: [
200
- /* @__PURE__ */ jsxDEV("h2", {
201
- className: "text-foreground text-2xl font-bold",
202
- children: "Ways to Contribute"
203
- }, undefined, false, undefined, this),
204
- /* @__PURE__ */ jsxDEV("div", {
205
- className: "text-muted-foreground space-y-3",
206
- children: [
207
- /* @__PURE__ */ jsxDEV("p", {
208
- children: [
209
- /* @__PURE__ */ jsxDEV("strong", {
210
- className: "text-foreground",
211
- children: "\uD83D\uDCC4 Documentation:"
212
- }, undefined, false, undefined, this),
213
- " ",
214
- "Fix typos, improve explanations, add missing guides"
215
- ]
216
- }, undefined, true, undefined, this),
217
- /* @__PURE__ */ jsxDEV("p", {
218
- children: [
219
- /* @__PURE__ */ jsxDEV("strong", {
220
- className: "text-foreground",
221
- children: "\uD83D\uDCE6 Examples & Templates:"
222
- }, undefined, false, undefined, this),
223
- " ",
224
- "Build real-world specs for common use cases"
225
- ]
226
- }, undefined, true, undefined, this),
227
- /* @__PURE__ */ jsxDEV("p", {
228
- children: [
229
- /* @__PURE__ */ jsxDEV("strong", {
230
- className: "text-foreground",
231
- children: "\uD83D\uDD0C Integrations & Adapters:"
232
- }, undefined, false, undefined, this),
233
- " ",
234
- "Connect ContractSpec to frameworks, databases, and tools"
235
- ]
236
- }, undefined, true, undefined, this),
237
- /* @__PURE__ */ jsxDEV("p", {
238
- children: [
239
- /* @__PURE__ */ jsxDEV("strong", {
240
- className: "text-foreground",
241
- children: "\uD83D\uDC1B Bug Reports:"
242
- }, undefined, false, undefined, this),
243
- " ",
244
- "File issues with clear reproduction steps — minimal cases help the most"
245
- ]
246
- }, undefined, true, undefined, this),
247
- /* @__PURE__ */ jsxDEV("p", {
248
- children: [
249
- /* @__PURE__ */ jsxDEV("strong", {
250
- className: "text-foreground",
251
- children: "\uD83D\uDD12 Security Reports:"
252
- }, undefined, false, undefined, this),
253
- " ",
254
- "Found a vulnerability? See",
255
- " ",
256
- /* @__PURE__ */ jsxDEV("a", {
257
- href: "#security",
258
- className: "text-primary hover:underline",
259
- children: "Security"
260
- }, undefined, false, undefined, this),
261
- " ",
262
- "below"
263
- ]
264
- }, undefined, true, undefined, this)
265
- ]
266
- }, undefined, true, undefined, this)
267
- ]
268
- }, undefined, true, undefined, this),
269
- /* @__PURE__ */ jsxDEV("section", {
270
- className: "mb-10 space-y-4",
271
- children: [
272
- /* @__PURE__ */ jsxDEV("h2", {
273
- className: "text-foreground text-2xl font-bold",
274
- children: "Quality Bar"
275
- }, undefined, false, undefined, this),
276
- /* @__PURE__ */ jsxDEV("p", {
277
- className: "text-muted-foreground",
278
- children: "We keep the bar high so the codebase stays maintainable. Every PR should:"
279
- }, undefined, false, undefined, this),
280
- /* @__PURE__ */ jsxDEV("ul", {
281
- className: "text-muted-foreground list-inside list-disc space-y-2",
282
- children: [
283
- /* @__PURE__ */ jsxDEV("li", {
284
- children: [
285
- /* @__PURE__ */ jsxDEV("strong", {
286
- children: "Include tests"
287
- }, undefined, false, undefined, this),
288
- " — Unit tests for logic, integration tests for adapters"
289
- ]
290
- }, undefined, true, undefined, this),
291
- /* @__PURE__ */ jsxDEV("li", {
292
- children: [
293
- /* @__PURE__ */ jsxDEV("strong", {
294
- children: "Be fully typed"
295
- }, undefined, false, undefined, this),
296
- " — No ",
297
- /* @__PURE__ */ jsxDEV("code", {
298
- children: "any"
299
- }, undefined, false, undefined, this),
300
- ". Strict TypeScript only."
301
- ]
302
- }, undefined, true, undefined, this),
303
- /* @__PURE__ */ jsxDEV("li", {
304
- children: [
305
- /* @__PURE__ */ jsxDEV("strong", {
306
- children: "Stay small"
307
- }, undefined, false, undefined, this),
308
- " — One concern per PR. Easier to review, faster to merge."
309
- ]
310
- }, undefined, true, undefined, this),
311
- /* @__PURE__ */ jsxDEV("li", {
312
- children: [
313
- /* @__PURE__ */ jsxDEV("strong", {
314
- children: "Use clear commit messages"
315
- }, undefined, false, undefined, this),
316
- " — Describe _what_ and _why_, not just _how_"
317
- ]
318
- }, undefined, true, undefined, this)
319
- ]
320
- }, undefined, true, undefined, this),
321
- /* @__PURE__ */ jsxDEV("div", {
322
- className: "bg-muted/20 mt-4 rounded-md p-4",
32
+ children: [
33
+ /* @__PURE__ */ jsxDEV("section", {
34
+ className: "section-padding hero-gradient border-border/70 border-b",
35
+ children: /* @__PURE__ */ jsxDEV("div", {
36
+ className: "editorial-shell grid gap-8 lg:grid-cols-[1.05fr_0.95fr]",
37
+ children: [
38
+ /* @__PURE__ */ jsxDEV("div", {
39
+ className: "space-y-5",
40
+ children: [
41
+ /* @__PURE__ */ jsxDEV("p", {
42
+ className: "editorial-kicker",
43
+ children: "Open source"
44
+ }, undefined, false, undefined, this),
45
+ /* @__PURE__ */ jsxDEV("h1", {
46
+ className: "editorial-title max-w-4xl",
47
+ children: "Contribute to the open system, not a black box."
48
+ }, undefined, false, undefined, this),
49
+ /* @__PURE__ */ jsxDEV("p", {
50
+ className: "editorial-subtitle",
51
+ children: "ContractSpec should stay legible, standards-first, and useful in real workflows. Contributions matter most when they sharpen that clarity instead of adding abstraction for its own sake."
52
+ }, undefined, false, undefined, this)
53
+ ]
54
+ }, undefined, true, undefined, this),
55
+ /* @__PURE__ */ jsxDEV("div", {
56
+ className: "editorial-panel space-y-5",
57
+ children: [
58
+ /* @__PURE__ */ jsxDEV("p", {
59
+ className: "editorial-kicker",
60
+ children: "Fastest path"
61
+ }, undefined, false, undefined, this),
62
+ /* @__PURE__ */ jsxDEV("ol", {
63
+ className: "space-y-4 text-muted-foreground text-sm leading-7",
64
+ children: [
65
+ /* @__PURE__ */ jsxDEV("li", {
66
+ children: "Read the contribution guide and pick a tractable scope."
67
+ }, undefined, false, undefined, this),
68
+ /* @__PURE__ */ jsxDEV("li", {
69
+ children: "Open a draft PR early so maintainers can steer the work."
70
+ }, undefined, false, undefined, this),
71
+ /* @__PURE__ */ jsxDEV("li", {
72
+ children: "Ship one clear improvement with tests or validation evidence."
73
+ }, undefined, false, undefined, this)
74
+ ]
75
+ }, undefined, true, undefined, this),
76
+ /* @__PURE__ */ jsxDEV("div", {
77
+ className: "flex flex-col gap-3 sm:flex-row",
78
+ children: [
79
+ /* @__PURE__ */ jsxDEV(Link, {
80
+ href: "https://github.com/lssm-tech/contractspec/blob/main/CONTRIBUTING.md",
81
+ className: "btn-primary",
82
+ target: "_blank",
83
+ rel: "noopener noreferrer",
84
+ children: "Read CONTRIBUTING"
85
+ }, undefined, false, undefined, this),
86
+ /* @__PURE__ */ jsxDEV(Link, {
87
+ href: "https://github.com/lssm-tech/contractspec/issues",
88
+ className: "btn-ghost",
89
+ target: "_blank",
90
+ rel: "noopener noreferrer",
91
+ children: "Open issues"
92
+ }, undefined, false, undefined, this)
93
+ ]
94
+ }, undefined, true, undefined, this)
95
+ ]
96
+ }, undefined, true, undefined, this)
97
+ ]
98
+ }, undefined, true, undefined, this)
99
+ }, undefined, false, undefined, this),
100
+ /* @__PURE__ */ jsxDEV("section", {
101
+ className: "editorial-section",
102
+ children: /* @__PURE__ */ jsxDEV("div", {
103
+ className: "editorial-shell space-y-8",
104
+ children: [
105
+ /* @__PURE__ */ jsxDEV("div", {
106
+ className: "max-w-3xl space-y-4",
107
+ children: [
108
+ /* @__PURE__ */ jsxDEV("p", {
109
+ className: "editorial-kicker",
110
+ children: "Where contributions matter most"
111
+ }, undefined, false, undefined, this),
112
+ /* @__PURE__ */ jsxDEV("h2", {
113
+ className: "font-serif text-4xl tracking-[-0.04em] md:text-5xl",
114
+ children: "Work on the parts that make the system clearer and safer."
115
+ }, undefined, false, undefined, this)
116
+ ]
117
+ }, undefined, true, undefined, this),
118
+ /* @__PURE__ */ jsxDEV("div", {
119
+ className: "editorial-grid",
120
+ children: contributionTracks.map((track) => /* @__PURE__ */ jsxDEV("div", {
121
+ className: "editorial-panel",
323
122
  children: [
324
123
  /* @__PURE__ */ jsxDEV("h3", {
325
- className: "text-foreground mb-2 font-semibold",
326
- children: "Spec-First Mindset"
124
+ className: "font-serif text-2xl tracking-[-0.03em]",
125
+ children: track.title
327
126
  }, undefined, false, undefined, this),
328
127
  /* @__PURE__ */ jsxDEV("p", {
329
- className: "text-muted-foreground text-sm",
330
- children: "ContractSpec exists to enforce contracts between humans, AI, and code. When contributing, think spec-first: define the behavior before the implementation. A well-defined spec makes changes safe to regenerate and easy to validate."
128
+ className: "mt-3 text-muted-foreground text-sm leading-7",
129
+ children: track.copy
331
130
  }, undefined, false, undefined, this)
332
131
  ]
333
- }, undefined, true, undefined, this)
334
- ]
335
- }, undefined, true, undefined, this),
336
- /* @__PURE__ */ jsxDEV("section", {
337
- className: "mb-10 space-y-4",
338
- children: [
339
- /* @__PURE__ */ jsxDEV("h2", {
340
- className: "text-foreground text-2xl font-bold",
341
- children: "Governance & Decision Making"
342
- }, undefined, false, undefined, this),
343
- /* @__PURE__ */ jsxDEV("p", {
344
- className: "text-muted-foreground",
345
- children: [
346
- "ContractSpec uses a",
347
- " ",
348
- /* @__PURE__ */ jsxDEV("strong", {
349
- className: "text-foreground",
350
- children: "founder-led maintainer model"
351
- }, undefined, false, undefined, this),
352
- ":"
353
- ]
354
- }, undefined, true, undefined, this),
355
- /* @__PURE__ */ jsxDEV("ul", {
356
- className: "text-muted-foreground list-inside list-disc space-y-2",
357
- children: [
358
- /* @__PURE__ */ jsxDEV("li", {
359
- children: "The founder has final say on significant decisions — for now"
360
- }, undefined, false, undefined, this),
361
- /* @__PURE__ */ jsxDEV("li", {
362
- children: "All reasoning is shared publicly in issues or PRs"
363
- }, undefined, false, undefined, this),
364
- /* @__PURE__ */ jsxDEV("li", {
365
- children: "Community input shapes direction; we don't merge in silence"
366
- }, undefined, false, undefined, this),
367
- /* @__PURE__ */ jsxDEV("li", {
368
- children: "This model may evolve as the project matures and trusted maintainers emerge"
369
- }, undefined, false, undefined, this)
370
- ]
371
- }, undefined, true, undefined, this)
372
- ]
373
- }, undefined, true, undefined, this),
374
- /* @__PURE__ */ jsxDEV("section", {
375
- className: "mb-10 space-y-4",
376
- id: "security",
377
- children: [
378
- /* @__PURE__ */ jsxDEV("h2", {
379
- className: "text-foreground text-2xl font-bold",
380
- children: "Security"
381
- }, undefined, false, undefined, this),
382
- /* @__PURE__ */ jsxDEV("p", {
383
- className: "text-muted-foreground",
384
- children: [
385
- "If you discover a security vulnerability, please",
386
- " ",
387
- /* @__PURE__ */ jsxDEV("strong", {
388
- className: "text-foreground",
389
- children: "do not"
390
- }, undefined, false, undefined, this),
391
- " open a public issue."
392
- ]
393
- }, undefined, true, undefined, this),
394
- /* @__PURE__ */ jsxDEV("p", {
395
- className: "text-muted-foreground",
396
- children: [
397
- "Instead, email us at",
398
- " ",
399
- /* @__PURE__ */ jsxDEV("a", {
400
- href: "mailto:security@contractspec.io",
401
- className: "text-primary hover:underline",
402
- children: "security@contractspec.io"
403
- }, undefined, false, undefined, this),
404
- " ",
405
- "with:"
406
- ]
407
- }, undefined, true, undefined, this),
408
- /* @__PURE__ */ jsxDEV("ul", {
409
- className: "text-muted-foreground list-inside list-disc space-y-2",
410
- children: [
411
- /* @__PURE__ */ jsxDEV("li", {
412
- children: "A clear description of the vulnerability"
413
- }, undefined, false, undefined, this),
414
- /* @__PURE__ */ jsxDEV("li", {
415
- children: "Steps to reproduce"
416
- }, undefined, false, undefined, this),
417
- /* @__PURE__ */ jsxDEV("li", {
418
- children: "Potential impact"
419
- }, undefined, false, undefined, this)
420
- ]
421
- }, undefined, true, undefined, this),
422
- /* @__PURE__ */ jsxDEV("p", {
423
- className: "text-muted-foreground",
424
- children: "We'll acknowledge within 48 hours and work with you to coordinate disclosure."
425
- }, undefined, false, undefined, this)
426
- ]
427
- }, undefined, true, undefined, this),
428
- /* @__PURE__ */ jsxDEV("section", {
429
- className: "mb-10 space-y-4",
430
- children: [
431
- /* @__PURE__ */ jsxDEV("h2", {
432
- className: "text-foreground text-2xl font-bold",
433
- children: "Code of Conduct"
434
- }, undefined, false, undefined, this),
435
- /* @__PURE__ */ jsxDEV("p", {
436
- className: "text-muted-foreground",
437
- children: [
438
- "We expect all contributors to follow our",
439
- " ",
440
- /* @__PURE__ */ jsxDEV("a", {
441
- href: "https://github.com/contractspec/contractspec/blob/main/CODE_OF_CONDUCT.md",
442
- className: "text-primary hover:underline",
443
- target: "_blank",
444
- rel: "noopener noreferrer",
445
- children: "Code of Conduct"
446
- }, undefined, false, undefined, this),
447
- ". Be respectful, constructive, and assume good intent."
448
- ]
449
- }, undefined, true, undefined, this)
450
- ]
451
- }, undefined, true, undefined, this),
452
- /* @__PURE__ */ jsxDEV("section", {
453
- className: "border-border mt-12 space-y-4 border-t pt-8",
454
- children: [
455
- /* @__PURE__ */ jsxDEV("h2", {
456
- className: "text-foreground text-2xl font-bold",
457
- children: "Want to Go Deeper?"
458
- }, undefined, false, undefined, this),
459
- /* @__PURE__ */ jsxDEV("p", {
460
- className: "text-muted-foreground",
461
- children: "If you're considering a long-term commitment to ContractSpec — reviewing PRs regularly, shaping roadmap, mentoring new contributors — we'd love to talk."
462
- }, undefined, false, undefined, this),
463
- /* @__PURE__ */ jsxDEV("p", {
464
- className: "text-muted-foreground",
465
- children: [
466
- "This isn't a job offer. It's an invitation to help build something meaningful together. Reach out at",
467
- " ",
468
- /* @__PURE__ */ jsxDEV("a", {
469
- href: "mailto:maintainers@contractspec.io",
470
- className: "text-primary hover:underline",
471
- children: "maintainers@contractspec.io"
472
- }, undefined, false, undefined, this),
473
- " ",
474
- "and tell us what you'd bring to the table."
475
- ]
476
- }, undefined, true, undefined, this)
477
- ]
478
- }, undefined, true, undefined, this)
479
- ]
480
- }, undefined, true, undefined, this)
481
- }, undefined, false, undefined, this)
482
- }, undefined, false, undefined, this);
132
+ }, track.title, true, undefined, this))
133
+ }, undefined, false, undefined, this)
134
+ ]
135
+ }, undefined, true, undefined, this)
136
+ }, undefined, false, undefined, this),
137
+ /* @__PURE__ */ jsxDEV("section", {
138
+ className: "editorial-section bg-striped",
139
+ children: /* @__PURE__ */ jsxDEV("div", {
140
+ className: "editorial-shell grid gap-8 lg:grid-cols-2",
141
+ children: [
142
+ /* @__PURE__ */ jsxDEV("div", {
143
+ className: "editorial-panel",
144
+ children: [
145
+ /* @__PURE__ */ jsxDEV("p", {
146
+ className: "editorial-kicker",
147
+ children: "Quality bar"
148
+ }, undefined, false, undefined, this),
149
+ /* @__PURE__ */ jsxDEV("h2", {
150
+ className: "font-serif text-4xl tracking-[-0.04em]",
151
+ children: "The contribution should make the repo easier to trust."
152
+ }, undefined, false, undefined, this),
153
+ /* @__PURE__ */ jsxDEV("ul", {
154
+ className: "editorial-list mt-6",
155
+ children: [
156
+ /* @__PURE__ */ jsxDEV("li", {
157
+ children: [
158
+ /* @__PURE__ */ jsxDEV("span", {
159
+ className: "editorial-list-marker"
160
+ }, undefined, false, undefined, this),
161
+ /* @__PURE__ */ jsxDEV("span", {
162
+ children: "Use strict TypeScript and keep changes explicit."
163
+ }, undefined, false, undefined, this)
164
+ ]
165
+ }, undefined, true, undefined, this),
166
+ /* @__PURE__ */ jsxDEV("li", {
167
+ children: [
168
+ /* @__PURE__ */ jsxDEV("span", {
169
+ className: "editorial-list-marker"
170
+ }, undefined, false, undefined, this),
171
+ /* @__PURE__ */ jsxDEV("span", {
172
+ children: "Include tests or other concrete validation where behavior changes."
173
+ }, undefined, false, undefined, this)
174
+ ]
175
+ }, undefined, true, undefined, this),
176
+ /* @__PURE__ */ jsxDEV("li", {
177
+ children: [
178
+ /* @__PURE__ */ jsxDEV("span", {
179
+ className: "editorial-list-marker"
180
+ }, undefined, false, undefined, this),
181
+ /* @__PURE__ */ jsxDEV("span", {
182
+ children: "Prefer one coherent concern per PR."
183
+ }, undefined, false, undefined, this)
184
+ ]
185
+ }, undefined, true, undefined, this),
186
+ /* @__PURE__ */ jsxDEV("li", {
187
+ children: [
188
+ /* @__PURE__ */ jsxDEV("span", {
189
+ className: "editorial-list-marker"
190
+ }, undefined, false, undefined, this),
191
+ /* @__PURE__ */ jsxDEV("span", {
192
+ children: "Document the public or agent-facing impact when it exists."
193
+ }, undefined, false, undefined, this)
194
+ ]
195
+ }, undefined, true, undefined, this)
196
+ ]
197
+ }, undefined, true, undefined, this)
198
+ ]
199
+ }, undefined, true, undefined, this),
200
+ /* @__PURE__ */ jsxDEV("div", {
201
+ className: "editorial-panel",
202
+ children: [
203
+ /* @__PURE__ */ jsxDEV("p", {
204
+ className: "editorial-kicker",
205
+ children: "Governance and security"
206
+ }, undefined, false, undefined, this),
207
+ /* @__PURE__ */ jsxDEV("h2", {
208
+ className: "font-serif text-4xl tracking-[-0.04em]",
209
+ children: "Clarity first, private disclosure when the issue is sensitive."
210
+ }, undefined, false, undefined, this),
211
+ /* @__PURE__ */ jsxDEV("p", {
212
+ className: "mt-5 text-muted-foreground text-sm leading-7",
213
+ children: [
214
+ "Architecture and roadmap decisions stay founder-led for now, but the reasoning should stay inspectable in issues, PRs, and docs. If you find a security issue, do not open a public ticket. Use",
215
+ " ",
216
+ /* @__PURE__ */ jsxDEV(Link, {
217
+ href: "mailto:security@contractspec.io",
218
+ className: "underline",
219
+ children: "security@contractspec.io"
220
+ }, undefined, false, undefined, this),
221
+ " ",
222
+ "instead."
223
+ ]
224
+ }, undefined, true, undefined, this)
225
+ ]
226
+ }, undefined, true, undefined, this)
227
+ ]
228
+ }, undefined, true, undefined, this)
229
+ }, undefined, false, undefined, this)
230
+ ]
231
+ }, undefined, true, undefined, this);
483
232
  }
484
233
  export {
485
- metadata,
486
234
  ContributePage
487
235
  };