import { useState } from 'react' import { Link } from 'react-router-dom' export function ForgotPassword() { const [email, setEmail] = useState('') const [submitted, setSubmitted] = useState(false) function handleSubmit(e: React.FormEvent) { e.preventDefault() if (email) setSubmitted(true) } return (

Reset Password

Enter your email and we'll send you a link to reset your password.

{submitted ? (

If an account exists for {email}, you'll receive a reset link shortly.

Back to Sign In
) : (
setEmail(e.target.value)} autoComplete="email" className="min-h-12 w-full rounded-xl border border-gray-200 px-4 text-base focus:border-brand-blue focus:outline-none focus:ring-1 focus:ring-brand-blue" />
)}

Back to Sign In

) }