{state === "log in" ? (
<>
Log in with
Atmosphere account
What's the Atmosphere?
}
/>
}
loading={loading}
onSubmit={(handle) => {
setLoading(true);
const redirectUrl = props.redirectRoute || "/";
window.location.href = `/api/oauth/login?handle=${encodeURIComponent(handle)}&redirect_url=${encodeURIComponent(redirectUrl)}`;
}}
/>
{props.noEmailLogin ? null : (
<>
>
)}
>
) : state === "email log in" ? (
) : state === "email confirm" ? (
) : (
Leaflet is part of
the Atmosphere.
Create an Atmosphere account on Bluesky to get started!
)}
);
};