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

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

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