Skip to content

Commit

Permalink
push navbar to front
Browse files Browse the repository at this point in the history
  • Loading branch information
shreyansh1410 committed Oct 13, 2024
1 parent dc6b03a commit 55d4244
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 @@ -14,7 +14,7 @@ const Navbar = () => {
if(currentUser) fetch(); // TO PREVENT UNNECESSARY API REQUESTS
// const user = true;
return (
<nav>
<nav className="z-20">
<div className="left">
<a href="/" className="logo">
<img src="/logo.png"></img>
Expand All @@ -38,10 +38,10 @@ const Navbar = () => {
</div>
) : (
<>
<a href="/login" className="">
<a href="/login" className="z-20">
Sign In
</a>
<a href="/register" className="signup">
<a href="/register" className="signup z-20">
Sign Up
</a>
</>
Expand Down

0 comments on commit 55d4244

Please sign in to comment.