From 8c23b3ab6f7fabca01b0468911bae073aa5ced32 Mon Sep 17 00:00:00 2001
From: soryu <soryu@soryu.co>
Date: Mon, 9 Feb 2026 00:11:51 +0000
Subject: Add new directive mechanism v3

---
 makima/frontend/src/main.tsx | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

(limited to 'makima/frontend/src/main.tsx')

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>
@@ -127,6 +128,22 @@ createRoot(document.getElementById("root")!).render(
               </ProtectedRoute>
             }
           />
+          <Route
+            path="/directives"
+            element={
+              <ProtectedRoute>
+                <DirectivesPage />
+              </ProtectedRoute>
+            }
+          />
+          <Route
+            path="/directives/:id"
+            element={
+              <ProtectedRoute>
+                <DirectivesPage />
+              </ProtectedRoute>
+            }
+          />
           <Route
             path="/speak"
             element={
-- 
cgit v1.2.3

