'use client'; import { useActionState } from 'react'; import { useFormStatus } from 'react-dom'; import { authenticate } from '@/app/actions/auth'; import Link from 'next/link'; import { Mail, Lock, ArrowRight, Sparkles } from 'lucide-react'; import { useLanguage } from '@/lib/i18n'; import { GoogleSignInButton } from '@/components/google-sign-in-button'; function AuthDivider({ label }: { label: string }) { return (
{t('auth.welcomeBackSubtitle')}
{t('auth.noAccount')}{' '} {t('auth.signUp')}