From 08ef306495fd1641a2a3f45b754ea12bff5d11b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o?= <43091603+glazk0@users.noreply.github.com> Date: Wed, 5 Jul 2023 19:04:40 +0200 Subject: [PATCH] fix: fixed auth form --- app/(auth)/sign-up/page.tsx | 1 + components/ui/Input.tsx | 2 +- components/ui/UserAuthForm.tsx | 14 ++++++++++++-- 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/app/(auth)/sign-up/page.tsx b/app/(auth)/sign-up/page.tsx index 4fe95fd..dc31442 100644 --- a/app/(auth)/sign-up/page.tsx +++ b/app/(auth)/sign-up/page.tsx @@ -1,4 +1,5 @@ import UserAuthForm from '@/components/ui/UserAuthForm'; +import Link from 'next/link'; export default function Page() { return ( diff --git a/components/ui/Input.tsx b/components/ui/Input.tsx index 9090c86..ad2a0fe 100644 --- a/components/ui/Input.tsx +++ b/components/ui/Input.tsx @@ -10,7 +10,7 @@ const Input = React.forwardRef( -
+ {!isSignIn && ( <> } {isSignIn ? 'Se connecter' : "S'inscrire"} +

+ {isSignIn ? "Vous n'avez pas de compte?" : 'Vous possédez un compte?'}{' '} + + {isSignIn ? "S'inscrire maintenant" : 'Se connecter'} + +

);