mirror of
https://git.v0id.ovh/n3wt-innov/n3wt-school.git
synced 2026-01-29 16:03:21 +00:00
19 lines
634 B
JavaScript
19 lines
634 B
JavaScript
'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>
|
|
);
|
|
}
|