const { useEffect, useState } = React; function App() { const [videoFailed, setVideoFailed] = useState(false); const [clock, setClock] = useState(""); useEffect(() => { const updateClock = () => { setClock(new Date().toLocaleTimeString([], { hour: "2-digit", minute: "2-digit" })); }; updateClock(); const timer = setInterval(updateClock, 60000); return () => clearInterval(timer); }, []); const config = window.SITE_CONFIG || {}; const rawWebsiteUrl = String(config.otherWebsiteUrl || "").trim(); const websiteUrl = rawWebsiteUrl ? (/^https?:\/\//i.test(rawWebsiteUrl) ? rawWebsiteUrl : `https://${rawWebsiteUrl}`) : ""; const showVideo = Boolean(config.backgroundVideo) && !videoFailed; return (
WE’RE MAKING IMPROVEMENTS

{config.headlineTop}
{config.headlineAccent}

{config.description}

UPGRADE IN PROGRESS WORKING ON IT
{ if (!websiteUrl) { event.preventDefault(); window.alert("Please add your website URL in src/config.js"); } }} > {config.otherWebsiteName || "Visit our other website"} Contact support ↗
✓ {config.estimatedMessage}
01THE NEXT CHAPTER IS LOADING
); } ReactDOM.createRoot(document.getElementById("root")).render();