From c40236f1134489692c880abd57f2ed8ebce3fcb3 Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Mon, 16 Jun 2025 14:50:41 -0700 Subject: add game notes for nesica maintenance schedule --- site/src/components/GameNotes.tsx | 53 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) (limited to 'site/src') diff --git a/site/src/components/GameNotes.tsx b/site/src/components/GameNotes.tsx index 4f5396b..0b2a49d 100644 --- a/site/src/components/GameNotes.tsx +++ b/site/src/components/GameNotes.tsx @@ -75,6 +75,56 @@ const EamuseMaintenancePopup: React.FC<{ isMoe: boolean }> = ({ isMoe }) => { ); }; +const NesicaMaintenancePopup: React.FC<{ isMoe: boolean }> = ({ isMoe }) => { + return ( + + NESiCA Maintenance + + } + position="center center" + modal + closeOnDocumentClick + > +
+
+

NESiCA Maintenance Information

+
+
+

Regular Daily Maintenance

+

+ Every day from 6:00 AM to 8:00 AM (JST) +

+

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

+

+ IC Cards are not accepted 15 minutes prior to start of maintenance +

+
+
+
+
+ ); +}; + export const GameNotes = (isMoe: boolean): Record => ({ sdvx: ( <> @@ -335,6 +385,9 @@ export const GameNotes = (isMoe: boolean): Record => ({ ), music_diver: ( <> +
+ +

-- cgit v1.2.3