'use client' import { useState } from 'react' import { AuthLayout } from '@/components/layout/AuthLayout' import { Button } from '@/components/shared/Button' import { AlertCircle } from 'lucide-react' export default function LoginPage() { const [email, setEmail] = useState('') const [password, setPassword] = useState('') const [error, setError] = useState('') const [isLoading, setIsLoading] = useState(false) const handleSubmit = async (e: React.FormEvent) => { e.preventDefault() setError('') setIsLoading(true) try { // Handle login logic here console.log('Logging in with:', { email, password }) } catch { setError('Invalid email or password') } finally { setIsLoading(false) } } return (

Sign in to your account

{error && (

{error}

)}
setEmail(e.target.value)} className="block w-full rounded-md border px-3 py-1.5 text-gray-900 shadow-sm" />
setPassword(e.target.value)} className="block w-full rounded-md border px-3 py-1.5 text-gray-900 shadow-sm" />
Or continue with

Not a member?{' '} Start a 14 day free trial

) }