diff options
| author | Pinapelz <yukais@pinapelz.com> | 2025-04-28 11:17:27 -0700 |
|---|---|---|
| committer | Pinapelz <yukais@pinapelz.com> | 2025-04-28 11:19:40 -0700 |
| commit | 1f6231ef399702c4ec0ff76b13455b00af23f91b (patch) | |
| tree | 05d88f658165c043a29744580dfc76d30cf5e5f9 /site | |
| parent | e44189b877032c00f4a82a2dda8e56890b9df869 (diff) | |
update frontend for pc, dance around/rush
Diffstat (limited to 'site')
| -rw-r--r-- | site/src/components/TitleBar.tsx | 5 | ||||
| -rw-r--r-- | site/src/utils.ts | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/site/src/components/TitleBar.tsx b/site/src/components/TitleBar.tsx index 728060a..ce70aaa 100644 --- a/site/src/components/TitleBar.tsx +++ b/site/src/components/TitleBar.tsx @@ -32,7 +32,6 @@ const TitleBar: React.FC = () => { navigate(`${location.pathname}?${params.toString()}`); }; - useEffect(() => { const savedTheme = localStorage.getItem("theme"); @@ -52,7 +51,6 @@ const TitleBar: React.FC = () => { // eslint-disable-next-line react-hooks/exhaustive-deps }, [location.pathname, navigate]); - const gameCategories: GameCategory[] = [ { name: "KONAMI", @@ -64,6 +62,9 @@ const TitleBar: React.FC = () => { { id: "popn_music", title: "pop'n music" }, { id: "nostalgia", title: "NOSTALGIA" }, { id: "gitadora", title: "GITADORA" }, + { id: "dance_rush", title: "DANCERUSH" }, + { id: "dance_around", title: "DANCE aROUND" }, + { id: "polaris_chord", title: "POLARIS CHORD" }, ], }, { diff --git a/site/src/utils.ts b/site/src/utils.ts index 5cf35dc..c6f4ba6 100644 --- a/site/src/utils.ts +++ b/site/src/utils.ts @@ -20,6 +20,9 @@ export const getGameTitle = (gameId: string) => { if (lowerCaseGameId.startsWith("wacca")) return "WACCA PLUS"; if (lowerCaseGameId.startsWith("museca")) return "MÚSECA PLUS"; if (lowerCaseGameId.startsWith("reflec_beat") || lowerCaseGameId.startsWith("rb_deluxe")) return "REFLEC BEAT DELUXE PLUS"; + if (lowerCaseGameId.startsWith("dance_rush")) return "DANCERUSH"; + if(lowerCaseGameId.startsWith("dance_around")) return "DANCE aROUND"; + if(lowerCaseGameId.startsWith("polaris_chord")) return "POLARIS CHORD/ポラリスコード" return gameId.toUpperCase(); |
