résumé de la demande

This commit is contained in:
2025-08-08 14:37:37 +02:00
parent b066dcd136
commit 011620fb39
5 changed files with 227 additions and 493 deletions

View File

@@ -89,14 +89,11 @@ const Login = () => {
<button
type="button"
onClick={() => setShowPassword(!showPassword)}
className="absolute right-3 top-1/2 transform -translate-y-1/2 text-gray-400 hover:text-gray-600"
aria-label={showPassword ? "Masquer le mot de passe" : "Afficher le mot de passe"}
className="absolute right-3 top-1/2 -translate-y-1/2 text-gray-500 hover:text-gray-900"
title={showPassword ? "Masquer le mot de passe" : "Afficher le mot de passe"}
>
{showPassword ? (
<EyeOff className="w-5 h-5" />
) : (
<Eye className="w-5 h-5" />
)}
{/* L'icône est choisie en fonction de l'état de showPassword */}
</button>
</div>
</div>