"use client" import { useState } from "react" import { useRouter } from "next/navigation" import { SignUpForm } from "./signup-form" import { Button } from "@/components/ui/button" import { CheckCircle, ArrowRight } from "lucide-react" export function SignUpPage() { const [isSuccess, setIsSuccess] = useState(false) const router = useRouter() const handleSignUpSuccess = () => { setIsSuccess(true) // Redirect to signin after 3 seconds setTimeout(() => { router.push("/signin?message=Please check your email to verify your account") }, 3000) } if (isSuccess) { return (
{/* Left: Gradient panel */}
{/* subtle grain */}
{/* soft circular accents */}

Codenuk

Account Created!

Your account has been successfully created. Please verify your email to continue.

{/* Step 1 - Completed */}
Sign up completed
{/* Step 2 - Next */}
2
Verify email & sign in
{/* Right: Success message */}

Account Created Successfully!

We've sent a verification email to your inbox. Please check your email and click the verification link to activate your account.

Next step: Check your email and click the verification link, then sign in to your account.

) } return (
{/* Left: Gradient panel with steps */}
{/* subtle grain */}
{/* soft circular accents */}

Codenuk

Get Started with Us

Complete these easy steps to register your account.

{/* Step 1 - Active */}
1
Sign up your account
{/* Step 2 - Next */}
2
Verify email & sign in
{/* Right: Form area */}

Sign Up Account

Enter your personal data to create your account.

Already have an account?
) }