import { useEffect } from 'react';
import { useNavigate } from 'react-router-dom';

export default function AuthCallback() {
  const navigate = useNavigate();

  useEffect(() => {
    // Redirect to login page since we're no longer supporting external authentication
    navigate('/login');
  }, [navigate]);

  return (
    <div className="flex min-h-screen items-center justify-center bg-gray-50">
      <div className="w-full max-w-md space-y-8 rounded-lg bg-white p-6 shadow-lg">
        <div className="text-center">
          <h2 className="text-3xl font-bold text-gray-900">Redirecting...</h2>
          <p className="mt-2 text-sm text-gray-600">Please wait while we redirect you to the login page...</p>
        </div>
      </div>
    </div>
  );
}

