"use client" import { Button } from "@/components/ui/button" import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/components/ui/card" import { ArrowLeft, Eye, EyeOff, CheckCircle2 } from "lucide-react" import Link from "next/link" import Image from "next/image" import { useState } from "react" import { useRouter } from "next/navigation" export default function SignupPage() { const [step, setStep] = useState(1) const [showPassword, setShowPassword] = useState(false) const [authMethod, setAuthMethod] = useState<"email" | "phone">("email") const [showOTP, setShowOTP] = useState(false) const router = useRouter() const handleNextStep = () => { if (step === 1) setStep(2) else router.push("/dashboard") } return (
Back to Home
PragatiVeer PragatiVeer
{/* Progress Bar */}
= 1 ? "text-primary" : ""}>Account Details = 2 ? "text-primary" : ""}>Personalize Profile
{step === 1 ? "Create an account" : "Complete your profile"} {step === 1 ? "Start your AI-powered preparation journey today." : "Help us personalize your study plan."} {step === 1 ? (
{!showOTP && ( )}
{showOTP && (
{[1,2,3,4,5,6].map((i) => ( ))}
)}
) : (
)} {step === 1 && ( <>
Or continue with
)}
{step === 1 ? (

Already have an account? Log in

) : ( )}
) }