From 212b248c6de1f30e51d680e278b52d389fda3b23 Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Mon, 14 Apr 2025 16:43:06 -0700 Subject: frontend: add maimai DX intl and ongeki to titlebar selector --- site/src/components/TitleBar.tsx | 6 ++++-- 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(); }; -- cgit v1.2.3