diff --git a/src/components/Navbar/signup/FormInput.js b/src/components/Navbar/signup/FormInput.js index ff7ec946..bd19e140 100644 --- a/src/components/Navbar/signup/FormInput.js +++ b/src/components/Navbar/signup/FormInput.js @@ -12,7 +12,7 @@ function FormInput({ name, label,inputType, validation }) { const password = watch("password"); return ( -
+
diff --git a/src/components/Navbar/signup/SignUpForm.js b/src/components/Navbar/signup/SignUpForm.js index 589cbf5d..02c646e1 100644 --- a/src/components/Navbar/signup/SignUpForm.js +++ b/src/components/Navbar/signup/SignUpForm.js @@ -1,3 +1,4 @@ + import React from 'react'; import { useForm, FormProvider } from 'react-hook-form'; import { useNavigate } from 'react-router-dom'; @@ -14,7 +15,7 @@ function SignUpForm() { }; return ( -
+
value === methods.watch("password") || "Passwords do not match", }} /> -
- +
+
@@ -62,4 +63,3 @@ function SignUpForm() { export default SignUpForm; - diff --git a/src/components/Navbar/signup/index.js b/src/components/Navbar/signup/index.js index e13b9a3a..133d7112 100644 --- a/src/components/Navbar/signup/index.js +++ b/src/components/Navbar/signup/index.js @@ -4,15 +4,15 @@ import './style.css' function SignUp() { + + return (
-

Welcome To Jira App

- -

Sign Up

+ +

Welcome To Jira App

+

Sign Up

- -
diff --git a/src/pages/loginpage/index.js b/src/pages/loginpage/index.js index 25a042f8..9d23bf4b 100644 --- a/src/pages/loginpage/index.js +++ b/src/pages/loginpage/index.js @@ -33,12 +33,12 @@ const LoginPage = () => { }; return ( -
+

{language === 'en' ? 'Login to Jira' : 'Connexion à Jira'}

-