summaryrefslogtreecommitdiff
path: root/makima/frontend/src/main.tsx
diff options
context:
space:
mode:
authorsoryu <soryu@soryu.co>2026-01-11 05:52:14 +0000
committersoryu <soryu@soryu.co>2026-01-15 00:21:16 +0000
commit87044a747b47bd83249d61a45842c7f7b2eae56d (patch)
treeef2000ce79ffcc2723ef841acef5aa1deb1d5378 /makima/frontend/src/main.tsx
parent077820c4167c168072d217a1b01df840463a12a8 (diff)
downloadsoryu-87044a747b47bd83249d61a45842c7f7b2eae56d.tar.gz
soryu-87044a747b47bd83249d61a45842c7f7b2eae56d.zip
Contract system
Diffstat (limited to 'makima/frontend/src/main.tsx')
-rw-r--r--makima/frontend/src/main.tsx26
1 files changed, 26 insertions, 0 deletions
diff --git a/makima/frontend/src/main.tsx b/makima/frontend/src/main.tsx
index d4ca13a..496a569 100644
--- a/makima/frontend/src/main.tsx
+++ b/makima/frontend/src/main.tsx
@@ -8,6 +8,8 @@ import { ProtectedRoute } from "./components/ProtectedRoute";
import HomePage from "./routes/_index";
import ListenPage from "./routes/listen";
import FilesPage from "./routes/files";
+import ContractsPage from "./routes/contracts";
+import WorkflowPage from "./routes/workflow";
import MeshPage from "./routes/mesh";
import LoginPage from "./routes/login";
import SettingsPage from "./routes/settings";
@@ -45,6 +47,30 @@ createRoot(document.getElementById("root")!).render(
}
/>
<Route
+ path="/contracts"
+ element={
+ <ProtectedRoute>
+ <ContractsPage />
+ </ProtectedRoute>
+ }
+ />
+ <Route
+ path="/contracts/:id"
+ element={
+ <ProtectedRoute>
+ <ContractsPage />
+ </ProtectedRoute>
+ }
+ />
+ <Route
+ path="/workflow"
+ element={
+ <ProtectedRoute>
+ <WorkflowPage />
+ </ProtectedRoute>
+ }
+ />
+ <Route
path="/mesh"
element={
<ProtectedRoute>