feat(fixing forms tunnel & wip dashboard)
This commit is contained in:
@@ -14,10 +14,10 @@ import AuthLayout from '@/layouts/auth-layout';
|
||||
export default function ForgotPassword({ status }: { status?: string }) {
|
||||
return (
|
||||
<AuthLayout
|
||||
title="Forgot password"
|
||||
description="Enter your email to receive a password reset link"
|
||||
title="Mot de passe oublié"
|
||||
description="Entrez votre adresse mail pour recevoir le lien de réinitialisation de mot de passe"
|
||||
>
|
||||
<Head title="Forgot password" />
|
||||
<Head title="Mot de passe oublié" />
|
||||
|
||||
{status && (
|
||||
<div className="mb-4 text-center text-sm font-medium text-green-600">
|
||||
@@ -30,14 +30,14 @@ export default function ForgotPassword({ status }: { status?: string }) {
|
||||
{({ processing, errors }) => (
|
||||
<>
|
||||
<div className="grid gap-2">
|
||||
<Label htmlFor="email">Email address</Label>
|
||||
<Label htmlFor="email">Adresse Mail</Label>
|
||||
<Input
|
||||
id="email"
|
||||
type="email"
|
||||
name="email"
|
||||
autoComplete="off"
|
||||
autoFocus
|
||||
placeholder="email@example.com"
|
||||
placeholder="email@exemple.com"
|
||||
/>
|
||||
|
||||
<InputError message={errors.email} />
|
||||
@@ -52,7 +52,7 @@ export default function ForgotPassword({ status }: { status?: string }) {
|
||||
{processing && (
|
||||
<LoaderCircle className="h-4 w-4 animate-spin" />
|
||||
)}
|
||||
Email password reset link
|
||||
Envoyer le mail de réinitialisation
|
||||
</Button>
|
||||
</div>
|
||||
</>
|
||||
@@ -60,8 +60,8 @@ export default function ForgotPassword({ status }: { status?: string }) {
|
||||
</Form>
|
||||
|
||||
<div className="space-x-1 text-center text-sm text-muted-foreground">
|
||||
<span>Or, return to</span>
|
||||
<TextLink href={login()}>log in</TextLink>
|
||||
<span>Ou, retourner à la page</span>
|
||||
<TextLink href={login()}>Se connecter</TextLink>
|
||||
</div>
|
||||
</div>
|
||||
</AuthLayout>
|
||||
|
||||
Reference in New Issue
Block a user