diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 28b693a..be77db8 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -1,3 +1,7 @@ +allowBuilds: + '@parcel/watcher': true + esbuild: true + sharp: true onlyBuiltDependencies: - '@parcel/watcher' - '@tailwindcss/oxide' diff --git a/src/components/BgParticles.astro b/src/components/BgParticles.astro index a973a68..1645787 100644 --- a/src/components/BgParticles.astro +++ b/src/components/BgParticles.astro @@ -18,4 +18,4 @@ background: radial-gradient(circle, #020617 2%, transparent 20%); } } - \ No newline at end of file + diff --git a/src/components/Navbar.astro b/src/components/Navbar.astro index 352cd64..ebbe255 100644 --- a/src/components/Navbar.astro +++ b/src/components/Navbar.astro @@ -1,41 +1,55 @@ --- interface MenuItem { + slug: string label: string to: string } -const menuItems: MenuItem[] = [ - { - label: "Home", - to: "" - }, - { - label: "Projects", - to: "projects" - } +const links: MenuItem[] = [ + // { + // label: "Projects", + // slug: "projects", + // to: "/projects" + // } ] -const activeSegment = Astro.url.pathname.split("/")[1] +const onHome = Astro.url.pathname === "/" ---
-