import { useState } from "react"; import { Link } from "react-router-dom"; import { Button } from "@/components/ui/button"; import { Input } from "@/components/ui/input"; import { Label } from "@/components/ui/label"; import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/components/ui/card"; import { GraduationCap, ArrowLeft, CheckCircle } from "lucide-react"; export default function ForgotPassword() { const [sent, setSent] = useState(false); return (

EnCoach

{sent ? ( <>
Check your email We've sent a password reset link to your email address. ) : ( <> Forgot password? Enter your email and we'll send you a reset link. )}
{!sent ? (
{ e.preventDefault(); setSent(true); }} className="space-y-4">
) : null}
Back to sign in
); }