Fixed header link
Some checks failed
Build and Deploy / build-and-deploy (push) Failing after 8s

This commit is contained in:
2026-03-31 14:07:21 +02:00
parent 23b6490532
commit b08ce97042

View File

@@ -1,5 +1,6 @@
--- ---
import Logo from './Logo.astro'; import Logo from './Logo.astro';
import getPath from '../utils/paths';
const pathname = new URL(Astro.request.url).pathname; const pathname = new URL(Astro.request.url).pathname;
const currentPath = pathname.slice(1); const currentPath = pathname.slice(1);
@@ -7,7 +8,7 @@ const currentPath = pathname.slice(1);
<header class="main-header"> <header class="main-header">
<div class="header-container"> <div class="header-container">
<a href="/" class="group flex items-center gap-2"> <a href={getPath("/")} class="group flex items-center gap-2">
<Logo class="h-6 w-auto transition-colors" /> <Logo class="h-6 w-auto transition-colors" />
</a> </a>
<!-- <!--