import { Navigate, Route, Routes } from "react-router-dom"; import { Home } from "@portal/views/Home"; import { Documents } from "@portal/views/Documents"; import { Placeholder } from "@portal/views/Placeholder"; import { VIEW_PATHS, type ViewId } from "@portal/contexts/ViewContext"; const PLACEHOLDER_PHASES: Partial> = { editor: "Phase 8 — Editor", sources: "Phase 5 — Sources & Agents", pipelines: "Phase 4 — Pipelines", infrastructure: "Phase 7 — Infrastructure", usage: "Phase 8 — Usage & Billing", docs: "Phase 8 — Developer Docs", settings: "Settings — modal overlay", }; export function ViewRouter() { return ( } /> } /> } /> } /> } /> } /> } /> } /> } /> {/* Unknown paths land on Home. */} } /> ); }