From 57671a1ca530f2102ddb1945d8c85719da6fe5fe Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Sat, 19 Apr 2025 19:14:40 -0700 Subject: prepend additional information for relevant games --- site/src/components/GameNotes.tsx | 213 +++++++++++++++++++++++++++++++++++++- 1 file changed, 210 insertions(+), 3 deletions(-) (limited to 'site/src') diff --git a/site/src/components/GameNotes.tsx b/site/src/components/GameNotes.tsx index 0a72d01..ea840c8 100644 --- a/site/src/components/GameNotes.tsx +++ b/site/src/components/GameNotes.tsx @@ -1,17 +1,224 @@ import React from "react"; +import Popup from 'reactjs-popup' + +const EamuseMaintenancePopup: React.FC<{ isMoe: boolean }> = ({ isMoe }) => { + return ( + e-amusement Maintenance} + position="center center" + modal + closeOnDocumentClick + > +
+
+

e-amusement Maintenance Information

+
+
+

+ Regular Daily Maintenance +

+

+ Every day from 5:00 AM to 7:00 AM (JST) +

+

+ In your local time: {(() => { + const jst5am = new Date(); + jst5am.setUTCHours(20, 0, 0, 0); // 5AM JST is 8PM UTC the day before + const jst7am = new Date(); + jst7am.setUTCHours(22, 0, 0, 0); // 7AM JST is 10PM UTC the day before + const options: Intl.DateTimeFormatOptions = { + hour: '2-digit', + minute: '2-digit', + hour12: true + }; + return `${jst5am.toLocaleTimeString([], options)} to ${jst7am.toLocaleTimeString([], options)}`; + })()} +

+

+ e-amusement website, at-home Konasute games offline, Japan + Asia cabinets offline. USA cabinets exempt +

+

+ Monthly Extended Maintenance +

+

+ Every Third Tuesday from 2:00 AM to 7:00 AM (JST) +

+

+ In your local time: {(() => { + const jst2am = new Date(); + jst2am.setUTCHours(17, 0, 0, 0); + const jst7am = new Date(); + jst7am.setUTCHours(22, 0, 0, 0); + const options: Intl.DateTimeFormatOptions = { + hour: '2-digit', + minute: '2-digit', + hour12: true + }; + return `${jst2am.toLocaleTimeString([], options)} to ${jst7am.toLocaleTimeString([], options)}`; + })()} +

+

+ ALL Cabinets + e-amusement services offline. This is moved 1 day earlier if that day is a Japanese Holiday. +

+ +
+
+
+
+
+ ); +}; export const GameNotes = (isMoe: boolean): Record => ({ sdvx: ( <> +
+ +
+

+ Official e-amusement service in NA available only at Round1 USA +
+ Online Cabinets in non-supported regions (CAN/EU/AUS) are on private networks which are running older data +

+ + ), + iidx: ( + <> + +
+ +

Official e-amusement service in NA available only at Round1 USA
- Cabinets in Canada/Europe/Australia are on non-official private networks which are running older data + Online Cabinets in non-supported regions (CAN/EU/AUS) are on private networks which are running older data

), + gitadora: ( + <> +
+ +
+

+ Official e-amusement service in NA available only at Round1 USA +
+ Online Cabinets in non-supported regions (CAN/EU/AUS) are on private networks which are running older data +

+ + ), + ddr: ( + <> +
+ +
+

+ Official e-amusement service in NA available only at Round1 USA +
+ Online Cabinets in non-supported regions (CAN/EU/AUS) are on private networks which are running older data +

+ + ), + jubeat: ( + <> +

+ Online only in Japan and Asia regions. No online service in the US (only old versions running offline-kit) +

+

+ Online Cabinets in non-supported regions (CAN/EU/AUS) are on private networks which are running older data +

+ + ), + popn_music: ( + <> +

+ Online only in Japan and Asia regions. Japan and Asia only. No online service in the US (only old versions running offline-kit) +

+

+ Online Cabinets in non-supported regions (CAN/EU/AUS) are on private networks which are running older data +

+ + ), + nostalgia: ( + <> +

+ Online only in Japan and Asia regions. Japan and Asia only. No online service in the US +

+

+ Online Cabinets in non-supported regions (CAN/EU/AUS) are on private networks which are running older data +

+ + ), + chunithm_jp: ( + <> +

+ This version of the game is only available in Japan +

+

+ You may be on the International version if you are outside of Japan +

+ + ), + maimaidx_jp: ( + <> +

+ This version of the game is only available in Japan +

+

+ You may be on the International version if you are outside of Japan +

+ + ), + ongeki_jp: ( + <> +

+ Official service only in Japan. No International Version +

+

+ You are on a private network if the cabinet is not in Japan +

+ + ), + chunithm_intl: ( + <> + +

+ No official service in NA or EU. See supported regions here +

+

+ If your region is not shown, you are likely on a private network +

+ + ), + maimaidx_intl: ( + <> + +

+ No official service in NA or EU. See supported regions here +

+

+ If your region is not shown, you are likely on a private network +

+ + ), + music_diver: ( + <> +

+ Online service available only at Round1 Japan and Round1 USA locations +

+ + ), + }); -- cgit v1.2.3