"use client" import { useState } from "react" import Link from "next/link" import { useRouter } from "next/navigation" export default function RegisterPage() { const router = useRouter() const [phone, setPhone] = useState("") const [password, setPassword] = useState("") const [repeatPassword, setRepeatPassword] = useState("") const [ageConfirmed, setAgeConfirmed] = useState(false) return ( /* Full-screen dark backdrop */
router.back()} > {/* Modal card — stop clicks propagating to backdrop */}
e.stopPropagation()} > {/* Close button */} {/* Logo */}
{/* Red slashes */}
{[0, 1, 2].map((i) => (
))}
{/* HARIF box */}
HARIF
{/* SPORT text */} SPORT
{/* Title */}

REGISTER

{/* Form */}
{/* Phone Number */}
ET +251 setPhone(e.target.value)} className="flex-1 bg-white border border-gray-300 px-3 py-2 text-sm text-[#333] placeholder:text-gray-400 focus:outline-none focus:border-brand-primary" />
{/* Password */}
setPassword(e.target.value)} placeholder="Password" className="w-full bg-white border border-gray-300 px-3 py-2 text-sm text-[#333] placeholder:text-gray-400 focus:outline-none focus:border-brand-primary" />
{/* Repeat Password */}
setRepeatPassword(e.target.value)} placeholder="Repeat Password" className="w-full bg-white border border-gray-300 px-3 py-2 text-sm text-[#333] placeholder:text-gray-400 focus:outline-none focus:border-brand-primary" />
{/* Age confirmation */} {/* Register button */} {/* Support link */}

Support

{/* Login link */}

Already have an account?{" "} Login

) }