diff options
| author | Pinapelz <yukais@pinapelz.com> | 2025-04-17 12:53:24 -0700 |
|---|---|---|
| committer | Pinapelz <yukais@pinapelz.com> | 2025-04-17 12:53:43 -0700 |
| commit | 609cab37a8bea1bd78b678581d9ed2f9c4baea1b (patch) | |
| tree | 581c226961815b8179e377aee661037db652096f /site/src/utils.ts | |
| parent | 452e87c02c8487bc2c82ca348e046cbe7b69db07 (diff) | |
add extended eamuse feed bemani titles to frontend
Diffstat (limited to 'site/src/utils.ts')
| -rw-r--r-- | site/src/utils.ts | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/site/src/utils.ts b/site/src/utils.ts index 7bf4648..34d4049 100644 --- a/site/src/utils.ts +++ b/site/src/utils.ts @@ -10,7 +10,12 @@ export const getGameTitle = (gameId: string) => { if (lowerCaseGameId.startsWith("maimaidx_intl")) return "maimai DX (INTERNATIONAL)"; if (lowerCaseGameId.startsWith("ongeki_jp")) return "O.N.G.E.K.I" if (lowerCaseGameId.startsWith("chunithm_intl")) return "CHUNITHM (INTERNATIONAL)" - if (lowerCaseGameId.startsWith("ddr")) return "DanceDanceRevolution" + if (lowerCaseGameId.startsWith("ddr")) return "DanceDanceRevolution"; + if (lowerCaseGameId.startsWith("jubeat")) return "jubeat"; + if (lowerCaseGameId.startsWith("gitadora")) return "GITADORA"; + if (lowerCaseGameId.startsWith("nostalgia")) return "NOSTALGIA"; + if (lowerCaseGameId.startsWith("popn_music")) return "pop'n music"; + return gameId.toUpperCase(); }; |
