'use client'; import Link from 'next/link'; import { useState } from 'react'; import { Button } from '@/components/ui/button'; import { Input } from '@/components/ui/input'; import { Sparkles, Mail, Lock, ArrowRight, Globe } from 'lucide-react'; import { useRouter } from 'next/navigation'; export default function LoginPage() { const [email, setEmail] = useState('demo@scanmenu.app'); const [password, setPassword] = useState('demo1234'); const [loading, setLoading] = useState(false); const router = useRouter(); const handleLogin = (e: React.FormEvent) => { e.preventDefault(); setLoading(true); setTimeout(() => { router.push('/dashboard/overview'); }, 800); }; return (
{/* Left Panel — Branding */}
ScanMenu

“ScanMenu transformed our restaurant. Orders are faster, errors dropped to zero, and our revenue increased 32% in just 3 months.”

Maria Santos

Owner, Bella Cucina

© 2025 ScanMenu. All rights reserved.

{/* Right Panel — Form */}
ScanMenu

Welcome back

Sign in to your account to continue

setEmail(e.target.value)} className="pl-10" />
setPassword(e.target.value)} className="pl-10" />
or continue with

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

); }