diff options
| -rw-r--r-- | generate.py | 6 | ||||
| -rw-r--r-- | site/src/components/TitleBar.tsx | 6 | ||||
| -rw-r--r-- | site/src/utils.ts | 7 |
3 files changed, 16 insertions, 3 deletions
diff --git a/generate.py b/generate.py index baa18b2..eafc579 100644 --- a/generate.py +++ b/generate.py @@ -114,7 +114,7 @@ if __name__ == "__main__": sdvx_news_data = generate_sdvx_news_file() ddr_news_data = generate_ddr_news_file(eamuse_feed=True) gitadora_news_data = generate_gitadora_news_file() - popn_music_news_daa = generate_popn_music_news_file() + popn_music_news_data = generate_popn_music_news_file() jubeat_news_data = generate_jubeat_news_file() nostalgia_news_data = generate_nostalgia_news_file() chunithm_jp_news_data = generate_chunithm_jp_news_file() @@ -127,6 +127,10 @@ if __name__ == "__main__": iidx_news_data, sdvx_news_data, ddr_news_data, + gitadora_news_data, + popn_music_news_data, + jubeat_news_data, + nostalgia_news_data, chunithm_jp_news_data, maimaidx_jp_news_data, ongeki_jp_news_data, 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(); }; |
