Skip to content

Commit

Permalink
sign up navLink fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Arnab7456 committed Sep 18, 2024
1 parent ca05d97 commit f1c0a83
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const Layout = () => {
return (
<>
<Home />
<Outlet /> {/* This renders the specific route component */}
<Outlet />
</>
);
}
Expand Down
8 changes: 7 additions & 1 deletion src/components/Navbar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,13 @@ const Navbar = () => {
to="/login"
className="bg-blue-500 text-white py-2 px-4 rounded-full hover:bg-blue-600 transition duration-300 ease-in-out"
>
Login/Sign Up
Login
</Link>
<Link
to="/signup"
className="bg-blue-500 text-white py-2 px-4 rounded-full hover:bg-blue-600 transition duration-300 ease-in-out"
>
Sign Up
</Link>

{/* Profile with Icon */}
Expand Down

0 comments on commit f1c0a83

Please sign in to comment.