diff options
| author | Pinapelz <yukais@pinapelz.com> | 2025-04-22 01:36:50 -0700 |
|---|---|---|
| committer | Pinapelz <yukais@pinapelz.com> | 2025-04-22 01:37:28 -0700 |
| commit | 7b5ae11e469c762ed8145cf74bd1c67d9002c52b (patch) | |
| tree | 9a279c051996bfaea46b958841cb5539935cd356 /site/src | |
| parent | 371ce5aba3ba8be9e00f93d3a4d36abff3e5e180 (diff) | |
frontend: add wac_plus
Diffstat (limited to 'site/src')
| -rw-r--r-- | site/src/components/TitleBar.tsx | 4 | ||||
| -rw-r--r-- | site/src/utils.ts | 1 |
2 files changed, 5 insertions, 0 deletions
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(); |
