03
Authentication Pages
Login, Signup, Forgot Password, Email Verification — all 5 user types
Week 2–35–7 days
Phase Progress0/11 tasks · 0%
Key Pattern — Every Auth Page
Add 'use client' at line 1 — all auth pages have forms, useState, event handlers
Replace useNavigate → useRouter — from next/navigation
Replace <Link> from react-router-dom — → import Link from 'next/link'
Upgrade forms with react-hook-form + zod — better validation, no manual state
Route Mapping
User/Login.jsx → app/user/login/page.jsx
User/Signup.jsx → app/user/signup/page.jsx
ForgotPassword + ResetPassword
User/VerifyEmail.jsx → app/user/verify-email/page.jsx
Doctor/Login + Signup → app/doctor/
Founder/FounderLogin.jsx → app/founder/login/
Admin/Staff/StaffLogin.jsx → app/admin/login/