diff --git a/app/page.tsx b/app/page.tsx index 0d9873e..8e047a7 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -78,21 +78,6 @@ export default function HomePage() { - {/* Boutons Inscription/Connexion pour mobile (non-authentifié) */} - {!isAuthenticated && ( -
- - - - - - -
- )} diff --git a/components/Header.tsx b/components/Header.tsx index fdb6827..0510fe6 100644 --- a/components/Header.tsx +++ b/components/Header.tsx @@ -256,57 +256,13 @@ export default function Header() { {/* Participer Mobile - Green Button */} - {isAuthenticated ? ( - setIsMobileMenuOpen(false)} - > - Participer - - ) : ( -
- - - {isParticiperDropdownOpen && ( -
- { - setIsMobileMenuOpen(false); - setIsParticiperDropdownOpen(false); - }} - className="block text-primary-800 hover:text-primary-900 font-medium py-2 px-3 bg-white rounded-md hover:bg-primary-100 transition-colors" - > - → Connexion - - { - setIsMobileMenuOpen(false); - setIsParticiperDropdownOpen(false); - }} - className="block text-primary-800 hover:text-primary-900 font-medium py-2 px-3 bg-white rounded-md hover:bg-primary-100 transition-colors" - > - → Inscription - -
- )} -
- )} + setIsMobileMenuOpen(false)} + > + Participer + {isAuthenticated && (