-
Communauté
+
{t.footer.community}
@@ -103,13 +107,13 @@ export const Footer: React.FC = () => (
{/* Barre du bas */}
- © 2025 {SITE_CONFIG.name}. Hébergement communautaire pour développeurs et gamers.
+ © 2025 {SITE_CONFIG.name}. {t.footer.copyright}
- Fait avec
+ {t.footer.madeWith}
- par Banquise
+ {t.footer.by}
EPITA 2025
@@ -117,4 +121,5 @@ export const Footer: React.FC = () => (
-);
+ );
+};
diff --git a/banquise-website/components/layout/MobileMenu.tsx b/banquise-website/components/layout/MobileMenu.tsx
index 1de8554..4281e1f 100644
--- a/banquise-website/components/layout/MobileMenu.tsx
+++ b/banquise-website/components/layout/MobileMenu.tsx
@@ -2,6 +2,7 @@ import React, { useEffect } from 'react';
import { Button } from '@/components/common/Button';
import { Logo } from './navbar/Logo';
import { URLS } from '@/lib/config/constants';
+import { useTranslation } from '@/lib/hooks/useTranslation';
import type { Translation } from '@/types/i18n';
// Fonction utilitaire simple pour combiner les classes
@@ -87,6 +88,7 @@ const MobileNavItem: React.FC
= ({
};
export const MobileMenu: React.FC = ({ isOpen, onClose, translations }) => {
+ const { t } = useTranslation();
// Gérer le scroll du body
useEffect(() => {
if (isOpen) {
@@ -181,7 +183,7 @@ export const MobileMenu: React.FC = ({ isOpen, onClose, transla
}
title={translations.home}
- description="Retour à l'accueil"
+ description={t.common.backToHome}
href="#home"
onClick={() => handleNavClick('home')}
/>
@@ -193,7 +195,7 @@ export const MobileMenu: React.FC = ({ isOpen, onClose, transla
}
title={translations.services}
- description="Découvrir notre offre"
+ description={t.common.discoverOffer}
href="#services"
onClick={() => handleNavClick('services')}
/>
@@ -205,7 +207,7 @@ export const MobileMenu: React.FC = ({ isOpen, onClose, transla
}
title={translations.about}
- description="En savoir plus sur nous"
+ description={t.common.learnMoreAboutUs}
href="#about"
onClick={() => handleNavClick('about')}
/>
@@ -217,7 +219,7 @@ export const MobileMenu: React.FC = ({ isOpen, onClose, transla
}
title={translations.contact}
- description="Nous envoyer un email"
+ description={t.common.sendEmail}
href="mailto:contact@la-banquise.fr"
onClick={() => handleNavClick('contact')}
/>
@@ -235,7 +237,7 @@ export const MobileMenu: React.FC = ({ isOpen, onClose, transla
}
title="Discord"
- description="Rejoindre la communauté"
+ description={t.common.joinCommunity}
href={URLS.social.discord}
isExternal={true}
/>
@@ -257,7 +259,7 @@ export const MobileMenu: React.FC = ({ isOpen, onClose, transla
}}
className="w-full shadow-xl"
>
- Se connecter
+ {t.common.login}