diff --git a/public/img/instructions/game-start.webp b/public/img/instructions/game-start.webp new file mode 100644 index 0000000..ed2cf13 Binary files /dev/null and b/public/img/instructions/game-start.webp differ diff --git a/public/img/instructions/hexagon-gem.webp b/public/img/instructions/hexagon-gem.webp new file mode 100644 index 0000000..687b13a Binary files /dev/null and b/public/img/instructions/hexagon-gem.webp differ diff --git a/public/img/instructions/leaderboard.webp b/public/img/instructions/leaderboard.webp new file mode 100644 index 0000000..06667af Binary files /dev/null and b/public/img/instructions/leaderboard.webp differ diff --git a/public/img/instructions/matchmaking.webp b/public/img/instructions/matchmaking.webp new file mode 100644 index 0000000..1c58ce6 Binary files /dev/null and b/public/img/instructions/matchmaking.webp differ diff --git a/public/img/instructions/profile-replays.webp b/public/img/instructions/profile-replays.webp new file mode 100644 index 0000000..28a9a0f Binary files /dev/null and b/public/img/instructions/profile-replays.webp differ diff --git a/public/img/instructions/replay.webp b/public/img/instructions/replay.webp new file mode 100644 index 0000000..475a63a Binary files /dev/null and b/public/img/instructions/replay.webp differ diff --git a/public/img/instructions/room-creation.webp b/public/img/instructions/room-creation.webp new file mode 100644 index 0000000..637478a Binary files /dev/null and b/public/img/instructions/room-creation.webp differ diff --git a/public/img/instructions/three-hexagons.webp b/public/img/instructions/three-hexagons.webp new file mode 100644 index 0000000..bb5a166 Binary files /dev/null and b/public/img/instructions/three-hexagons.webp differ diff --git a/public/img/instructions/tile-placement.webp b/public/img/instructions/tile-placement.webp new file mode 100644 index 0000000..4084d5a Binary files /dev/null and b/public/img/instructions/tile-placement.webp differ diff --git a/public/img/instructions/trade.webp b/public/img/instructions/trade.webp new file mode 100644 index 0000000..b43015e Binary files /dev/null and b/public/img/instructions/trade.webp differ diff --git a/public/img/instructions/two-hexagons.webp b/public/img/instructions/two-hexagons.webp new file mode 100644 index 0000000..e93c75c Binary files /dev/null and b/public/img/instructions/two-hexagons.webp differ diff --git a/routes/index.js b/routes/index.js index 66fc5c5..7fe772d 100644 --- a/routes/index.js +++ b/routes/index.js @@ -23,6 +23,11 @@ router.use("/leaderboard", (req, res) => { res.render("pages/leaderboard"); }); +// Load the instructions route +router.use("/instructions", (req, res) => { + res.render("pages/instructions"); +}); + // Load the game route router.use("/game", (req, res) => { res.render("pages/game"); diff --git a/views/components/main-header.ejs b/views/components/main-header.ejs index 1b1454f..b77958c 100644 --- a/views/components/main-header.ejs +++ b/views/components/main-header.ejs @@ -12,8 +12,8 @@ class="mr-5 <%= currentPage === 'play-now' ? 'text-gray-900' : 'hover:text-gray-900' %>">Play Now Leaderboard - How to Play + How to Play