Update sim game route

Update the route for the Game of Sim to `/sim` so that the provided URL leads to the game.
This commit is contained in:
gpt-engineer-app[bot] 2025-08-22 05:53:39 +00:00
parent 927c445677
commit 5585cf8ce5
2 changed files with 2 additions and 1 deletions

View file

@ -81,6 +81,7 @@ const App = () => (
<Route path="/themes/advanced-algorithms" element={<AdvancedAlgorithms />} />
<Route path="/themes/data-structures" element={<DataStructures />} />
<Route path="/themes/games" element={<Games />} />
<Route path="/themes/games/sim" element={<GameOfSimPage />} />
<Route path="/themes/cards-math" element={<CardsMath />} />
<Route path="/themes/puzzles" element={<Puzzles />} />
<Route path="/themes/miscellany" element={<Miscellany />} />

View file

@ -277,7 +277,7 @@ const GameOfSim: React.FC<GameOfSimProps> = ({ showSocialShare = true }) => {
<SocialShare
title="Game of Sim"
description="Play the strategic Game of Sim! Take turns coloring edges between vertices while avoiding creating triangles of your own color."
url={`${window.location.origin}/themes/games#game-of-sim`}
url={`${window.location.origin}/themes/games/sim`}
/>
</div>
)}