diff --git a/client/src/App.jsx b/client/src/App.jsx index 84e194e..1dbbd6a 100644 --- a/client/src/App.jsx +++ b/client/src/App.jsx @@ -133,7 +133,8 @@ function App() { } /> } /> } /> - } /> + {/* } /> */} + } /> } /> } /> @@ -147,6 +148,7 @@ function App() { } /> } /> } /> + } /> } /> } /> diff --git a/client/src/component/Signup.jsx b/client/src/component/Signup.jsx index 96a8879..06b1a0e 100644 --- a/client/src/component/Signup.jsx +++ b/client/src/component/Signup.jsx @@ -15,6 +15,8 @@ const Signup = ({ mode }) => { const { userLoggedIn } = useAuth(); const navigate = useNavigate(); + console.log(mode); + const [name, setName] = useState(""); const [email, setEmail] = useState(""); const [password, setPassword] = useState(""); @@ -124,13 +126,13 @@ const Signup = ({ mode }) => {

{
-
+
-

Password must contain:

+

Password must contain:

    -
  • At least 8 characters
  • -
  • At least one uppercase letter
  • -
  • At least one lowercase letter
  • -
  • At least one number
  • -
  • At least one special character
  • +
  • At least 8 characters
  • +
  • At least one uppercase letter
  • +
  • At least one lowercase letter
  • +
  • At least one number
  • +
  • At least one special character
@@ -248,7 +250,7 @@ const Signup = ({ mode }) => { htmlFor="cpassword" className="text-md font-medium" style={{ - color: mode === "dark" ? "white" : "black", + color: mode === "dark" ? "#fff" : "black", }} > Confirm Password @@ -263,8 +265,8 @@ const Signup = ({ mode }) => { autoComplete="on" required style={{ - backgroundColor: mode === "dark" ? "#333" : "white", - color: mode === "dark" ? "white" : "black", + backgroundColor: mode === "dark" ? "#333" : "#fff", + color: mode === "dark" ? "#fff" : "black", }} iconRender={(visible) => visible ? : @@ -301,7 +303,7 @@ const Signup = ({ mode }) => { - +