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 (
However you found us, you are
{" "}
lucky.
Click to start your journey.
Start Real Estate Onboarding
> System ready for authentication...