diff --git a/client/src/components/auth/expert/ExpertSignup.jsx b/client/src/components/auth/expert/ExpertSignup.jsx index 929e8d2..5f1b508 100644 --- a/client/src/components/auth/expert/ExpertSignup.jsx +++ b/client/src/components/auth/expert/ExpertSignup.jsx @@ -3,7 +3,7 @@ import { Link, useNavigate } from "react-router-dom"; import axios from "axios"; import { motion } from "framer-motion"; import { useTheme } from "../../providers/ThemeProvider"; - +import image1 from "../../../assets/img1.png"; const ExpertSignup = () => { const { isDarkMode } = useTheme(); const navigate = useNavigate(); @@ -115,7 +115,7 @@ const ExpertSignup = () => { @@ -237,6 +237,7 @@ const ExpertSignup = () => {
+

Already a registered expert?

{ type="submit" className="mt-4 bg-teal-500 text-white font-bold text-md py-3 px-8 rounded-full transition-all hover:bg-teal-600" whileHover={{ scale: 1.05 }} - whileTap={{ scale: 0.95 }} + whileTap={{ scale: 0.95 }} > Sign up diff --git a/client/src/components/providers/ThemeProvider.jsx b/client/src/components/providers/ThemeProvider.jsx index 3b40af7..f81502d 100644 --- a/client/src/components/providers/ThemeProvider.jsx +++ b/client/src/components/providers/ThemeProvider.jsx @@ -10,7 +10,7 @@ const ThemeContext = createContext(); export const ThemeProvider = ({ children }) => { - const [isDarkMode, setIsDarkMode] = useState(false); + const [isDarkMode, setIsDarkMode] = useState(true); const toggleTheme = () => { setIsDarkMode(prevMode => !prevMode);