From 5f8574c4e5f3f453f96286b46c66f1c80238404b Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Thu, 18 Sep 2025 00:44:49 -0700 Subject: update allnet games with private network modal, official mai2 service in USA soon --- site/src/components/NoteModals.tsx | 235 +++++++++++++++++++++++++++++++++++++ 1 file changed, 235 insertions(+) create mode 100644 site/src/components/NoteModals.tsx (limited to 'site/src/components/NoteModals.tsx') diff --git a/site/src/components/NoteModals.tsx b/site/src/components/NoteModals.tsx new file mode 100644 index 0000000..fe68054 --- /dev/null +++ b/site/src/components/NoteModals.tsx @@ -0,0 +1,235 @@ +import Popup from "reactjs-popup"; +import React from "react"; + +export const EamuseMaintenancePopup: React.FC<{ isMoe: boolean }> = ({ + isMoe, +}) => { + return ( + + e-amusement Maintenance + + } + position="center center" + modal + closeOnDocumentClick + overlayStyle={{ + backgroundColor: "rgba(0, 0, 0, 0.5)", + }} + > +
+
+

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 NesicaMaintenancePopup: React.FC<{ isMoe: boolean }> = ({ + isMoe, +}) => { + return ( + + NESiCA Maintenance + + } + position="center center" + modal + closeOnDocumentClick + overlayStyle={{ + backgroundColor: "rgba(0, 0, 0, 0.5)", + }} + > +
+
+

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 AimeIntlMaintenanceInfo: React.FC<{ isMoe: boolean }> = ({ + isMoe, +}) => { + return ( + + Aime Maintenance + + } + position="center center" + modal + closeOnDocumentClick + overlayStyle={{ + backgroundColor: "rgba(0, 0, 0, 0.5)", + }} + > +
+
+

Aime Maintenance Information

+
+
+

Regular Daily Maintenance

+

+ Every day from 11:00 AM to 2:00 PM (PST) +

+

+ In your local time:{" "} + {(() => { + const pst11am = new Date(); + pst11am.setUTCHours(19, 0, 0, 0); // 11AM PST is 7PM UTC + const pst2pm = new Date(); + pst2pm.setUTCHours(22, 0, 0, 0); // 2PM PST is 10PM UTC + const options: Intl.DateTimeFormatOptions = { + hour: "2-digit", + minute: "2-digit", + hour12: true, + }; + return `${pst11am.toLocaleTimeString([], options)} to ${pst2pm.toLocaleTimeString([], options)}`; + })()} +

+

+ Cabinets will operate only in GUEST MODE play mode during + maintenance +

+
+
+
+
+ ); +}; + +export const AllnetPrivateServerWarning: React.FC<{ isMoe: boolean }> = ({ + isMoe, +}) => { + return ( + + Private Networks + + } + position="center center" + modal + closeOnDocumentClick + overlayStyle={{ + backgroundColor: "rgba(0, 0, 0, 0.5)", + }} + > +
+
+

Private Servers

+
+
+

+ This game has prominent private networks in locations where official + service was/is not available. +

Playdata on these private networks not shared nor + transferrable with official service. Please take care to know the + difference. +

+ All information on this side refers to cabinets on the official + network. +

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