import { useEffect } from 'react';
import { useNavigate } from 'react-router-dom';
import { useAuth } from '@/contexts/AuthContext';
import { Plane, LogIn, Shield } from 'lucide-react';
export function Login() {
const { isAuthenticated, loginWithRedirect } = useAuth();
const navigate = useNavigate();
useEffect(() => {
if (isAuthenticated) {
navigate('/dashboard');
}
}, [isAuthenticated, navigate]);
return (
{/* Background ambient effects */}
{/* Content */}
{/* Breathing logo circle */}
{/* Title */}
VIP Coordinator
Transportation logistics & event coordination
{/* Sign in card */}
{/* Footer note */}
Authorized personnel only
);
}