Add direct interactive routes

Implement direct routes for interactives (e.g., `/school-connect/binary-number-game`).
This commit is contained in:
gpt-engineer-app[bot] 2025-07-19 13:36:52 +00:00
parent a2c73e02ef
commit 666de99364
2 changed files with 33 additions and 0 deletions

View file

@ -14,6 +14,7 @@ import AdvancedAlgorithms from "./pages/theme-pages/AdvancedAlgorithms";
import DataStructures from "./pages/theme-pages/DataStructures";
import Games from "./pages/theme-pages/Games";
import CardsMath from "./pages/theme-pages/CardsMath";
import BinaryNumberGamePage from "./pages/BinaryNumberGamePage";
import NotFound from "./pages/NotFound";
const queryClient = new QueryClient();
@ -39,6 +40,9 @@ const App = () => (
<Route path="/themes/games" element={<Games />} />
<Route path="/themes/cards-math" element={<CardsMath />} />
{/* Direct interactive routes */}
<Route path="/binary-number-game" element={<BinaryNumberGamePage />} />
{/* ADD ALL CUSTOM ROUTES ABOVE THE CATCH-ALL "*" ROUTE */}
<Route path="*" element={<NotFound />} />
</Routes>