This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
---
|
||||
import Logo from './Logo.astro';
|
||||
import getPath from '../utils/paths';
|
||||
|
||||
const pathname = new URL(Astro.request.url).pathname;
|
||||
const currentPath = pathname.slice(1);
|
||||
@@ -7,7 +8,7 @@ const currentPath = pathname.slice(1);
|
||||
|
||||
<header class="main-header">
|
||||
<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" />
|
||||
</a>
|
||||
<!--
|
||||
|
||||
Reference in New Issue
Block a user