diff options
Diffstat (limited to 'site')
| -rw-r--r-- | site/src/components/TitleBar.tsx | 6 | ||||
| -rw-r--r-- | site/src/utils.ts | 7 |
2 files changed, 11 insertions, 2 deletions
diff --git a/site/src/components/TitleBar.tsx b/site/src/components/TitleBar.tsx index 2f7e3c1..8894ced 100644 --- a/site/src/components/TitleBar.tsx +++ b/site/src/components/TitleBar.tsx @@ -16,7 +16,11 @@ const TitleBar: React.FC = () => { games: [ { id: "iidx", title: "beatmania IIDX" }, { id: "sdvx", title: "SOUND VOLTEX" }, - { id: "ddr", title: "DanceDanceRevolution"} + { id: "ddr", title: "DanceDanceRevolution"}, + { id: "jubeat", title: "jubeat"}, + { id: "popn_music", title: "pop'n music"}, + { id: "nostalgia", title: "NOSTALGIA"}, + { id: "gitadora", title: "GITADORA"} ], }, { 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(); }; |
