diff --git a/client/src/component/Login.jsx b/client/src/component/Login.jsx index bef3359..50a5c59 100644 --- a/client/src/component/Login.jsx +++ b/client/src/component/Login.jsx @@ -55,107 +55,128 @@ const Login = ({ mode, showAlert }) => { return (
-
-
-

Login

- -
- } - type='email' - placeholder='Email' - name='email' - value={credentials.email} - onChange={onChange} - autoComplete='on' - required - className="h-10 text-xl" - style={{ - backgroundColor: mode === "dark" ? "black" : "white", - color: mode === "dark" ? "white" : "black", - }} - /> -
- -
- } - placeholder='Password' - name='password' - value={credentials.password} - onChange={onChange} - autoComplete="on" - className="h-10 text-xl" - style={{ - backgroundColor: mode === "dark" ? "black" : "white", - color: mode === "dark" ? "white" : "black", - }} - required - iconRender={(visible) => - visible ? : - } - /> -
- - - -

- Don't have an account? - - {" "} - Sign Up - -

- - -
- -
-

Login

+ +
+ } + type="email" + placeholder="Email" + name="email" + value={credentials.email} + onChange={onChange} + autoComplete="on" + required + className="h-10 text-xl" style={{ - color: mode === "dark" ? "black" : "white", + backgroundColor: mode === "dark" ? "black" : "white", + color: mode === "dark" ? "white" : "black", }} - > - WELCOME -
- BACK! - -

+

+ +
+ } + placeholder="Password" + name="password" + value={credentials.password} + onChange={onChange} + autoComplete="on" + + iconRender={(visible) => + visible ? : + } + + className="h-10 text-xl" + style={{ - color: mode === "dark" ? "black" : "white", + backgroundColor: mode === "dark" ? "black" : "white", + color: mode === "dark" ? "white" : "black", }} - > - Please Sign In here -
- with your real info -

+ required + iconRender={(visible) => + visible ? : + } + />
+ + + +

+ Don't have an account? + + + {" "} + Sign Up + +

+ + + + +
+

+ WELCOME +
+ BACK! +

+

+ Please Sign In here +
+ with your real info +

);