From 5f568c440ecb9dccd2050db7b57d805eb14f2aef Mon Sep 17 00:00:00 2001 From: Dustin Thurston Date: Fri, 19 Jun 2026 16:03:31 -0400 Subject: [PATCH] fix mobile nav --- src/components/nav.astro | 143 +++++++++++++++++++++------------------ 1 file changed, 76 insertions(+), 67 deletions(-) diff --git a/src/components/nav.astro b/src/components/nav.astro index 8cfcca7..8e1abaf 100644 --- a/src/components/nav.astro +++ b/src/components/nav.astro @@ -4,9 +4,9 @@ import { Birdhouse, Menu, TentTree, Trees } from "@lucide/astro"; const pathname = Astro.url.pathname; const links = [ - { name: "Home", href: "/", icon: Birdhouse }, - { name: "Work", href: "/work", icon: TentTree }, - { name: "Blog", href: "/blog", icon: Trees }, + { name: "Home", href: "/", icon: Birdhouse }, + { name: "Work", href: "/work", icon: TentTree }, + { name: "Blog", href: "/blog", icon: Trees } ]; const initialState = "closed"; @@ -15,75 +15,84 @@ const { className, isMobile = false } = Astro.props; --- -
- { - isMobile ? ( -
- -
- -
-
- ) : ( -
- -
- ) - } + +
+ + ) : ( +
+ +
+ ) + } -- 2.51.2