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