diff options
| author | Pinapelz <yukais@pinapelz.com> | 2025-04-15 01:43:09 -0700 |
|---|---|---|
| committer | Pinapelz <yukais@pinapelz.com> | 2025-04-15 01:43:09 -0700 |
| commit | 0d74765108381e1b82b4706af7df3f09a092ab35 (patch) | |
| tree | f809513c5f2bcaf48b5716bd91691d92220cb832 | |
| parent | db96364d2301c79a05998be0fcf27e6013517b22 (diff) | |
frontend: add support for CHUNITHM INTERNATIONAL
| -rw-r--r-- | sega/chuni_intl.py | 2 | ||||
| -rw-r--r-- | site/src/components/TitleBar.tsx | 1 | ||||
| -rw-r--r-- | site/src/utils.ts | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/sega/chuni_intl.py b/sega/chuni_intl.py index 44bab1e..9b176dd 100644 --- a/sega/chuni_intl.py +++ b/sega/chuni_intl.py @@ -42,7 +42,7 @@ def make_chuni_intl_parser(identifier: str, parser: ParserVersion): "identifier": identifier, "type": None, "timestamp": timestamp, - "headline": headline, + "headline": None, "content": headline, "url": url, "images": [{ diff --git a/site/src/components/TitleBar.tsx b/site/src/components/TitleBar.tsx index a3f3fa1..5d8606c 100644 --- a/site/src/components/TitleBar.tsx +++ b/site/src/components/TitleBar.tsx @@ -22,6 +22,7 @@ const TitleBar: React.FC = () => { name: "SEGA", games: [ { id: "chunithm_jp", title: "CHUNITHM (JAPAN)" }, + { id: "chunithm_intl", title: "CHUNITHM (INTERNATIONAL)" }, { 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 f325c28..802d364 100644 --- a/site/src/utils.ts +++ b/site/src/utils.ts @@ -9,6 +9,7 @@ export const getGameTitle = (gameId: string) => { 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" + if (lowerCaseGameId.startsWith("chunithm_intl")) return "CHUNITHM (INTERNATIONAL)" return gameId.toUpperCase(); }; |
