Centered nav
This commit is contained in:
@@ -32,7 +32,7 @@ export function Navbar() {
|
|||||||
</Link>
|
</Link>
|
||||||
|
|
||||||
{/* Desktop Nav */}
|
{/* Desktop Nav */}
|
||||||
<ul className="hidden md:flex items-center gap-8">
|
<ul className="hidden md:flex items-center gap-8 absolute left-1/2 -translate-x-1/2">
|
||||||
{navLinks.map((link) => {
|
{navLinks.map((link) => {
|
||||||
const isActive = pathname === link.href;
|
const isActive = pathname === link.href;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user