From ba74f5fd137d6b772e8f5a5f89dc7147ee741f92 Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Mon, 16 Jun 2025 19:27:11 -0700 Subject: frontend: display street fighter and idac --- site/src/pages/GameSelector.tsx | 57 +++++++++++++++++++++++++++++------------ 1 file changed, 40 insertions(+), 17 deletions(-) (limited to 'site/src/pages') diff --git a/site/src/pages/GameSelector.tsx b/site/src/pages/GameSelector.tsx index d9d5279..41551bc 100644 --- a/site/src/pages/GameSelector.tsx +++ b/site/src/pages/GameSelector.tsx @@ -33,21 +33,29 @@ const gameInfo: GameCategory[] = [ { id: "maimaidx_jp", title: "maimai DX (JAPAN)" }, { id: "maimaidx_intl", title: "maimai DX (INTERNATIONAL)" }, { id: "ongeki_jp", title: "O.N.G.E.K.I" }, + { id: "idac", title: "INITIAL D (頭文字D)" }, ], }, { name: "TAITO", description: "", - games: [{ id: "music_diver", title: "MUSIC DIVER" }], + games: [ + { id: "music_diver", title: "MUSIC DIVER" }, + { id: "street_fighter", title: "STREET FIGHTER" }, + ], }, { name: "BANDAI NAMCO", description: "", - games: [{ id: "taiko", title: "Taiko no Tatsujin" }, { id: "wmmt", title: "WANGAN MIDNIGHT MAXIMUM TUNE" }], + games: [ + { id: "taiko", title: "Taiko no Tatsujin" }, + { id: "wmmt", title: "WANGAN MIDNIGHT MAXIMUM TUNE" }, + ], }, { name: "COMMUNITY", - description: "Community-driven projects to continue the legacy of dead/abandoned rhythm games", + description: + "Community-driven projects to continue the legacy of dead/abandoned rhythm games", games: [ { id: "wacca_plus", title: "WACCA PLUS" }, { id: "museca_plus", title: "MÚSECA PLUS" }, @@ -62,10 +70,18 @@ const GameSelector = () => { const renderCategory = (category: GameCategory) => (
-

{category.name}

-

{category.description}

+

+ {category.name} +

+

+ {category.description} +

- {category.games.map(game => ( + {category.games.map((game) => ( { return ( <> - -
-
-

- Select a Game -

-

- Individual game feeds keep a longer history of news relating to that game than the main feed. -

- {gameInfo.map(renderCategory)} + +
+
+

+ Select a Game +

+

+ Individual game feeds keep a longer history of news relating to that + game than the main feed. +

+ {gameInfo.map(renderCategory)} +
-
); }; -- cgit v1.2.3