/* eslint-disable @next/next/no-img-element */ import {ToastContainer} from "react-toastify"; import {useState} from "react"; import Head from "next/head"; import useUser from "@/hooks/useUser"; import Button from "@/components/Low/Button"; import {BsArrowRepeat} from "react-icons/bs"; import Link from "next/link"; export default function Register() { const [name, setName] = useState(""); const [email, setEmail] = useState(""); const [password, setPassword] = useState(""); const [confirmPassword, setConfirmPassword] = useState(""); const [isLoading, setIsLoading] = useState(false); const {mutateUser} = useUser({ redirectTo: "/", redirectIfFound: true, }); return ( <> Register | IELTS GPT
People smiling looking at a tablet

Create new account

setName(e.target.value)} placeholder="Enter your name" className="px-8 py-6 text-sm font-normal placeholder:text-mti-gray-cool bg-white rounded-full shadow-xl shadow-mti-gray-anti-flash focus:outline-none" />
setEmail(e.target.value)} placeholder="Enter email address" className="px-8 py-6 text-sm font-normal placeholder:text-mti-gray-cool bg-white rounded-full shadow-xl shadow-mti-gray-anti-flash focus:outline-none" />
setPassword(e.target.value)} placeholder="Enter your password" className="px-8 py-6 text-sm font-normal placeholder:text-mti-gray-cool bg-white rounded-full shadow-xl shadow-mti-gray-anti-flash focus:outline-none" />
setConfirmPassword(e.target.value)} placeholder="Confirm your password" className="px-8 py-6 text-sm font-normal placeholder:text-mti-gray-cool bg-white rounded-full shadow-xl shadow-mti-gray-anti-flash focus:outline-none" />
Sign in instead
); }