{config.headlineTop}
{config.headlineAccent}
{config.description}
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 (
{config.description}