Skip to content

Commit

Permalink
final completion of service page
Browse files Browse the repository at this point in the history
  • Loading branch information
yours7himanshu committed Jan 14, 2025
1 parent 0897623 commit b630f3b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions client/src/components/Navbar/Navbar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ import { useAuth } from "../../context/AuthContext";
// import dropdown from "../../assets/dropdown.png";

const Navbar = () => {
const { isAuthenticated, logout } = useAuth();
// const { isAuthenticated, logout } = useAuth();
const navigate = useNavigate();

return (
<nav className="bg-gray-950 fixed top-0 left-0 w-full z-50 h-[11%] text-white max-md:shadow-sm shadow-lg p-3">
<div className="container mx-auto max-md:m-2 flex justify-between items-center">
{/* Logo */}
<div className="text-3xl ml-3 max-md:text-3xl flex items-center gap-2 font-extrabold">
<div className="text-3xl ml-3 max-md:ml-0 max-md:text-3xl flex items-center gap-2 font-extrabold">
<img className="rounded-full h-11" src="/logo/EduMatrix2.png" alt="" />
<Link className="text-gray-300" to="/">EduMatrix</Link>
</div>
Expand Down Expand Up @@ -89,7 +89,7 @@ const Navbar = () => {
) : ( */}
<button
onClick={()=> navigate("/MainLogin")}
className="bg-zinc-200 mr-3 font-medium text-black px-5 py-3 rounded-md max-md:px-2 max-md:text-sm "
className="bg-zinc-200 mr-3 max-md:mr-0 font-medium text-black px-5 py-3 rounded-md max-md:px-2 max-md:text-sm "
>
Create Account
</button>
Expand Down

0 comments on commit b630f3b

Please sign in to comment.