diff options
| author | Pinapelz <yukais@pinapelz.com> | 2025-04-14 16:43:06 -0700 |
|---|---|---|
| committer | Pinapelz <yukais@pinapelz.com> | 2025-04-14 16:43:06 -0700 |
| commit | 212b248c6de1f30e51d680e278b52d389fda3b23 (patch) | |
| tree | d03c2602623f25ee259c94b2038924e403900ea2 /site/src | |
| parent | 9ffb79ae1764368e863efcbd74f6e6c11f8c58b5 (diff) | |
frontend: add maimai DX intl and ongeki to titlebar selector
Diffstat (limited to 'site/src')
| -rw-r--r-- | site/src/components/TitleBar.tsx | 6 | ||||
| -rw-r--r-- | site/src/utils.ts | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/site/src/components/TitleBar.tsx b/site/src/components/TitleBar.tsx index 43976c1..a3f3fa1 100644 --- a/site/src/components/TitleBar.tsx +++ b/site/src/components/TitleBar.tsx @@ -21,8 +21,10 @@ const TitleBar: React.FC = () => { { name: "SEGA", games: [ - { id: "chunithm_jp", title: "CHUNITHM (JPN)" }, - { id: "maimaidx_jp", title: "maimai DX (JPN)" }, + { id: "chunithm_jp", title: "CHUNITHM (JAPAN)" }, + { id: "maimaidx_jp", title: "maimai DX (JAPAN)" }, + { id: "maimaidx_intl", title: "maimai DX (INTERNATIONAL)"}, + { id: "ongeki_jp", title: "O.N.G.E.K.I"}, ] } ]; diff --git a/site/src/utils.ts b/site/src/utils.ts index e3c0808..f325c28 100644 --- a/site/src/utils.ts +++ b/site/src/utils.ts @@ -7,6 +7,8 @@ export const getGameTitle = (gameId: string) => { if (lowerCaseGameId.startsWith("iidx")) return "beatmania IIDX"; if (lowerCaseGameId.startsWith("chunithm_jp")) return "CHUNITHM (JAPAN)"; if (lowerCaseGameId.startsWith("maimaidx_jp")) return "maimai DX (JAPAN)"; + if (lowerCaseGameId.startsWith("maimaidx_intl")) return "maimai DX (INTERNATIONAL)"; + if (lowerCaseGameId.startsWith("ongeki_jp")) return "O.N.G.E.K.I" return gameId.toUpperCase(); }; |
