Replaced full navbar with simple focused navbar

This commit is contained in:
Your Name committed 2025-04-28 19:17:49 +08:00
1 parent 68798dcd05
commit e401594c28
1 file changed
+1 -33
+1 -33
View File
@@ -12,42 +12,10 @@
<div class="flex justify-between">
<div class="flex">
<a class="py-2 px-3 font-bold text-primary" href="/">
Behind the Desk
Submit
</a>
<div class="hidden md:flex">
<a class="py-2 px-3 text-primary hover:bg-opacity-5 hover:bg-primary font-semibold" href="#">top 🔥</a>
<a class="py-2 px-3 text-primary hover:bg-opacity-5 hover:bg-primary" href="#">new</a>
<a class="py-2 px-3 text-primary hover:bg-opacity-5 hover:bg-primary" href="#">nearby</a>
<a class="py-2 px-3 text-primary hover:bg-opacity-5 hover:bg-primary" href="#">past</a>
<a class="py-2 px-3 text-primary hover:bg-opacity-5 hover:bg-primary" href="#">ask</a>
<a class="py-2 px-3 text-primary hover:bg-opacity-5 hover:bg-primary" href="#">show</a>
<a class="py-2 px-3 text-primary hover:bg-opacity-5 hover:bg-primary" href="#">submit</a>
</div>
</div>
<div class="flex items-center">
<div class="py-2 px-3">
<a href="/login.html" class="text-primary hover:bg-opacity-5 hover:bg-primary">login</a>
</div>
</div>
<!-- Mobile menu button -->
<div class="md:hidden flex items-center">
<button id="menuButton" class="text-primary p-3" aria-label="menu" aria-expanded="false">
<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16M4 12h16M4 18h16"></path>
</svg>
</button>
</div>
</div>
<!-- Mobile Menu -->
<div id="mobileMenu" class="hidden md:hidden">
<a class="block py-2 px-3 text-primary hover:bg-opacity-5 hover:bg-primary font-semibold" href="#">top 🔥</a>
<a class="block py-2 px-3 text-primary hover:bg-opacity-5 hover:bg-primary" href="#">new</a>
<a class="block py-2 px-3 text-primary hover:bg-opacity-5 hover:bg-primary" href="#">nearby</a>
<a class="block py-2 px-3 text-primary hover:bg-opacity-5 hover:bg-primary" href="#">past</a>
<a class="block py-2 px-3 text-primary hover:bg-opacity-5 hover:bg-primary" href="#">ask</a>
<a class="block py-2 px-3 text-primary hover:bg-opacity-5 hover:bg-primary" href="#">show</a>
<a class="block py-2 px-3 text-primary hover:bg-opacity-5 hover:bg-primary" href="#">submit</a>
</div>
</div>
</nav>