add base front

This commit is contained in:
Julien Aldon
2026-02-10 16:49:26 +01:00
parent be7ca58513
commit 7df0af8f1d
26 changed files with 4541 additions and 0 deletions

19
frontend/src/router.tsx Normal file
View File

@@ -0,0 +1,19 @@
import {
createBrowserRouter,
} from "react-router";
import Root from "./root";
import { Home } from "./pages/Home";
import { ContractForm } from "./pages/ContractForm";
export const router = createBrowserRouter([
{
path: "/",
Component: Root,
// errorElement: <NotFound />,
children: [
{ index: true, Component: Home },
{ path: "/forms", Component: ContractForm },
],
},
]);