2023-07-19 21:31:30 +02:00
|
|
|
---
|
2025-05-29 19:29:38 +02:00
|
|
|
const { pathname } = Astro.url;
|
2023-07-19 21:31:30 +02:00
|
|
|
---
|
2025-05-29 19:29:38 +02:00
|
|
|
<header class="flex flex-col gap-6 py-5">
|
|
|
|
<div class="flex items-end gap-4">
|
|
|
|
<img class="profile" />
|
|
|
|
<h1 class="text-3xl font-extrabold">Sids' blog</h1>
|
2024-02-21 22:19:08 +01:00
|
|
|
</div>
|
2025-05-29 19:29:38 +02:00
|
|
|
<nav class="flex flex-wrap gap-2">
|
|
|
|
<a class={`headerlink ${pathname === '/' ? 'headerlink-active' : ''}`} href="/">home</a>
|
|
|
|
<a class={`headerlink ${pathname === '/blog' ? 'headerlink-active' : ''}`} href="/blog">blog</a>
|
|
|
|
<a class={`headerlink ${pathname === '/logs' ? 'headerlink-active' : ''}`} href="/logs">logs</a>
|
|
|
|
<a class={`headerlink ${pathname === '/gallery' ? 'headerlink-active' : ''}`} href="/gallery">gallery</a>
|
|
|
|
<a class={`headerlink ${pathname === '/guestbook' ? 'headerlink-active' : ''}`} href="/guestbook">guestbook</a>
|
|
|
|
<a class={`headerlink ${pathname === '/slashes' ? 'headerlink-active' : ''}`} href="/slashes">more</a>
|
|
|
|
</nav>
|
2024-02-21 22:19:08 +01:00
|
|
|
</header>
|
|
|
|
|
2025-05-29 19:29:38 +02:00
|
|
|
<style>
|
|
|
|
.profile {
|
|
|
|
width: 6vh;
|
|
|
|
height: 6vh;
|
|
|
|
background: url("/mii.webp");
|
|
|
|
background-size: cover;
|
|
|
|
border-radius: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.profile:hover {
|
|
|
|
background-image: url("/rick-roll-rick-ashley.gif");
|
|
|
|
}
|
|
|
|
</style>
|