Route Map
Every public and authenticated route with path helpers.
Canonical paths are defined in src/lib/routes.ts. Always use these helpers instead of hardcoding strings.
Public routes
| Route | Description |
|---|---|
/ | Landing page |
/login | Sign in |
/auth/callback | OAuth code exchange |
/share/[token] | Public share links |
/docs/* | Documentation |
Hub routes
| Route | Description |
|---|---|
/projects | Project grid |
/projects/[id] | Project home (files, initiatives) |
/projects/[id]/boards/[boardId] | Review board |
/projects/[id]/canvas/[canvasId] | Ideas canvas (full-bleed) |
/projects/[id]/docs/[docId] | Text document (Monaco) |
/projects/[id]/i/[init]/a/[asset] | Asset deep link |
/tasks/today | Tasks — Today view |
/tasks/upcoming | Tasks — Upcoming |
/tasks/inbox | Tasks — Inbox |
/tasks/labels/[slug] | Tasks by label |
/for-you | Inbox triage feed |

Route helpers
ts
import {
projectPath,
reviewBoardPath,
canvasPath,
textDocumentPath,
forYouLensPath,
taskDeepLinkPath,
} from "@/lib/routes";