From fbb47c59c1b0e84c7b60c3269b8e581e5bd36dff Mon Sep 17 00:00:00 2001 From: MotorTruck1221 Date: Tue, 17 Dec 2024 04:44:47 -0700 Subject: [PATCH] Games: fix redirects and bugs --- config.example.toml | 2 +- src/pages/gs/index.astro | 74 ++++++++++++++++++++-------------------- 2 files changed, 38 insertions(+), 38 deletions(-) diff --git a/config.example.toml b/config.example.toml index d9b1c6290..d73d00f9b 100644 --- a/config.example.toml +++ b/config.example.toml @@ -1,5 +1,5 @@ [buildOpts] -games = false +games = true [server] wisp = true diff --git a/src/pages/gs/index.astro b/src/pages/gs/index.astro index 228c1a561..2d7182b9d 100644 --- a/src/pages/gs/index.astro +++ b/src/pages/gs/index.astro @@ -9,46 +9,46 @@ const images = import.meta.glob<{ default: ImageMetadata }>( '/src/assets/games/*.{jpeg,jpg,png,gif,webp}' ); --- - -{!GAMES_LINK && } -{GAMES_LINK && } +
-
-
- - - - + {GAMES_LINK && +
+
+ + + + +
-
-
- {games.map((game) => ( - - {`${game.name}'s - - ))} -
+
+ {games.map((game) => ( + + {`${game.name}'s + + ))} +
+ }
- - + } +