flagon-io/g1t

public

Where people and agents ship software together. The open-source git platform for the whole job: issues, agents, checks and deploys to the edge.

g1t/apps/sudo/app/routes.ts

20 lines944 bytesCodeBlame

Pick any line to see why it is the way it is: the commit, the pull request and issue it came from, and what the agent was thinking.

Billing accounts, terms and enterprises; g1t is no longer free1import { type RouteConfig, index, route } from "@react-router/dev/routes";
2
A menu shaped by how g1t works, Soon pages for every promise, and sudo for sales3import { soonItems } from "./lib/nav.ts";
4
Billing accounts, terms and enterprises; g1t is no longer free5export default [
A menu shaped by how g1t works, Soon pages for every promise, and sudo for sales6 index("routes/overview.tsx"),
7 route("workspaces", "routes/workspaces.tsx"),
Billing on Stripe's pages, month-end charges, warnings; sudo by workspace8 route("workspaces/:slug", "routes/workspace.tsx"),
9 route("enterprises", "routes/enterprises.tsx"),
Billing accounts, terms and enterprises; g1t is no longer free10 route("enterprises/new", "routes/new-enterprise.tsx"),
Billing on Stripe's pages, month-end charges, warnings; sudo by workspace11 route("enterprises/:id", "routes/enterprise.tsx"),
A menu shaped by how g1t works, Soon pages for every promise, and sudo for sales12 route("reach-out", "routes/reach-out.tsx"),
sudo: Invoices, Audit log, and follow-ups due13 route("invoices", "routes/invoices.tsx"),
Stripe webhooks, enterprise invoices, and sudo for both14 route("stripe", "routes/stripe.tsx"),
sudo: Invoices, Audit log, and follow-ups due15 route("audit", "routes/audit.tsx"),
A menu shaped by how g1t works, Soon pages for every promise, and sudo for sales16 // What sudo will have: one placeholder page each, from lib/nav.ts.
17 ...soonItems().map((item) => route(item.to.slice(1), "routes/soon.tsx", { id: `soon${item.to.replace(/\//g, "-")}` })),
Billing on Stripe's pages, month-end charges, warnings; sudo by workspace18 // Before sudo was organised around workspaces, everything was an account.
19 route("accounts/*", "routes/legacy-accounts.tsx"),
Billing accounts, terms and enterprises; g1t is no longer free20] satisfies RouteConfig;