diff --git a/Frontend/.gitignore b/Frontend/.gitignore index 54f07af..35964a6 100644 --- a/Frontend/.gitignore +++ b/Frontend/.gitignore @@ -7,6 +7,7 @@ yarn-error.log* pnpm-debug.log* lerna-debug.log* +package-lock.json node_modules dist dist-ssr diff --git a/Frontend/src/pages/UserPanel/MainUserPanel.jsx b/Frontend/src/pages/UserPanel/MainUserPanel.jsx index 4a4e254..6db9ece 100644 --- a/Frontend/src/pages/UserPanel/MainUserPanel.jsx +++ b/Frontend/src/pages/UserPanel/MainUserPanel.jsx @@ -27,7 +27,7 @@ const MainUserPanel = () => { //console.log("User Logged out data is : ", data); - if (data.success == true) { + if (data.success === true) { navigate("/user/login"); } }; @@ -35,8 +35,8 @@ const MainUserPanel = () => { const user = useSelector((store) => store.user); return ( <> -
-
+
+
Profile Picture { Hello, {user.name}
-
-
+ {/* Updated Sidebar */} +
+
Profile Picture - Hello, {user.name} + + Hello, {user.name} +
-
    -
  • - - - +
      +
    • + + + Dashboard
    • -
    • +
    • - - + + Scheduled Meeting
    • -
    • +
    • - - + + History
    • -
    • +
    • - - + + Notifications
    • -
    • +
    • - - + + Feedback and Ratings
    • -
    • +
    • - - + + Support
    • -
    • +
    • - - + + Settings @@ -147,7 +153,7 @@ const MainUserPanel = () => { Open user menu - {/* */} + {/* Dropdown menu */}
      { Bonnie Green - + name@flowbite.com
      @@ -228,13 +234,12 @@ const MainUserPanel = () => { className="rounded-full w-24 h-24 mx-auto" />

      {user.name}

      - {/* @thomasdox */}

      Join on {user.createdAt && user.createdAt.substring(0, 10)}

      {user.description == null && - "I am a Senior Software Engineer at Google and also mentored 50+ students to get there dream job."} + "I am a Senior Software Engineer at Google and also mentored 50+ students to get their dream job."}