From 95bc2105dc31f8aff9f3833cf4050e570a9f9330 Mon Sep 17 00:00:00 2001 From: rxyhn Date: Mon, 9 Sep 2024 04:40:08 +0700 Subject: [PATCH] fix: navbar styling --- src/components/Header.astro | 13 ++++------- src/components/MobileMenu.tsx | 2 +- src/scripts/main.ts | 44 +++++++++++++++++++++++++++++++---- 3 files changed, 45 insertions(+), 14 deletions(-) diff --git a/src/components/Header.astro b/src/components/Header.astro index 3abf923..5a85f55 100644 --- a/src/components/Header.astro +++ b/src/components/Header.astro @@ -3,12 +3,11 @@ import path from "./path.json"; import { basics } from "@cv"; import MobileMenu from "./MobileMenu"; const { nickname } = basics; -const currentPath = Astro.url.pathname; --- -