From 4a634d8a690b378b4e3fe436eaa0234cdf5c1bf2 Mon Sep 17 00:00:00 2001 From: Hemant2335 Date: Mon, 27 Nov 2023 17:49:19 +0530 Subject: [PATCH] Second_final_changes --- frontend/src/Login/ForgotPass.tsx | 2 +- frontend/src/Login/Login.tsx | 23 +++++++++++++---------- frontend/src/Login/ResetCode.tsx | 2 +- frontend/src/Login/Signup.tsx | 24 +++++++++++++----------- 4 files changed, 28 insertions(+), 23 deletions(-) diff --git a/frontend/src/Login/ForgotPass.tsx b/frontend/src/Login/ForgotPass.tsx index fe0cb3dc..486a5501 100644 --- a/frontend/src/Login/ForgotPass.tsx +++ b/frontend/src/Login/ForgotPass.tsx @@ -51,7 +51,7 @@ export default function ForgotPass() {

- Don't have an account ? + Don't have an account?

navigate('/register')} diff --git a/frontend/src/Login/Login.tsx b/frontend/src/Login/Login.tsx index 4bc4d310..e885e5c8 100644 --- a/frontend/src/Login/Login.tsx +++ b/frontend/src/Login/Login.tsx @@ -61,13 +61,15 @@ export default function Login() { return (
-
-
navigate('/')}> +
+
navigate('/')}> Logo
-

Log in to

-

+

+ Log in to +

+

DocsGPT

@@ -82,9 +84,10 @@ export default function Login() { onChange={(e) => { setemail(e.target.value); }} - className="w-full rounded-lg border-none bg-[#2B2B2B] p-4 text-sm font-medium text-white focus:outline-none md:min-w-[25vw]" + className="w-[90vw] cursor-pointer rounded-lg border-red-400 bg-[#2B2B2B] p-4 text-sm font-medium text-white hover:bg-[#383838] focus:border-2 focus:border-[#715c9d] focus:outline-none md:w-full md:min-w-[25vw]" // onChange={onchange} /> +
{ setpassword(e.target.value); }} - className="w-full rounded-lg border-none bg-[#2B2B2B] p-4 text-sm font-medium text-white focus:outline-none md:min-w-[25vw]" + className="w-[90vw] cursor-pointer rounded-lg border-red-400 bg-[#2B2B2B] p-4 text-sm font-medium text-white hover:bg-[#383838] focus:border-2 focus:border-[#715c9d] focus:outline-none md:w-full md:min-w-[25vw]" // onChange={onchange} />

navigate('/Forgot')} > Forgot your password?

- {showalert.length > 0 && ( @@ -109,9 +112,9 @@ export default function Login() { )}

- Don't have an account ? + Don't have an account?

navigate('/register')} > Sign up diff --git a/frontend/src/Login/ResetCode.tsx b/frontend/src/Login/ResetCode.tsx index 6b15b829..f69f5a8e 100644 --- a/frontend/src/Login/ResetCode.tsx +++ b/frontend/src/Login/ResetCode.tsx @@ -48,7 +48,7 @@ export default function ResetCode() {

- Don't have an account ? + Don't have an account?

navigate('/register')} diff --git a/frontend/src/Login/Signup.tsx b/frontend/src/Login/Signup.tsx index afec6708..4d249fec 100644 --- a/frontend/src/Login/Signup.tsx +++ b/frontend/src/Login/Signup.tsx @@ -31,20 +31,22 @@ export default function Signup() { return (
-
+
navigate('/')}> Logo
-

Create

-

+

Create

+

DocsGPT

-

Account

+

+ Account +

{ setemail(e.target.value); }} - className="w-full rounded-lg border-none bg-[#2B2B2B] p-4 text-sm font-medium text-white focus:outline-none md:min-w-[25vw]" + className="w-[90vw] cursor-pointer rounded-lg border-red-400 bg-[#2B2B2B] p-4 text-sm font-medium text-white hover:bg-[#383838] focus:border-2 focus:border-[#715c9d] focus:outline-none md:w-full md:min-w-[25vw]" /> { setpassword(e.target.value); }} - className="w-full rounded-lg border-none bg-[#2B2B2B] p-4 text-sm font-medium text-white focus:outline-none md:min-w-[25vw]" + className="w-[90vw] cursor-pointer rounded-lg border-red-400 bg-[#2B2B2B] p-4 text-sm font-medium text-white hover:bg-[#383838] focus:border-2 focus:border-[#715c9d] focus:outline-none md:w-full md:min-w-[25vw]" /> - {showalert.length > 0 && ( @@ -72,12 +74,12 @@ export default function Signup() { )}

- Already have an account ? + Already have an account?

navigate('/login')} > - log in + Log in