Skip to content

Commit

Permalink
Navbar to left 2
Browse files Browse the repository at this point in the history
  • Loading branch information
Priyansh2116 committed Sep 16, 2024
1 parent 99348ab commit c778b82
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ const Home = () => {
}
}
`}</style>
{/* Navbar */}
{/* Navbar */}
<nav className="bg-black bg-opacity-60 text-white fixed w-full z-20 transition-transform duration-300">
<div className="container mx-auto px-4 py-2 flex items-center">

Expand All @@ -75,8 +75,8 @@ const Home = () => {
</a>
</Link>

{/* Desktop Menu - Move to the right */}
<div className="hidden lg:flex flex-1 justify-end ml-auto space-x-4">
{/* Desktop Menu - Move to the complete right */}
<div className="hidden lg:flex ml-auto space-x-4">
<Link href="#home" scroll={true} legacyBehavior>
<a className="hover:text-gray-300 transition duration-200">HOME</a>
</Link>
Expand Down

0 comments on commit c778b82

Please sign in to comment.