feat: add standalone Nim game page, route, and container layout; remove global header/footer from /games/nim
This commit is contained in:
parent
bfa6e66450
commit
3705152d34
5 changed files with 69 additions and 8 deletions
|
|
@ -29,6 +29,7 @@ import TernarySearchTrickPage from "./pages/TernarySearchTrickPage";
|
|||
import TernarySearchTrickGreenScreen from "./pages/TernarySearchTrickGreenScreen";
|
||||
import NorthcottsGamePage from "./pages/NorthcottsGamePage";
|
||||
import KnightsPuzzlePage from "./pages/KnightsPuzzlePage";
|
||||
import NimGamePage from "./pages/NimGamePage";
|
||||
import Foundations from "./pages/theme-pages/discrete-math/Foundations";
|
||||
import Proofs from "./pages/theme-pages/discrete-math/Proofs";
|
||||
import Counting from "./pages/theme-pages/discrete-math/Counting";
|
||||
|
|
@ -84,6 +85,7 @@ const App = () => (
|
|||
<Route path="/ternary-search-trick/:mode" element={<TernarySearchTrickGreenScreen />} />
|
||||
<Route path="/northcotts-game" element={<NorthcottsGamePage />} />
|
||||
<Route path="/knights-puzzle" element={<KnightsPuzzlePage />} />
|
||||
<Route path="/games/nim" element={<NimGamePage />} />
|
||||
|
||||
{/* ADD ALL CUSTOM ROUTES ABOVE THE CATCH-ALL "*" ROUTE */}
|
||||
<Route path="*" element={<NotFound />} />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue