From 5cea38fb6839a9cb16154790353585418c0236ff Mon Sep 17 00:00:00 2001 From: Ayush Date: Wed, 23 Oct 2024 20:16:34 +0530 Subject: [PATCH] login button working --- client/src/component/Login.jsx | 50 +++++++++++++++++++--------------- 1 file changed, 28 insertions(+), 22 deletions(-) diff --git a/client/src/component/Login.jsx b/client/src/component/Login.jsx index 53400ac..95e8bf5 100644 --- a/client/src/component/Login.jsx +++ b/client/src/component/Login.jsx @@ -55,7 +55,7 @@ const Login = ({ mode, showAlert }) => { return (
{ >
-

Login

- -
+

Login

+ +
} - type='email' - placeholder='Email' - name='email' + type="email" + placeholder="Email" + name="email" value={credentials.email} onChange={onChange} - autoComplete='on' + autoComplete="on" required style={{ backgroundColor: mode === "dark" ? "black" : "white", @@ -88,14 +88,14 @@ const Login = ({ mode, showAlert }) => { />
-
+
} - placeholder='Password' - name='password' + placeholder="Password" + name="password" value={credentials.password} onChange={onChange} - autoComplete='on' + autoComplete="on" iconRender={(visible) => visible ? : } @@ -107,19 +107,25 @@ const Login = ({ mode, showAlert }) => { />
- +

Don't have an account? - + {" "} Sign Up @@ -128,15 +134,15 @@ const Login = ({ mode, showAlert }) => {

-
+

{ BACK!