diff --git a/client/src/components/Navbar.jsx b/client/src/components/Navbar.jsx index 7125674..6f3525b 100644 --- a/client/src/components/Navbar.jsx +++ b/client/src/components/Navbar.jsx @@ -266,7 +266,7 @@ export default function Navbar() { "about" )}`} > - About + Help {/* Request Service */} - diff --git a/client/src/pages/Landing.jsx b/client/src/pages/Landing.jsx index dfdef35..d23eec3 100644 --- a/client/src/pages/Landing.jsx +++ b/client/src/pages/Landing.jsx @@ -18,7 +18,7 @@ export default function Landing() { {/* About Us Section */}
@@ -26,19 +26,19 @@ export default function Landing() { {/* Help Section */}
diff --git a/client/src/pages/dashboard/Profile.jsx b/client/src/pages/dashboard/Profile.jsx index 1293234..593f27f 100644 --- a/client/src/pages/dashboard/Profile.jsx +++ b/client/src/pages/dashboard/Profile.jsx @@ -76,7 +76,11 @@ export default function Profile() { Manage your profile and account settings -
+
- {["fullName", "username", "email", "password"].map((field) => ( -
- - -
- ))} + {["fullName", "username", "email"] + .concat(isPersonnel ? ["password"] : []) + .map((field) => ( +
+ + +
+ ))} {/* ✅ SAVE BUTTON ALWAYS VISIBLE */} {isPersonnel && ( @@ -166,11 +172,11 @@ export default function Profile() { )} - {/* Error Message */} - {errors.password && ( -

- {errors.password} -

- )} + {/* Show error message below password only */}
{/* Forgot Password */} -
+
+ {(errors.password || isAccountNotFound) && ( +

+ {isAccountNotFound + ? "Account not found" + : errors.password || ""} +

+ )} +