import React, { useState } from 'react'; import { useForm, Head, Link } from '@inertiajs/react'; import { ArrowLeft, Eye, EyeOff, Loader2, Mail, Lock } from 'lucide-react'; export default function EmployerLogin() { const { data, setData, post, processing, errors } = useForm({ email: '', password: '', remember: false, source: 'mobile', }); const [showPassword, setShowPassword] = useState(false); const handleSubmit = (e) => { e.preventDefault(); post('/employer/login'); }; return (
{/* Header */}
{/* Title */}

Welcome back

Please enter your details to sign in

{/* Login Form */}
setData('email', e.target.value)} placeholder="Enter your email" className="w-full pl-12 pr-4 py-4 bg-slate-50 border border-slate-200 rounded-2xl text-sm focus:bg-white focus:ring-2 focus:ring-[#185FA5]/10 focus:border-[#185FA5] transition-all outline-none" required />
{errors.email &&

{errors.email}

}
Forgot?
setData('password', e.target.value)} placeholder="••••••••" className="w-full pl-12 pr-12 py-4 bg-slate-50 border border-slate-200 rounded-2xl text-sm focus:bg-white focus:ring-2 focus:ring-[#185FA5]/10 focus:border-[#185FA5] transition-all outline-none" required />
{/* Footer */}

Don't have an account?{' '} Sign up

); }