import Link from 'next/link';
import { RegisterForm } from '@/components/auth/RegisterForm';

export default function RegisterPage() {
	return (
		<div className='min-h-screen bg-gradient-to-br from-blue-50 to-indigo-100 flex items-center justify-center px-4'>
			<div className='w-full max-w-md space-y-6'>
				<div className='text-center'>
					<h1 className='text-3xl font-bold text-gray-900 mb-2'>🏓 TT Booking</h1>
					<p className='text-gray-600'>Join our table tennis community</p>
				</div>

				<RegisterForm />

				<div className='text-center text-sm'>
					<span className='text-gray-600'>Already have an account? </span>
					<Link href='/login' className='text-blue-600 hover:text-blue-800 font-medium'>
						Sign in
					</Link>
				</div>
			</div>
		</div>
	);
}
