Skip to content

Commit b5194f5

Browse files
committed
feat(navbar): remove transparent nav
1 parent 3ec54ee commit b5194f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/layouts/Main.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ const navLinks = [
1212
---
1313

1414
<Layout>
15-
<nav id="default-nav" class="flex flex-row justify-between backdrop-blur-xl bg-background-secondary/80 border border-accent/20 w-[98vw] h-20 px-6 rounded-2xl mx-4 mt-4 fixed top-0 z-[99999] shadow-2xl drop-shadow-xl" style="box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.05);">
15+
<nav id="default-nav" class="flex flex-row justify-between bg-background-secondary border border-accent/20 w-[98vw] h-20 px-6 rounded-2xl mx-4 mt-4 fixed top-0 z-[99999] shadow-2xl drop-shadow-xl" style="box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.05);">
1616
<a href="/" class="uppercase flex items-center text-text hover:scale-105 duration-200 text-6xl font-black transition-all hover:text-accent">in</a>
1717
<button id="hamburger" class="text-3xl text-text focus:outline-none hover:text-accent rounded-lg p-2 hover:bg-accent/10">
1818
<Menu class="size-8" />
1919
</button>
20-
<ul id="nav" class="mt-2 w-52 flex flex-col absolute top-20 right-0 bg-background-secondary backdrop-blur-xl border border-accent/30 rounded-2xl p-2 transition-all duration-300 shadow-2xl" style="box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.1);">
20+
<ul id="nav" class="mt-2 w-52 flex flex-col absolute top-20 right-0 bg-background-secondary border border-accent/30 rounded-2xl p-2 transition-all duration-300 shadow-2xl" style="box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.1);">
2121
{
2222
navLinks.map((link) => (
2323
<li>

0 commit comments

Comments
 (0)