From 7b5ae11e469c762ed8145cf74bd1c67d9002c52b Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Tue, 22 Apr 2025 01:36:50 -0700 Subject: frontend: add wac_plus --- site/src/components/TitleBar.tsx | 4 ++++ site/src/utils.ts | 1 + 2 files changed, 5 insertions(+) (limited to 'site') diff --git a/site/src/components/TitleBar.tsx b/site/src/components/TitleBar.tsx index b20beae..3018357 100644 --- a/site/src/components/TitleBar.tsx +++ b/site/src/components/TitleBar.tsx @@ -84,6 +84,10 @@ const TitleBar: React.FC = () => { name: "BANDAI NAMCO", games: [{ id: "taiko", title: "TAIKO" }], }, + { + name: "COMMUNITY", + games: [{ id: "wacca_plus", title: "WACCA+" }], + }, ]; useEffect(() => { diff --git a/site/src/utils.ts b/site/src/utils.ts index 77a1aa1..18ea80c 100644 --- a/site/src/utils.ts +++ b/site/src/utils.ts @@ -17,6 +17,7 @@ export const getGameTitle = (gameId: string) => { if (lowerCaseGameId.startsWith("popn_music")) return "pop'n music"; if (lowerCaseGameId.startsWith("music_diver")) return "MUSIC DIVER"; if (lowerCaseGameId.startsWith("taiko")) return "Taiko no Tatsujin"; + if (lowerCaseGameId.startsWith("wacca")) return "WACCA+"; return gameId.toUpperCase(); -- cgit v1.2.3