'use client';
import { useTranslations } from 'next-intl';
import React from 'react';
import Button from '@/components/Form/Button';
import Logo from '@/components/Logo'; // Import du composant Logo
import FormRenderer from '@/components/Form/FormRenderer';
import FormTemplateBuilder from '@/components/Form/FormTemplateBuilder';

export default function Home() {
  const t = useTranslations('homePage');

  return (
    <div className="flex flex-col items-center justify-center min-h-screen py-2 bg-neutral">
      <Logo className="mb-4" />
      <h1 className="font-headline text-4xl font-bold mb-4">{t('welcomeParents')}</h1>
      <p className="font-body text-lg mb-8">{t('pleaseLogin')}</p>
      <Button text={t('loginButton')} primary href="/users/login" />
    </div>
  );
}
