import { createRequire } from "node:module";
var __require = /* @__PURE__ */ createRequire(import.meta.url);

// src/components/marketing/ContributePage.tsx
import { jsxDEV } from "react/jsx-dev-runtime";
var metadata = {
  title: "Contribute to ContractSpec",
  description: "Join the ContractSpec open-source community. Report issues, improve docs, build integrations, and help shape the future of spec-first development.",
  openGraph: {
    title: "Contribute to ContractSpec",
    description: "Get started contributing in under 3 minutes. Docs, examples, integrations, and more.",
    url: "https://contractspec.io/contribute"
  },
  alternates: {
    canonical: "https://contractspec.io/contribute"
  }
};
function ContributePage() {
  return /* @__PURE__ */ jsxDEV("main", {
    className: "flex grow flex-col items-center justify-center",
    children: /* @__PURE__ */ jsxDEV("section", {
      className: "section-padding",
      children: /* @__PURE__ */ jsxDEV("div", {
        className: "prose prose-invert mx-auto max-w-2xl",
        children: [
          /* @__PURE__ */ jsxDEV("h1", {
            className: "mb-8 text-4xl font-bold",
            children: "Contribute to ContractSpec"
          }, undefined, false, undefined, this),
          /* @__PURE__ */ jsxDEV("div", {
            className: "not-prose border-border bg-muted/30 mb-12 rounded-lg border p-6",
            children: [
              /* @__PURE__ */ jsxDEV("h2", {
                className: "text-foreground mb-4 text-xl font-bold",
                children: "⚡ Quick Start — 3 Minutes to Your First Contribution"
              }, undefined, false, undefined, this),
              /* @__PURE__ */ jsxDEV("ol", {
                className: "text-muted-foreground list-inside list-decimal space-y-2",
                children: [
                  /* @__PURE__ */ jsxDEV("li", {
                    children: [
                      "Read the",
                      " ",
                      /* @__PURE__ */ jsxDEV("a", {
                        href: "https://github.com/contractspec/contractspec/blob/main/CONTRIBUTING.md",
                        className: "text-primary hover:underline",
                        target: "_blank",
                        rel: "noopener noreferrer",
                        children: "CONTRIBUTING guide"
                      }, undefined, false, undefined, this)
                    ]
                  }, undefined, true, undefined, this),
                  /* @__PURE__ */ jsxDEV("li", {
                    children: [
                      "Pick a",
                      " ",
                      /* @__PURE__ */ jsxDEV("a", {
                        href: "https://github.com/contractspec/contractspec/labels/good%20first%20issue",
                        className: "text-primary hover:underline",
                        target: "_blank",
                        rel: "noopener noreferrer",
                        children: "good first issue"
                      }, undefined, false, undefined, this),
                      " ",
                      "or",
                      " ",
                      /* @__PURE__ */ jsxDEV("a", {
                        href: "https://github.com/contractspec/contractspec/labels/help%20wanted",
                        className: "text-primary hover:underline",
                        target: "_blank",
                        rel: "noopener noreferrer",
                        children: "help wanted"
                      }, undefined, false, undefined, this),
                      " ",
                      "label"
                    ]
                  }, undefined, true, undefined, this),
                  /* @__PURE__ */ jsxDEV("li", {
                    children: "Open a draft PR early — we'll guide you from there"
                  }, undefined, false, undefined, this)
                ]
              }, undefined, true, undefined, this)
            ]
          }, undefined, true, undefined, this),
          /* @__PURE__ */ jsxDEV("section", {
            className: "mb-10 space-y-4",
            children: [
              /* @__PURE__ */ jsxDEV("h2", {
                className: "text-foreground text-2xl font-bold",
                children: "Why Open Source?"
              }, undefined, false, undefined, this),
              /* @__PURE__ */ jsxDEV("ul", {
                className: "text-muted-foreground list-inside list-disc space-y-2",
                children: [
                  /* @__PURE__ */ jsxDEV("li", {
                    children: [
                      /* @__PURE__ */ jsxDEV("strong", {
                        children: "Transparency:"
                      }, undefined, false, undefined, this),
                      " You can see exactly how your code is compiled and deployed"
                    ]
                  }, undefined, true, undefined, this),
                  /* @__PURE__ */ jsxDEV("li", {
                    children: [
                      /* @__PURE__ */ jsxDEV("strong", {
                        children: "Trust:"
                      }, undefined, false, undefined, this),
                      " No black boxes — audit the compiler that shapes your AI-generated code"
                    ]
                  }, undefined, true, undefined, this),
                  /* @__PURE__ */ jsxDEV("li", {
                    children: [
                      /* @__PURE__ */ jsxDEV("strong", {
                        children: "Faster ecosystem:"
                      }, undefined, false, undefined, this),
                      " Community contributions accelerate adoption and surface real-world edge cases"
                    ]
                  }, undefined, true, undefined, this),
                  /* @__PURE__ */ jsxDEV("li", {
                    children: [
                      /* @__PURE__ */ jsxDEV("strong", {
                        children: "Community review:"
                      }, undefined, false, undefined, this),
                      " More eyes catch more bugs, and better patterns emerge"
                    ]
                  }, undefined, true, undefined, this),
                  /* @__PURE__ */ jsxDEV("li", {
                    children: [
                      /* @__PURE__ */ jsxDEV("strong", {
                        children: "No lock-in:"
                      }, undefined, false, undefined, this),
                      " You own your code. The spec is portable."
                    ]
                  }, undefined, true, undefined, this)
                ]
              }, undefined, true, undefined, this)
            ]
          }, undefined, true, undefined, this),
          /* @__PURE__ */ jsxDEV("section", {
            className: "mb-10 space-y-4",
            children: [
              /* @__PURE__ */ jsxDEV("h2", {
                className: "text-foreground text-2xl font-bold",
                children: "Where to Contribute"
              }, undefined, false, undefined, this),
              /* @__PURE__ */ jsxDEV("ul", {
                className: "text-muted-foreground list-inside list-disc space-y-2",
                children: [
                  /* @__PURE__ */ jsxDEV("li", {
                    children: [
                      /* @__PURE__ */ jsxDEV("a", {
                        href: "https://github.com/contractspec",
                        className: "text-primary hover:underline",
                        target: "_blank",
                        rel: "noopener noreferrer",
                        children: "GitHub Organization"
                      }, undefined, false, undefined, this),
                      " ",
                      "— All repos live here"
                    ]
                  }, undefined, true, undefined, this),
                  /* @__PURE__ */ jsxDEV("li", {
                    children: [
                      /* @__PURE__ */ jsxDEV("a", {
                        href: "https://github.com/contractspec/contractspec",
                        className: "text-primary hover:underline",
                        target: "_blank",
                        rel: "noopener noreferrer",
                        children: "Main Repository"
                      }, undefined, false, undefined, this),
                      " ",
                      "— Core compiler and specs"
                    ]
                  }, undefined, true, undefined, this),
                  /* @__PURE__ */ jsxDEV("li", {
                    children: [
                      /* @__PURE__ */ jsxDEV("a", {
                        href: "https://github.com/contractspec/contractspec/discussions",
                        className: "text-primary hover:underline",
                        target: "_blank",
                        rel: "noopener noreferrer",
                        children: "Discussions"
                      }, undefined, false, undefined, this),
                      " ",
                      "— Questions, ideas, and RFCs"
                    ]
                  }, undefined, true, undefined, this)
                ]
              }, undefined, true, undefined, this)
            ]
          }, undefined, true, undefined, this),
          /* @__PURE__ */ jsxDEV("section", {
            className: "mb-10 space-y-4",
            children: [
              /* @__PURE__ */ jsxDEV("h2", {
                className: "text-foreground text-2xl font-bold",
                children: "Ways to Contribute"
              }, undefined, false, undefined, this),
              /* @__PURE__ */ jsxDEV("div", {
                className: "text-muted-foreground space-y-3",
                children: [
                  /* @__PURE__ */ jsxDEV("p", {
                    children: [
                      /* @__PURE__ */ jsxDEV("strong", {
                        className: "text-foreground",
                        children: "\uD83D\uDCC4 Documentation:"
                      }, undefined, false, undefined, this),
                      " ",
                      "Fix typos, improve explanations, add missing guides"
                    ]
                  }, undefined, true, undefined, this),
                  /* @__PURE__ */ jsxDEV("p", {
                    children: [
                      /* @__PURE__ */ jsxDEV("strong", {
                        className: "text-foreground",
                        children: "\uD83D\uDCE6 Examples & Templates:"
                      }, undefined, false, undefined, this),
                      " ",
                      "Build real-world specs for common use cases"
                    ]
                  }, undefined, true, undefined, this),
                  /* @__PURE__ */ jsxDEV("p", {
                    children: [
                      /* @__PURE__ */ jsxDEV("strong", {
                        className: "text-foreground",
                        children: "\uD83D\uDD0C Integrations & Adapters:"
                      }, undefined, false, undefined, this),
                      " ",
                      "Connect ContractSpec to frameworks, databases, and tools"
                    ]
                  }, undefined, true, undefined, this),
                  /* @__PURE__ */ jsxDEV("p", {
                    children: [
                      /* @__PURE__ */ jsxDEV("strong", {
                        className: "text-foreground",
                        children: "\uD83D\uDC1B Bug Reports:"
                      }, undefined, false, undefined, this),
                      " ",
                      "File issues with clear reproduction steps — minimal cases help the most"
                    ]
                  }, undefined, true, undefined, this),
                  /* @__PURE__ */ jsxDEV("p", {
                    children: [
                      /* @__PURE__ */ jsxDEV("strong", {
                        className: "text-foreground",
                        children: "\uD83D\uDD12 Security Reports:"
                      }, undefined, false, undefined, this),
                      " ",
                      "Found a vulnerability? See",
                      " ",
                      /* @__PURE__ */ jsxDEV("a", {
                        href: "#security",
                        className: "text-primary hover:underline",
                        children: "Security"
                      }, undefined, false, undefined, this),
                      " ",
                      "below"
                    ]
                  }, undefined, true, undefined, this)
                ]
              }, undefined, true, undefined, this)
            ]
          }, undefined, true, undefined, this),
          /* @__PURE__ */ jsxDEV("section", {
            className: "mb-10 space-y-4",
            children: [
              /* @__PURE__ */ jsxDEV("h2", {
                className: "text-foreground text-2xl font-bold",
                children: "Quality Bar"
              }, undefined, false, undefined, this),
              /* @__PURE__ */ jsxDEV("p", {
                className: "text-muted-foreground",
                children: "We keep the bar high so the codebase stays maintainable. Every PR should:"
              }, undefined, false, undefined, this),
              /* @__PURE__ */ jsxDEV("ul", {
                className: "text-muted-foreground list-inside list-disc space-y-2",
                children: [
                  /* @__PURE__ */ jsxDEV("li", {
                    children: [
                      /* @__PURE__ */ jsxDEV("strong", {
                        children: "Include tests"
                      }, undefined, false, undefined, this),
                      " — Unit tests for logic, integration tests for adapters"
                    ]
                  }, undefined, true, undefined, this),
                  /* @__PURE__ */ jsxDEV("li", {
                    children: [
                      /* @__PURE__ */ jsxDEV("strong", {
                        children: "Be fully typed"
                      }, undefined, false, undefined, this),
                      " — No ",
                      /* @__PURE__ */ jsxDEV("code", {
                        children: "any"
                      }, undefined, false, undefined, this),
                      ". Strict TypeScript only."
                    ]
                  }, undefined, true, undefined, this),
                  /* @__PURE__ */ jsxDEV("li", {
                    children: [
                      /* @__PURE__ */ jsxDEV("strong", {
                        children: "Stay small"
                      }, undefined, false, undefined, this),
                      " — One concern per PR. Easier to review, faster to merge."
                    ]
                  }, undefined, true, undefined, this),
                  /* @__PURE__ */ jsxDEV("li", {
                    children: [
                      /* @__PURE__ */ jsxDEV("strong", {
                        children: "Use clear commit messages"
                      }, undefined, false, undefined, this),
                      " — Describe _what_ and _why_, not just _how_"
                    ]
                  }, undefined, true, undefined, this)
                ]
              }, undefined, true, undefined, this),
              /* @__PURE__ */ jsxDEV("div", {
                className: "bg-muted/20 mt-4 rounded-md p-4",
                children: [
                  /* @__PURE__ */ jsxDEV("h3", {
                    className: "text-foreground mb-2 font-semibold",
                    children: "Spec-First Mindset"
                  }, undefined, false, undefined, this),
                  /* @__PURE__ */ jsxDEV("p", {
                    className: "text-muted-foreground text-sm",
                    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."
                  }, undefined, false, undefined, this)
                ]
              }, undefined, true, undefined, this)
            ]
          }, undefined, true, undefined, this),
          /* @__PURE__ */ jsxDEV("section", {
            className: "mb-10 space-y-4",
            children: [
              /* @__PURE__ */ jsxDEV("h2", {
                className: "text-foreground text-2xl font-bold",
                children: "Governance & Decision Making"
              }, undefined, false, undefined, this),
              /* @__PURE__ */ jsxDEV("p", {
                className: "text-muted-foreground",
                children: [
                  "ContractSpec uses a",
                  " ",
                  /* @__PURE__ */ jsxDEV("strong", {
                    className: "text-foreground",
                    children: "founder-led maintainer model"
                  }, undefined, false, undefined, this),
                  ":"
                ]
              }, undefined, true, undefined, this),
              /* @__PURE__ */ jsxDEV("ul", {
                className: "text-muted-foreground list-inside list-disc space-y-2",
                children: [
                  /* @__PURE__ */ jsxDEV("li", {
                    children: "The founder has final say on significant decisions — for now"
                  }, undefined, false, undefined, this),
                  /* @__PURE__ */ jsxDEV("li", {
                    children: "All reasoning is shared publicly in issues or PRs"
                  }, undefined, false, undefined, this),
                  /* @__PURE__ */ jsxDEV("li", {
                    children: "Community input shapes direction; we don't merge in silence"
                  }, undefined, false, undefined, this),
                  /* @__PURE__ */ jsxDEV("li", {
                    children: "This model may evolve as the project matures and trusted maintainers emerge"
                  }, undefined, false, undefined, this)
                ]
              }, undefined, true, undefined, this)
            ]
          }, undefined, true, undefined, this),
          /* @__PURE__ */ jsxDEV("section", {
            className: "mb-10 space-y-4",
            id: "security",
            children: [
              /* @__PURE__ */ jsxDEV("h2", {
                className: "text-foreground text-2xl font-bold",
                children: "Security"
              }, undefined, false, undefined, this),
              /* @__PURE__ */ jsxDEV("p", {
                className: "text-muted-foreground",
                children: [
                  "If you discover a security vulnerability, please",
                  " ",
                  /* @__PURE__ */ jsxDEV("strong", {
                    className: "text-foreground",
                    children: "do not"
                  }, undefined, false, undefined, this),
                  " open a public issue."
                ]
              }, undefined, true, undefined, this),
              /* @__PURE__ */ jsxDEV("p", {
                className: "text-muted-foreground",
                children: [
                  "Instead, email us at",
                  " ",
                  /* @__PURE__ */ jsxDEV("a", {
                    href: "mailto:security@contractspec.io",
                    className: "text-primary hover:underline",
                    children: "security@contractspec.io"
                  }, undefined, false, undefined, this),
                  " ",
                  "with:"
                ]
              }, undefined, true, undefined, this),
              /* @__PURE__ */ jsxDEV("ul", {
                className: "text-muted-foreground list-inside list-disc space-y-2",
                children: [
                  /* @__PURE__ */ jsxDEV("li", {
                    children: "A clear description of the vulnerability"
                  }, undefined, false, undefined, this),
                  /* @__PURE__ */ jsxDEV("li", {
                    children: "Steps to reproduce"
                  }, undefined, false, undefined, this),
                  /* @__PURE__ */ jsxDEV("li", {
                    children: "Potential impact"
                  }, undefined, false, undefined, this)
                ]
              }, undefined, true, undefined, this),
              /* @__PURE__ */ jsxDEV("p", {
                className: "text-muted-foreground",
                children: "We'll acknowledge within 48 hours and work with you to coordinate disclosure."
              }, undefined, false, undefined, this)
            ]
          }, undefined, true, undefined, this),
          /* @__PURE__ */ jsxDEV("section", {
            className: "mb-10 space-y-4",
            children: [
              /* @__PURE__ */ jsxDEV("h2", {
                className: "text-foreground text-2xl font-bold",
                children: "Code of Conduct"
              }, undefined, false, undefined, this),
              /* @__PURE__ */ jsxDEV("p", {
                className: "text-muted-foreground",
                children: [
                  "We expect all contributors to follow our",
                  " ",
                  /* @__PURE__ */ jsxDEV("a", {
                    href: "https://github.com/contractspec/contractspec/blob/main/CODE_OF_CONDUCT.md",
                    className: "text-primary hover:underline",
                    target: "_blank",
                    rel: "noopener noreferrer",
                    children: "Code of Conduct"
                  }, undefined, false, undefined, this),
                  ". Be respectful, constructive, and assume good intent."
                ]
              }, undefined, true, undefined, this)
            ]
          }, undefined, true, undefined, this),
          /* @__PURE__ */ jsxDEV("section", {
            className: "border-border mt-12 space-y-4 border-t pt-8",
            children: [
              /* @__PURE__ */ jsxDEV("h2", {
                className: "text-foreground text-2xl font-bold",
                children: "Want to Go Deeper?"
              }, undefined, false, undefined, this),
              /* @__PURE__ */ jsxDEV("p", {
                className: "text-muted-foreground",
                children: "If you're considering a long-term commitment to ContractSpec — reviewing PRs regularly, shaping roadmap, mentoring new contributors — we'd love to talk."
              }, undefined, false, undefined, this),
              /* @__PURE__ */ jsxDEV("p", {
                className: "text-muted-foreground",
                children: [
                  "This isn't a job offer. It's an invitation to help build something meaningful together. Reach out at",
                  " ",
                  /* @__PURE__ */ jsxDEV("a", {
                    href: "mailto:maintainers@contractspec.io",
                    className: "text-primary hover:underline",
                    children: "maintainers@contractspec.io"
                  }, undefined, false, undefined, this),
                  " ",
                  "and tell us what you'd bring to the table."
                ]
              }, undefined, true, undefined, this)
            ]
          }, undefined, true, undefined, this)
        ]
      }, undefined, true, undefined, this)
    }, undefined, false, undefined, this)
  }, undefined, false, undefined, this);
}
export {
  metadata,
  ContributePage
};
