import { useState } from "preact/hooks"; export default function GuestHome() { const [spinDirection, setSpinDirection] = useState<"cw" | "ccw">("cw"); const handleLogoMouseEnter = () => { setSpinDirection(Math.random() < 0.5 ? "cw" : "ccw"); }; const startOnboarding = (role: "landlord" | "tenant") => { try { localStorage.setItem("login-purpose", role); localStorage.removeItem("lock-route"); } catch (_error) { void _error; } globalThis.location.href = "/auth/login"; }; return (
{/* Animated background grid */}
{/* Three colored orbs matching text highlights */}
{/* Large Logo */}
Cyber Hybrid Hub Logo
{/* Cyberpunk Message */}

However you found us, you are {" "} lucky. Click to start your journey.

{/* Enter button form */}

Start Real Estate Onboarding

{/* Glitch effect container */}

> System ready for authentication...

{/* Animated scanlines */}
); }