g1t/apps/web/app/routes.ts

24 lines1,007 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.

Initial g1t: services, event bus, intents and attempts1import { type RouteConfig, index, route } from "@react-router/dev/routes";
2
3export default [
4 index("routes/home.tsx"),
5 route("login", "routes/login.tsx"),
API and MCP server, Rust identity service, registration, site redesign6 route("register", "routes/register.tsx"),
Initial g1t: services, event bus, intents and attempts7 route("logout", "routes/logout.tsx"),
8 route("new", "routes/new.tsx"),
9 route("settings", "routes/settings.tsx"),
API and MCP server, Rust identity service, registration, site redesign10 route("explore", "routes/explore.tsx", { id: "explore" }),
11 route("search", "routes/explore.tsx", { id: "search" }),
12 route("docs/:page?", "routes/docs.tsx"),
13 route(":owner", "routes/profile.tsx"),
Initial g1t: services, event bus, intents and attempts14 route(":owner/:repo", "routes/repo/layout.tsx", [
15 index("routes/repo/code.tsx"),
16 route("tree/:ref/*", "routes/repo/tree.tsx"),
17 route("blob/:ref/*", "routes/repo/blob.tsx"),
API and MCP server, Rust identity service, registration, site redesign18 route("commits", "routes/repo/commits.tsx"),
Initial g1t: services, event bus, intents and attempts19 route("intents", "routes/repo/intents.tsx"),
20 route("intents/new", "routes/repo/intent-new.tsx"),
21 route("intents/:number", "routes/repo/intent.tsx"),
22 route("attempts/:id", "routes/repo/attempt.tsx"),
23 ]),
24] satisfies RouteConfig;