aboutsummaryrefslogtreecommitdiffstats
path: root/site/src
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2025-04-17 12:53:24 -0700
committerPinapelz <yukais@pinapelz.com>2025-04-17 12:53:43 -0700
commit609cab37a8bea1bd78b678581d9ed2f9c4baea1b (patch)
tree581c226961815b8179e377aee661037db652096f /site/src
parent452e87c02c8487bc2c82ca348e046cbe7b69db07 (diff)
add extended eamuse feed bemani titles to frontend
Diffstat (limited to 'site/src')
-rw-r--r--site/src/components/TitleBar.tsx6
-rw-r--r--site/src/utils.ts7
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();
};
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage