Skip to content

Commit

Permalink
Merge pull request #33 from PranavMurali-Coder/main
Browse files Browse the repository at this point in the history
onclick added
  • Loading branch information
pratyush3124 authored Mar 15, 2024
2 parents 3d20bc3 + 0b61309 commit 0bdfa39
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions components/Navbar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@ const Navbar = () => {
<div className="hidden gap-3 sm:gap-10 items-center font-medium md:flex">
<Link href="/">Home</Link>
<Link href={dashboardLink}>Dashboard</Link>
<button className="bg-red-500 text-white px-4 py-2 rounded-md">Back</button>
<button className="bg-red-500 text-white px-4 py-2 rounded-md"
onClick={() => window.history.back()}>Back</button>
<SignInBtn />
{/* <LoginButton /> */}
</div>
Expand All @@ -115,7 +116,8 @@ const Navbar = () => {
<Link href="/memberDashboard">Dashboard</Link>
</li>
<li>
<button className="bg-red-500 text-white px-4 py-2 rounded-md">Back</button>
<button className="bg-red-500 text-white px-4 py-2 rounded-md"
onClick={() => window.history.back()}>Back</button>
<SignInBtn />
{/* <LoginButton /> */}
</li>
Expand Down

0 comments on commit 0bdfa39

Please sign in to comment.