'use client' import { useState } from 'react' import { useRouter } from 'next/navigation' import Link from 'next/link' import Image from 'next/image' import { useStore } from '@/lib/store' import { Loader2, ArrowRight, Check, Eye, EyeOff } from 'lucide-react' // Logo Component - Puma Image function Logo() { return ( pounce ) } const benefits = [ 'Monitor up to 3 domains free', 'Daily availability checks', 'Instant email notifications', 'Track expiration dates', ] export default function RegisterPage() { const router = useRouter() const { register } = useStore() const [email, setEmail] = useState('') const [password, setPassword] = useState('') const [showPassword, setShowPassword] = useState(false) const [error, setError] = useState(null) const [loading, setLoading] = useState(false) const handleSubmit = async (e: React.FormEvent) => { e.preventDefault() setError(null) setLoading(true) try { await register(email, password) router.push('/dashboard') } catch (err) { setError(err instanceof Error ? err.message : 'Registration failed') } finally { setLoading(false) } } return (
{/* Ambient glow */}
{/* Left Panel - Form */}
{/* Logo */} {/* Header */}

Create your account

Start monitoring domains in under a minute

{/* Form */}
{error && (

{error}

)}
setEmail(e.target.value)} placeholder="Email address" required className="input-elegant text-body-sm sm:text-body" />
setPassword(e.target.value)} placeholder="Create password (min. 8 characters)" required minLength={8} className="input-elegant text-body-sm sm:text-body pr-12" />
{/* Login Link */}

Already have an account?{' '} Sign in

{/* Right Panel - Benefits */}
Free Plan Included

Everything you need to get started

    {benefits.map((item) => (
  • {item}
  • ))}

No credit card required. Upgrade anytime.

) }