commit
tests / ci (push) Canceled after 0s

This commit is contained in:
2026-10-28 12:06:05 +02:00
parent 90a6848721
commit 4d42f083ce
82 changed files with 7538 additions and 76 deletions
+13 -11
View File
@@ -19,7 +19,7 @@ type Props = {
export default function Login({ status, canResetPassword }: Props) {
return (
<>
<Head title="Log in" />
<Head title="Entrar" />
<Form
{...store.form()}
@@ -30,7 +30,7 @@ export default function Login({ status, canResetPassword }: Props) {
<>
<div className="grid gap-6">
<div className="grid gap-2">
<Label htmlFor="email">Email address</Label>
<Label htmlFor="email">Endereço de email</Label>
<Input
id="email"
type="email"
@@ -46,14 +46,16 @@ export default function Login({ status, canResetPassword }: Props) {
<div className="grid gap-2">
<div className="flex items-center">
<Label htmlFor="password">Password</Label>
<Label htmlFor="password">
Palavra-passe
</Label>
{canResetPassword && (
<TextLink
href={request()}
className="ml-auto text-sm"
tabIndex={5}
>
Forgot your password?
Esqueceu a palavra-passe?
</TextLink>
)}
</div>
@@ -63,7 +65,7 @@ export default function Login({ status, canResetPassword }: Props) {
required
tabIndex={2}
autoComplete="current-password"
placeholder="Password"
placeholder="Palavra-passe"
/>
<InputError message={errors.password} />
</div>
@@ -74,7 +76,7 @@ export default function Login({ status, canResetPassword }: Props) {
name="remember"
tabIndex={3}
/>
<Label htmlFor="remember">Remember me</Label>
<Label htmlFor="remember">Manter sessão</Label>
</div>
<Button
@@ -85,14 +87,14 @@ export default function Login({ status, canResetPassword }: Props) {
data-test="login-button"
>
{processing && <Spinner />}
Log in
Entrar
</Button>
</div>
<div className="text-center text-sm text-muted-foreground">
Don't have an account?{' '}
Ainda não tem conta?{' '}
<TextLink href={register()} tabIndex={5}>
Sign up
Criar conta
</TextLink>
</div>
</>
@@ -109,6 +111,6 @@ export default function Login({ status, canResetPassword }: Props) {
}
Login.layout = {
title: 'Log in to your account',
description: 'Enter your email and password below to log in',
title: 'Entrar no ProcuraFlow',
description: 'Introduza o seu email e a palavra-passe',
};