// mb-splash.jsx — animated opening / splash screen shown before the app function SplashScreen({ onDone, logo = "uploads/logomorarbem2.png" }) { const [leaving, setLeaving] = React.useState(false); React.useEffect(() => { const t1 = setTimeout(() => setLeaving(true), 2500); const t2 = setTimeout(() => onDone && onDone(), 3100); return () => { clearTimeout(t1); clearTimeout(t2); }; }, []); return (
{/* soft drifting glow blobs */}
{/* expanding ripple rings (echo of the hand + wave logo) */}
{[0, 1, 2].map(i => ( ))}
{/* logo */}
Morar Bem
{/* tagline near the bottom */}
O melhor da cidade na palma da sua mão
{/* animated wave band near the bottom */}
{/* loading shimmer */}
); } Object.assign(window, { SplashScreen });