Skip to content

Commit

Permalink
[fix] Translate login page to Spanish
Browse files Browse the repository at this point in the history
  • Loading branch information
TetraTsunami committed Dec 3, 2024
1 parent d9f4b6f commit 78e16f5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/pages/Login.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,18 @@ const Login: React.FC<LoginProps> = ({ auth }) => {
setIsLoading(false)

//@ts-ignore
setError('Failed to sign in, make sure your username and password are correct.')
setError('Error al iniciar sesión, asegúrese de que su nombre de usuario y contraseña sean correctos.')
}
}

return (
<div className="flex h-full w-full items-center justify-center">
<div className="rounded-lg border border-gray-500 p-10 text-center">
<img src="banner.png" alt="Red CORAL logo" className="mb-10 w-80" />
<h2 className="mb-10 text-3xl font-bold">Admin Login</h2>
<img src="banner.png" alt="logo de Red CORAL" className="mb-10 w-80" />
<h2 className="mb-10 text-3xl font-bold">Inicio de sesión de administrador</h2>
<form onSubmit={handleSignin} className="w-full text-left">
<label htmlFor="password" className="mb-1 block text-sm">
Password
Contraseña
</label>
<div className="mb-2 flex justify-between gap-2">
<input
Expand All @@ -49,7 +49,7 @@ const Login: React.FC<LoginProps> = ({ auth }) => {
id="password"
/>
<button type="submit" className="rounded-md border-0 bg-harvard-putty px-2 py-1 hover:bg-harvard-slate">
Sign In
Iniciar sesión
</button>
</div>
</form>
Expand Down

0 comments on commit 78e16f5

Please sign in to comment.