import { useState } from "react" import { Link } from "react-router-dom" import { ArrowLeft } from "lucide-react" import successSrc from "../../assets/success.svg" import { BrandLogo } from "../../components/brand/BrandLogo" import { Button } from "../../components/ui/button" import { Input } from "../../components/ui/input" export function ForgotPasswordPage() { const [email, setEmail] = useState("") const [submitted, setSubmitted] = useState(false) const handleSubmit = (e: React.FormEvent) => { e.preventDefault() // Handle forgot password logic here console.log("Forgot password:", { email }) setSubmitted(true) } return (
{/* Decorative left panel */}
{/* Abstract decorative shapes */}
{/* Brand logo */}

Manage your academy, track student progress, and streamline operations — all from one powerful dashboard.

{/* Right panel – form */}
{/* Mobile-only logo */}
{/* Back link */} Back to sign in {submitted ? ( /* Success state */

Check your email

We've sent a password reset link to{" "} {email}. Please check your inbox and follow the instructions.

) : ( /* Form state */ <> {/* Header */}

Account Recovery

Forgot password?

No worries — enter your email and we'll send you a reset link.

setEmail(e.target.value)} required className="h-11 rounded-xl" />
)} {/* Footer */}

© {new Date().getFullYear()} Yimaru Academy · All rights reserved

) }