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:
parent
927c445677
commit
5585cf8ce5
2 changed files with 2 additions and 1 deletions
|
|
@ -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 />} />
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
)}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue