summaryrefslogtreecommitdiff
path: root/makima/frontend/src/main.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'makima/frontend/src/main.tsx')
-rw-r--r--makima/frontend/src/main.tsx17
1 files changed, 17 insertions, 0 deletions
diff --git a/makima/frontend/src/main.tsx b/makima/frontend/src/main.tsx
index 50fffe4..3dc68f5 100644
--- a/makima/frontend/src/main.tsx
+++ b/makima/frontend/src/main.tsx
@@ -19,6 +19,7 @@ import LoginPage from "./routes/login";
import SettingsPage from "./routes/settings";
import ContractFilePage from "./routes/contract-file";
import SpeakPage from "./routes/speak";
+import DirectivesPage from "./routes/directives";
createRoot(document.getElementById("root")!).render(
<StrictMode>
@@ -128,6 +129,22 @@ createRoot(document.getElementById("root")!).render(
}
/>
<Route
+ path="/directives"
+ element={
+ <ProtectedRoute>
+ <DirectivesPage />
+ </ProtectedRoute>
+ }
+ />
+ <Route
+ path="/directives/:id"
+ element={
+ <ProtectedRoute>
+ <DirectivesPage />
+ </ProtectedRoute>
+ }
+ />
+ <Route
path="/speak"
element={
<ProtectedRoute>