import { Button } from "baseui/button"; import { Input } from "baseui/input"; import { Modal, ModalBody, ModalHeader } from "baseui/modal"; import { LabelMedium } from "baseui/typography"; import { useState } from "react"; interface SignInModalProps { isOpen: boolean; onClose: () => void; } function SignInModal(props: SignInModalProps) { const { isOpen, onClose } = props; const [handle, setHandle] = useState(""); const onLogin = async () => { if (!handle.trim()) { return; } onClose(); window.location.href = `https://rocksky.pages.dev/loading?handle=${handle}`; }; return ( <>

Rocksky

Sign in or create your account to join the conversation!

Bluesky handle
@
} placeholder=".bsky.social" value={handle} onChange={(e) => setHandle(e.target.value)} /> Don't have an account?
Sign up for Bluesky {" "} to create one now!
); } export default SignInModal;