feat: initial Vite/React frontend service template

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
nholtware 2026-11-05 02:27:23 -06:00
commit 9fd6fd1d26
32 changed files with 5218 additions and 0 deletions

18
src/routes.tsx Normal file
View file

@ -0,0 +1,18 @@
import type { RouteObject } from "react-router";
import { ErrorPage } from "./routes/ErrorPage";
import { Home } from "./routes/Home";
import { Layout } from "./routes/Layout";
import { Status, statusLoader } from "./routes/Status";
// Data-mode route table. Add pages here; loaders live next to their component.
export const routes: RouteObject[] = [
{
path: "/",
element: <Layout />,
errorElement: <ErrorPage />,
children: [
{ index: true, element: <Home /> },
{ path: "status", element: <Status />, loader: statusLoader },
],
},
];