'use client'; import { useActionState } from 'react'; import { useFormStatus } from 'react-dom'; import { register } from '@/app/actions/register'; import Link from 'next/link'; import { Mail, Lock, User, ArrowRight, Sparkles } from 'lucide-react'; import { useLanguage } from '@/lib/i18n'; import { GoogleSignInButton } from '@/components/google-sign-in-button'; function RegisterButton() { const { pending } = useFormStatus(); const { t } = useLanguage(); return ( ); } function AuthDivider({ label }: { label: string }) { return (
{t('auth.createYourSpaceSubtitle')}
{t('auth.hasAccount')}{' '} {t('auth.signIn')}