| 4 | 4 | | |
| 5 | 5 | | import type { Repo } from "@g1t/contracts"; |
| 6 | 6 | | |
| 7 | | − | import { |
| 8 | | − | AgentsIllustration, |
| 9 | | − | HeroIllustration, |
| 10 | | − | EventsIllustration, |
| 11 | | − | ForkIllustration, |
| 12 | | − | IssueIllustration, |
| 13 | | − | SessionIllustration, |
| 14 | | − | MergeIllustration, |
| 15 | | − | } from "./illustrations"; |
| 7 | + | import { ConvergeArt, PlanArt, QueueArt, TeamArt, WhyArt } from "./art"; |
| 16 | 8 | | import { RepoList } from "./repo-list"; |
| 17 | 9 | | import { ButtonLink, CopyLine } from "./ui"; |
| 18 | 10 | | |
| 19 | | − | function FeatureCard({ |
| 11 | + | /** A small label above a heading, in the mono face. */ |
| 12 | + | function Eyebrow({ children }: { children: ReactNode }) { |
| 13 | + | return <p className="font-mono text-xs tracking-[0.2em] text-merged uppercase">{children}</p>; |
| 14 | + | } |
| 15 | + | |
| 16 | + | function Tags({ items }: { items: string[] }) { |
| 17 | + | return ( |
| 18 | + | <ul className="mt-5 flex flex-wrap gap-1.5"> |
| 19 | + | {items.map((item) => ( |
| 20 | + | <li |
| 21 | + | key={item} |
| 22 | + | className="rounded-full bg-bg/80 px-2.5 py-1 font-mono text-[0.6875rem] tracking-wide text-muted uppercase ring-1 ring-line" |
| 23 | + | > |
| 24 | + | {item} |
| 25 | + | </li> |
| 26 | + | ))} |
| 27 | + | </ul> |
| 28 | + | ); |
| 29 | + | } |
| 30 | + | |
| 31 | + | /** A card with a line drawing above its words, on a faint grid. */ |
| 32 | + | function Card({ |
| 20 | 33 | | title, |
| 21 | | − | illustration, |
| 22 | | − | soon, |
| 34 | + | art, |
| 35 | + | tags, |
| 23 | 36 | | wide, |
| 24 | 37 | | children, |
| 25 | 38 | | }: { |
| 26 | 39 | | title: string; |
| 27 | | − | illustration: ReactNode; |
| 28 | | − | soon?: boolean; |
| 40 | + | art: ReactNode; |
| 41 | + | tags?: string[]; |
| 29 | 42 | | wide?: boolean; |
| 30 | 43 | | children: ReactNode; |
| 31 | 44 | | }) { |
| 32 | 45 | | return ( |
| 33 | 46 | | <article |
| 34 | | − | className={`group overflow-hidden rounded-2xl border border-line bg-surface transition-colors hover:border-line-strong ${ |
| 35 | | − | wide ? "md:col-span-3" : "md:col-span-2" |
| 47 | + | className={`group relative overflow-hidden rounded-3xl bg-surface p-7 ring-1 ring-line transition-colors hover:ring-line-strong ${ |
| 48 | + | wide ? "md:col-span-2" : "" |
| 36 | 49 | | }`} |
| 37 | 50 | | > |
| 38 | | − | <div className="border-b border-line bg-bg/40 px-6 pt-6"> |
| 39 | | − | <div className="mx-auto max-w-sm">{illustration}</div> |
| 51 | + | <h3 className="text-lg font-semibold tracking-tight">{title}</h3> |
| 52 | + | <div className={`mx-auto mt-2 ${wide ? "max-w-md" : "max-w-xs"} opacity-90 transition-opacity group-hover:opacity-100`}> |
| 53 | + | {art} |
| 40 | 54 | | </div> |
| 41 | | − | <div className="p-6"> |
| 42 | | − | <h3 className="flex items-center gap-2 font-semibold tracking-tight"> |
| 43 | | − | {title} |
| 44 | | − | {soon && ( |
| 45 | | − | <span className="rounded-full border border-line px-2 py-0.5 text-[0.6875rem] font-normal text-faint"> |
| 46 | | − | in progress |
| 47 | | − | </span> |
| 48 | | − | )} |
| 49 | | − | </h3> |
| 50 | | − | <p className="mt-2 text-sm leading-6 text-muted">{children}</p> |
| 51 | | − | </div> |
| 55 | + | <p className="mt-2 text-sm leading-6 text-muted">{children}</p> |
| 56 | + | {tags && <Tags items={tags} />} |
| 52 | 57 | | </article> |
| 53 | 58 | | ); |
| 54 | 59 | | } |
| 55 | 60 | | |
| 61 | + | const FLOW: [string, string][] = [ |
| 62 | + | ["Brief", "Write the outcome you want, in plain words."], |
| 63 | + | ["Plan", "A planner agent splits it into issues, each with checks that prove it done, and the order they depend on."], |
| 64 | + | ["Agents", "Each issue gets an agent as it unblocks. They know what the others are doing, and tell each other."], |
| 65 | + | ["Review", "Checks run in clean sandboxes; a second agent reviews; you ask for changes and the agent makes them."], |
| 66 | + | ["Main", "The queue tests every change together with what lands before it, and main moves only to what passed."], |
| 67 | + | ]; |
| 68 | + | |
| 69 | + | const BASICS = [ |
| 70 | + | "Issues and labels", |
| 71 | + | "Branches and forks", |
| 72 | + | "Pull requests", |
| 73 | + | "Line comments and reviews", |
| 74 | + | "Protected branches", |
| 75 | + | "Required approvals", |
| 76 | + | "Workspaces and teams", |
| 77 | + | "Access tokens", |
| 78 | + | "Git over HTTPS", |
| 79 | + | "REST API", |
| 80 | + | "MCP server", |
| 81 | + | "OAuth sign-in", |
| 82 | + | ]; |
| 83 | + | |
| 56 | 84 | | const COMPARISON: [string, string, string][] = [ |
| 57 | | − | [ |
| 58 | | − | "Unit of work", |
| 59 | | − | "One issue, usually one pull request", |
| 60 | | − | "One issue, as many pull requests as you have agents, and a record of which one was merged", |
| 61 | | − | ], |
| 62 | | − | [ |
| 63 | | − | "Where agents work", |
| 64 | | − | "Branches and local worktrees", |
| 65 | | − | "A server-side fork per pull request", |
| 66 | | − | ], |
| 67 | | − | [ |
| 68 | | − | "Why a change was made", |
| 69 | | − | "A commit message, if you are lucky", |
| 70 | | − | "The agent's full session, kept with the code", |
| 71 | | − | ], |
| 72 | | − | [ |
| 73 | | − | "Is it done?", |
| 74 | | − | "Whatever the author says they ran", |
| 75 | | − | "The issue's checks, run by the forge in a clean sandbox, before anything can merge", |
| 76 | | − | ], |
| 77 | | − | [ |
| 78 | | − | "Two changes to one file", |
| 79 | | − | "A merge conflict at the end", |
| 80 | | − | "Flagged on both pull requests while the work is still under way", |
| 81 | | − | ], |
| 82 | | − | [ |
| 83 | | − | "When main moves", |
| 84 | | − | "Someone rebases by hand", |
| 85 | | − | "An agent merges it in and resolves the conflict", |
| 86 | | − | ], |
| 87 | | − | [ |
| 88 | | − | "Review", |
| 89 | | − | "A person reads every diff", |
| 90 | | − | "Agents review first, on the lines that matter; people decide", |
| 91 | | − | ], |
| 92 | | − | [ |
| 93 | | − | "Connecting an agent", |
| 94 | | − | "A vendor integration", |
| 95 | | − | "Any MCP client, or plain HTTP", |
| 96 | | − | ], |
| 85 | + | ["What you hand over", "A pull request to review", "An outcome, which becomes a plan of issues and lands on main"], |
| 86 | + | ["Many agents at once", "Separate pull requests to compare and untangle", "A team: told about each other's work, filing what they find, talking through the forge"], |
| 87 | + | ["Is it done?", "Whatever the author says they ran", "The issue's checks, run by the forge in a clean sandbox"], |
| 88 | + | ["When two changes collide", "A merge conflict, or a broken main", "Tested together in the queue first; the one that breaks goes back to its agent"], |
| 89 | + | ["What main promises", "Whatever passed when each change merged", "Every check of every issue that ever landed, on every change since"], |
| 90 | + | ["Why is this line here?", "A commit message, if you are lucky", "The commit, the pull request, the issue and the agent's own account"], |
| 91 | + | ["You in the loop", "Reading every diff", "Asking for changes, approving, steering; the agents do the rest"], |
| 97 | 92 | | ]; |
| 98 | 93 | | |
| 99 | | − | const PLATFORM = ["Workers", "Artifacts", "Containers", "D1", "Queues", "Rust"]; |
| 94 | + | const PLATFORM = ["Workers", "Artifacts", "Containers", "D1", "Queues", "AI Gateway", "Rust"]; |
| 100 | 95 | | |
| 101 | 96 | | export function Landing({ repos }: { repos: Repo[] }) { |
| 102 | 97 | | return ( |
| 103 | 98 | | <main> |
| 104 | | − | {/* Hero */} |
| 105 | | − | <section className="relative overflow-hidden border-b border-line"> |
| 99 | + | {/* The opening: the sky after dusk, agents converging on main. */} |
| 100 | + | <section className="dusk relative overflow-hidden"> |
| 106 | 101 | | <div |
| 107 | 102 | | aria-hidden="true" |
| 108 | | − | className="pointer-events-none absolute inset-x-0 top-0 h-128 bg-[radial-gradient(60%_60%_at_50%_0%,color-mix(in_srgb,var(--color-accent)_9%,transparent),transparent)]" |
| 103 | + | className="dusk-planet pointer-events-none absolute -top-[30rem] left-1/2 size-[60rem] -translate-x-[10%] rounded-full" |
| 109 | 104 | | /> |
| 110 | | − | <div className="relative mx-auto max-w-6xl px-4 pt-20 pb-10 text-center"> |
| 105 | + | <div className="relative mx-auto max-w-6xl px-4 pt-24 pb-6 text-center"> |
| 111 | 106 | | <Link |
| 112 | 107 | | to="https://docs.g1t.sh/concepts/overview/" |
| 113 | | − | className="inline-flex animate-fade-up items-center gap-2 rounded-full border border-line bg-surface px-3 py-1 text-xs text-muted transition-colors hover:border-line-strong hover:text-fg" |
| 108 | + | className="inline-flex animate-fade-up items-center gap-2 rounded-full bg-bg/50 px-3 py-1 text-xs text-fg-soft ring-1 ring-white/10 backdrop-blur transition-colors hover:bg-bg/70" |
| 114 | 109 | | > |
| 115 | 110 | | <span className="size-1.5 rounded-full bg-accent" /> |
| 116 | | − | Built on Cloudflare Workers and Artifacts |
| 111 | + | A git forge for teams of agents |
| 117 | 112 | | <ArrowRight size={12} /> |
| 118 | 113 | | </Link> |
| 119 | | − | <h1 className="mx-auto mt-6 max-w-3xl animate-fade-up text-5xl leading-[1.05] font-semibold tracking-[-0.035em] text-balance sm:text-7xl"> |
| 120 | | − | Git for |
| 114 | + | <h1 className="mx-auto mt-7 max-w-4xl animate-fade-up text-5xl leading-[1.04] font-semibold tracking-[-0.035em] text-balance sm:text-7xl"> |
| 115 | + | Hand off the outcome. |
| 121 | 116 | | <br /> |
| 122 | | − | <span className="text-accent">AI scale.</span> |
| 117 | + | <span className="bg-gradient-to-r from-[#d9d1ff] via-[#ffd4b8] to-accent bg-clip-text text-transparent"> |
| 118 | + | A team of agents ships it. |
| 119 | + | </span> |
| 123 | 120 | | </h1> |
| 124 | | − | <p className="mx-auto mt-6 max-w-xl animate-fade-up text-lg leading-7 text-muted text-balance"> |
| 125 | | − | Git was built for people taking turns. g1t is a forge for thousands |
| 126 | | − | of agents working on the same code at once: every change isolated, |
| 127 | | − | every decision recorded, every change landed in order. |
| 121 | + | <p className="mx-auto mt-7 max-w-2xl animate-fade-up text-lg leading-8 text-fg-soft/80 text-balance"> |
| 122 | + | Everything you expect from GitHub: issues, branches, pull requests, review. On top of |
| 123 | + | it, describe what you want and g1t plans it, puts agents on every part at once, keeps |
| 124 | + | them working as a team, and lands it on main through checks that hold. |
| 128 | 125 | | </p> |
| 129 | | − | <div className="mt-8 flex animate-fade-up flex-wrap items-center justify-center gap-3"> |
| 130 | | − | <ButtonLink to="/register" variant="accent" large> |
| 126 | + | <div className="mt-9 flex animate-fade-up flex-wrap items-center justify-center gap-3"> |
| 127 | + | <ButtonLink to="/register" variant="primary" large> |
| 131 | 128 | | Get started |
| 132 | 129 | | <ArrowRight size={15} /> |
| 133 | 130 | | </ButtonLink> |
| ⋯ |
| 135 | 132 | | Read the docs |
| 136 | 133 | | </ButtonLink> |
| 137 | 134 | | </div> |
| 138 | | − | <div className="mx-auto mt-14 max-w-5xl"> |
| 139 | | − | <HeroIllustration /> |
| 140 | | − | </div> |
| 141 | 135 | | </div> |
| 136 | + | <div className="relative mx-auto max-w-5xl px-4 pb-4"> |
| 137 | + | <ConvergeArt className="w-full" /> |
| 138 | + | </div> |
| 139 | + | <div aria-hidden="true" className="h-24 bg-gradient-to-b from-transparent to-bg" /> |
| 142 | 140 | | </section> |
| 143 | 141 | | |
| 144 | | − | {/* How it works */} |
| 142 | + | {/* The three things only g1t does. */} |
| 145 | 143 | | <section className="mx-auto max-w-6xl px-4 py-24"> |
| 146 | | − | <p className="text-sm font-medium text-accent">How it works</p> |
| 147 | | − | <h2 className="mt-2 max-w-2xl text-3xl font-semibold tracking-tight text-balance sm:text-4xl"> |
| 148 | | − | Everything you know about git still works. It just stops assuming one |
| 149 | | − | author at a time. |
| 144 | + | <Eyebrow>Agents as a team</Eyebrow> |
| 145 | + | <h2 className="mt-3 max-w-3xl text-3xl font-semibold tracking-tight text-balance sm:text-4xl"> |
| 146 | + | Hosting git is the easy part. g1t is built for what comes after: many agents, one |
| 147 | + | codebase, nobody refereeing. |
| 150 | 148 | | </h2> |
| 151 | | − | <div className="mt-12 grid gap-4 md:grid-cols-6"> |
| 152 | | − | <FeatureCard |
| 153 | | − | title="Start with an issue" |
| 154 | | − | illustration={<IssueIllustration />} |
| 155 | | − | > |
| 156 | | − | A bug, a feature, a report from your error tracker. Label it, add |
| 157 | | − | the checks that prove it is done, and put as many agents on it as |
| 158 | | − | you like. |
| 159 | | − | </FeatureCard> |
| 160 | | − | <FeatureCard |
| 161 | | − | title="A fork for every pull request" |
| 162 | | − | illustration={<ForkIllustration />} |
| 163 | | − | > |
| 164 | | − | Each agent gets its own copy of the repository the moment it starts. |
| 165 | | − | No branches to name, nothing to collide with. |
| 166 | | − | </FeatureCard> |
| 167 | | − | <FeatureCard |
| 168 | | − | title="The session stays with the code" |
| 169 | | − | illustration={<SessionIllustration />} |
| 170 | | − | > |
| 171 | | − | Prompts, reasoning and tool calls are recorded against the pull |
| 172 | | − | request and the commit they produced, so you can see why, not only |
| 173 | | − | what. |
| 174 | | − | </FeatureCard> |
| 175 | | − | <FeatureCard |
| 176 | | − | title="Bring any agent" |
| 177 | | − | illustration={<AgentsIllustration />} |
| 178 | | − | wide |
| 179 | | − | > |
| 180 | | − | Claude Code and other MCP clients connect to mcp.g1t.sh with one |
| 181 | | − | command. Everything is also a plain REST call at api.g1t.sh. |
| 182 | | − | </FeatureCard> |
| 183 | | − | <FeatureCard |
| 184 | | − | title="Converge on main" |
| 185 | | − | illustration={<MergeIllustration />} |
| 186 | | − | wide |
| 187 | | − | > |
| 188 | | − | However many pull requests are in flight, changes reach main one |
| 189 | | − | at a time and in order. Merge one and its issue closes, naming it; |
| 190 | | − | the others for that issue close as superseded. |
| 191 | | − | </FeatureCard> |
| 149 | + | <div className="mt-12 grid gap-4 md:grid-cols-3"> |
| 150 | + | <Card title="Outcomes, not pull requests" art={<PlanArt className="w-full" />} tags={["Brief", "Plan", "Dependencies", "Checks"]}> |
| 151 | + | Write what you want. A planner agent turns it into issues with acceptance checks and |
| 152 | + | the order they depend on; agents start on each one as it unblocks. |
| 153 | + | </Card> |
| 154 | + | <Card title="Agents that work as a team" art={<TeamArt className="w-full" />} tags={["Overlap", "Handoffs", "Questions", "People first"]}> |
| 155 | + | Every agent is told what the others are changing. They open issues for what they find |
| 156 | + | instead of widening their change, comment on each other's work, and defer to people. |
| 157 | + | </Card> |
| 158 | + | <Card title="Main only moves forward" art={<QueueArt className="w-full" />} tags={["Merge queue", "Speculative", "Contract checks"]}> |
| 159 | + | Changes are tested together with whatever lands before them, against every check that |
| 160 | + | ever passed. One that breaks goes back to its agent; main never sees it. |
| 161 | + | </Card> |
| 162 | + | <Card title="Why is this line here?" art={<WhyArt className="w-full" />} tags={["Why-blame", "Sessions", "Provenance"]} wide> |
| 163 | + | Pick any line. g1t shows the commit that last changed it, the pull request and issue |
| 164 | + | it came from, and the agent's own account of why: the reasoning stays with the code. |
| 165 | + | </Card> |
| 166 | + | <article className="rounded-3xl bg-surface p-7 ring-1 ring-line"> |
| 167 | + | <h3 className="text-lg font-semibold tracking-tight">And everything you expect</h3> |
| 168 | + | <p className="mt-2 text-sm leading-6 text-muted"> |
| 169 | + | Work by hand exactly as you would on GitHub. Agents are a teammate you can assign, |
| 170 | + | not a different way of working. |
| 171 | + | </p> |
| 172 | + | <Tags items={BASICS} /> |
| 173 | + | </article> |
| 174 | + | </div> |
| 175 | + | </section> |
| 176 | + | |
| 177 | + | {/* How it flows */} |
| 178 | + | <section className="border-y border-line bg-surface/40"> |
| 179 | + | <div className="mx-auto max-w-6xl px-4 py-24"> |
| 180 | + | <Eyebrow>How it flows</Eyebrow> |
| 181 | + | <h2 className="mt-3 text-3xl font-semibold tracking-tight">From a sentence to main</h2> |
| 182 | + | <ol className="relative mt-12 grid gap-6 md:grid-cols-5"> |
| 183 | + | <span |
| 184 | + | aria-hidden="true" |
| 185 | + | className="absolute top-4 right-8 left-8 hidden h-px bg-gradient-to-r from-merged/50 via-warn/50 to-accent/70 md:block" |
| 186 | + | /> |
| 187 | + | {FLOW.map(([step, about], index) => ( |
| 188 | + | <li key={step} className="relative"> |
| 189 | + | <span |
| 190 | + | className={`relative flex size-8 items-center justify-center rounded-full font-mono text-xs ring-1 ${ |
| 191 | + | index === FLOW.length - 1 |
| 192 | + | ? "bg-accent text-bg ring-accent" |
| 193 | + | : "bg-bg text-fg-soft ring-line-strong" |
| 194 | + | }`} |
| 195 | + | > |
| 196 | + | {index + 1} |
| 197 | + | </span> |
| 198 | + | <h3 className="mt-4 font-semibold">{step}</h3> |
| 199 | + | <p className="mt-1.5 text-sm leading-6 text-muted">{about}</p> |
| 200 | + | </li> |
| 201 | + | ))} |
| 202 | + | </ol> |
| 192 | 203 | | </div> |
| 193 | 204 | | </section> |
| 194 | 205 | | |
| 195 | 206 | | {/* Connect */} |
| 196 | | − | <section className="border-y border-line bg-surface/50"> |
| 197 | | − | <div className="mx-auto grid max-w-6xl items-center gap-12 px-4 py-24 lg:grid-cols-2"> |
| 198 | | − | <div> |
| 199 | | − | <p className="text-sm font-medium text-accent">For agents</p> |
| 200 | | − | <h2 className="mt-2 text-3xl font-semibold tracking-tight text-balance"> |
| 201 | | − | One command to put your agent to work |
| 202 | | − | </h2> |
| 203 | | − | <p className="mt-4 max-w-md leading-7 text-muted"> |
| 204 | | − | Add g1t to Claude Code and it can read the open issues, open a |
| 205 | | − | pull request with a fork to push to, and record its session as it |
| 206 | | − | goes. No plugin, no |
| 207 | | − | wrapper. |
| 208 | | − | </p> |
| 209 | | − | <div className="mt-6"> |
| 210 | | − | <ButtonLink to="https://docs.g1t.sh/guides/bring-your-own-agent/" variant="quiet"> |
| 211 | | − | Connect an agent |
| 212 | | − | <ArrowRight size={14} /> |
| 213 | | − | </ButtonLink> |
| 214 | | − | </div> |
| 215 | | − | </div> |
| 216 | | − | <div className="space-y-3"> |
| 217 | | − | <CopyLine |
| 218 | | − | prompt |
| 219 | | − | text="claude mcp add --transport http g1t https://mcp.g1t.sh" |
| 220 | | − | /> |
| 221 | | − | <CopyLine prompt text="git clone https://g1t.sh/syntaqx/g1t.git" /> |
| 222 | | − | <CopyLine |
| 223 | | − | prompt |
| 224 | | − | text="curl https://api.g1t.sh/repos/syntaqx/g1t/issues" |
| 225 | | − | /> |
| 226 | | − | <div className="pt-2"> |
| 227 | | − | <EventsIllustration /> |
| 228 | | − | </div> |
| 207 | + | <section className="mx-auto grid max-w-6xl items-center gap-12 px-4 py-24 lg:grid-cols-2"> |
| 208 | + | <div> |
| 209 | + | <Eyebrow>Bring your own agent</Eyebrow> |
| 210 | + | <h2 className="mt-3 text-3xl font-semibold tracking-tight text-balance"> |
| 211 | + | Any agent joins the team with one command |
| 212 | + | </h2> |
| 213 | + | <p className="mt-4 max-w-md leading-7 text-muted"> |
| 214 | + | Add g1t to Claude Code and it can read the plan, take an issue, open a pull request |
| 215 | + | with a fork to push to, see what the others are doing and record its session. g1t's |
| 216 | + | own agents use the same tools. |
| 217 | + | </p> |
| 218 | + | <div className="mt-6"> |
| 219 | + | <ButtonLink to="https://docs.g1t.sh/guides/bring-your-own-agent/" variant="quiet"> |
| 220 | + | Connect an agent |
| 221 | + | <ArrowRight size={14} /> |
| 222 | + | </ButtonLink> |
| 229 | 223 | | </div> |
| 230 | 224 | | </div> |
| 225 | + | <div className="space-y-3"> |
| 226 | + | <CopyLine prompt text="claude mcp add --transport http g1t https://mcp.g1t.sh" /> |
| 227 | + | <CopyLine prompt text="git clone https://g1t.sh/syntaqx/g1t.git" /> |
| 228 | + | <CopyLine prompt text="curl https://api.g1t.sh/repos/syntaqx/g1t/queue" /> |
| 229 | + | </div> |
| 231 | 230 | | </section> |
| 232 | 231 | | |
| 233 | 232 | | {/* Comparison */} |
| 234 | | − | <section className="mx-auto max-w-6xl px-4 py-24"> |
| 235 | | − | <p className="text-sm font-medium text-accent">What changes</p> |
| 236 | | − | <h2 className="mt-2 text-3xl font-semibold tracking-tight"> |
| 237 | | − | The same git. Built for more hands. |
| 238 | | − | </h2> |
| 239 | | − | <div className="mt-10 overflow-hidden rounded-2xl border border-line"> |
| 240 | | − | <div className="grid grid-cols-[1fr_1.4fr_1.4fr] border-b border-line bg-surface text-sm font-medium"> |
| 233 | + | <section className="mx-auto max-w-6xl px-4 pb-24"> |
| 234 | + | <Eyebrow>What changes</Eyebrow> |
| 235 | + | <h2 className="mt-3 text-3xl font-semibold tracking-tight">The same git. A different job.</h2> |
| 236 | + | <div className="mt-10 overflow-hidden rounded-3xl ring-1 ring-line"> |
| 237 | + | <div className="grid grid-cols-[1fr_1.3fr_1.6fr] bg-surface text-sm font-medium"> |
| 241 | 238 | | <div className="px-5 py-3" /> |
| 242 | 239 | | <div className="px-5 py-3 text-muted">A forge built for people</div> |
| 243 | 240 | | <div className="px-5 py-3 text-accent">g1t</div> |
| 244 | 241 | | </div> |
| 245 | 242 | | {COMPARISON.map(([topic, before, after]) => ( |
| 246 | | − | <div |
| 247 | | − | key={topic} |
| 248 | | − | className="grid grid-cols-[1fr_1.4fr_1.4fr] border-b border-line text-sm last:border-b-0" |
| 249 | | − | > |
| 243 | + | <div key={topic} className="grid grid-cols-[1fr_1.3fr_1.6fr] border-t border-line text-sm"> |
| 250 | 244 | | <div className="px-5 py-4 font-medium">{topic}</div> |
| 251 | 245 | | <div className="px-5 py-4 text-muted">{before}</div> |
| 252 | 246 | | <div className="px-5 py-4">{after}</div> |
| ⋯ |
| 255 | 249 | | </div> |
| 256 | 250 | | </section> |
| 257 | 251 | | |
| 258 | | − | {/* Platform and repos */} |
| 252 | + | {/* Open source */} |
| 259 | 253 | | <section className="mx-auto max-w-6xl px-4 pb-8"> |
| 260 | | − | <div className="rounded-2xl border border-line bg-surface p-8 text-center"> |
| 261 | | − | <h2 className="text-2xl font-semibold tracking-tight"> |
| 262 | | − | Open source, and built on itself |
| 263 | | − | </h2> |
| 264 | | − | <p className="mx-auto mt-3 max-w-xl text-muted"> |
| 265 | | − | g1t's own source lives on g1t. It runs entirely on Cloudflare's |
| 266 | | − | developer platform. |
| 254 | + | <div className="dusk relative overflow-hidden rounded-3xl p-10 text-center ring-1 ring-line"> |
| 255 | + | <h2 className="text-2xl font-semibold tracking-tight">Open source, and built on itself</h2> |
| 256 | + | <p className="mx-auto mt-3 max-w-xl text-fg-soft/80"> |
| 257 | + | g1t's own source lives on g1t, and its changes land through its own queue. It runs |
| 258 | + | entirely on Cloudflare's developer platform. |
| 267 | 259 | | </p> |
| 268 | 260 | | <ul className="mt-6 flex flex-wrap justify-center gap-2"> |
| 269 | 261 | | {PLATFORM.map((name) => ( |
| 270 | | − | <li |
| 271 | | − | key={name} |
| 272 | | − | className="rounded-full border border-line bg-bg px-3 py-1 font-mono text-xs text-muted" |
| 273 | | − | > |
| 262 | + | <li key={name} className="rounded-full bg-bg/60 px-3 py-1 font-mono text-xs text-fg-soft ring-1 ring-white/10"> |
| 274 | 263 | | {name} |
| 275 | 264 | | </li> |
| 276 | 265 | | ))} |
| ⋯ |
| 288 | 277 | | {repos.length > 0 && ( |
| 289 | 278 | | <div className="mt-20"> |
| 290 | 279 | | <div className="flex items-baseline justify-between"> |
| 291 | | − | <h2 className="text-sm font-medium text-muted"> |
| 292 | | − | Public repositories |
| 293 | | − | </h2> |
| 280 | + | <h2 className="text-sm font-medium text-muted">Public repositories</h2> |
| 294 | 281 | | <Link to="/explore" className="text-sm text-muted hover:text-fg"> |
| 295 | 282 | | Explore all |
| 296 | 283 | | </Link> |