import { Button } from '@workspace/ui/components/button'; import { Alert, AlertDescription, AlertTitle } from '@workspace/ui/components/alert'; import { AlertCircle } from 'lucide-react'; import { signIn } from '@/auth'; async function logIn() { 'use server'; await signIn('google', { redirectTo: '/' }); } export default async function Page(props: { searchParams: Promise<{ error?: string }> }) { const searchParams = await props.searchParams; const error = searchParams?.error; return (
{/* Animated floating shapes */}
{/* Animated logo */} Logo

Placement Portal Admin

Sign in to manage placements and students

Empower your journey. Shape the future.

{error === 'AccessDenied' && ( Access Denied Please sign in with your somaiya email ID. )}
); }