ExamCraftAI / Frontend /src /pages /Auth /ForgotPassword.jsx
Hkoradiya123
Initial commit
5463318
Raw History Blame Contribute Delete
1.58 kB
import React from "react";
import { Link } from "react-router-dom";
import { BrainCircuit } from "lucide-react";
export default function ForgotPassword() {
return (
<div className="min-h-screen flex items-center justify-center bg-background p-6">
<div className="max-w-md w-full glass p-8 rounded-2xl border border-border shadow-lg space-y-6">
<div className="flex items-center justify-center gap-2 mb-6">
<BrainCircuit className="h-8 w-8 text-primary" />
<span className="text-2xl font-bold tracking-tight">ExamCraft.<span className="text-primary">AI</span></span>
</div>
<h2 className="text-2xl font-bold text-center">Reset Password</h2>
<p className="text-center text-muted-foreground text-sm">Enter your email and we'll send you a link to reset.</p>
<div className="space-y-4">
<input type="email" placeholder="Email Address" className="w-full bg-input/20 border border-border rounded-lg px-4 py-3 focus:ring-2 focus:ring-primary outline-none text-foreground" />
<button className="w-full bg-primary text-primary-foreground py-3 rounded-lg font-semibold hover:bg-primary/90 transition text-sm">Send Reset Link</button>
</div>
<p className="text-center text-sm text-muted-foreground mt-6">
<Link to="/login" className="text-primary hover:underline">Back to Login</Link>
</p>
</div>
</div>
);
}