Refactor theme structure

Add new themes under Discrete Math, move binary interactive, and remove School Connect.
This commit is contained in:
gpt-engineer-app[bot] 2025-07-19 13:53:44 +00:00
parent 76e47c5b00
commit 964c544027
12 changed files with 287 additions and 30 deletions

View file

@ -7,7 +7,6 @@ import Index from "./pages/Index";
import Themes from "./pages/Themes";
import Puzzles from "./pages/Puzzles";
import Miscellany from "./pages/Miscellany";
import SchoolConnect from "./pages/theme-pages/SchoolConnect";
import DiscreteMath from "./pages/theme-pages/DiscreteMath";
import SocialChoice from "./pages/theme-pages/SocialChoice";
import AdvancedAlgorithms from "./pages/theme-pages/AdvancedAlgorithms";
@ -15,6 +14,13 @@ 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 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";
import Uncertainty from "./pages/theme-pages/discrete-math/Uncertainty";
import Structures from "./pages/theme-pages/discrete-math/Structures";
import Numbers from "./pages/theme-pages/discrete-math/Numbers";
import Graphs from "./pages/theme-pages/discrete-math/Graphs";
import NotFound from "./pages/NotFound";
const queryClient = new QueryClient();
@ -32,8 +38,14 @@ const App = () => (
<Route path="/miscellany" element={<Miscellany />} />
{/* Theme-specific routes */}
<Route path="/themes/school-connect" element={<SchoolConnect />} />
<Route path="/themes/discrete-math" element={<DiscreteMath />} />
<Route path="/themes/discrete-math/foundations" element={<Foundations />} />
<Route path="/themes/discrete-math/proofs" element={<Proofs />} />
<Route path="/themes/discrete-math/counting" element={<Counting />} />
<Route path="/themes/discrete-math/uncertainty" element={<Uncertainty />} />
<Route path="/themes/discrete-math/structures" element={<Structures />} />
<Route path="/themes/discrete-math/numbers" element={<Numbers />} />
<Route path="/themes/discrete-math/graphs" element={<Graphs />} />
<Route path="/themes/social-choice" element={<SocialChoice />} />
<Route path="/themes/advanced-algorithms" element={<AdvancedAlgorithms />} />
<Route path="/themes/data-structures" element={<DataStructures />} />