saiblog/src/components/Header.astro

49 lines
1.4 KiB
Text
Raw Normal View History

2022-10-23 12:08:29 +02:00
---
import HeaderLink from './HeaderLink.astro'
import GitHub from './icons/GitHub.astro'
import GitLab from './icons/GitLab.astro'
import Mastodon from './icons/Mastodon.astro'
import { SITE_TITLE } from '../config'
2022-10-23 12:08:29 +02:00
---
<header class="mt-8">
2023-09-21 00:38:16 +02:00
2023-10-06 00:52:37 +02:00
<nav class="gap-4 lg:gap-2 flex lg:flex-row flex-col items-center">
2023-09-21 00:38:16 +02:00
<h2 class="text-3xl text-white font-semibold mr-4">
{SITE_TITLE}
</h2>
2023-10-06 00:52:37 +02:00
<div>
<HeaderLink href="/">Home</HeaderLink>
<HeaderLink href="/posts">Posts</HeaderLink>
</div>
2022-10-23 12:08:29 +02:00
2023-10-06 00:52:37 +02:00
<div class="lg:ml-auto space-x-4 mt-2 lg:mt-0">
2022-10-23 12:08:29 +02:00
<a
2023-09-21 00:38:16 +02:00
class="inline-block hover:scale-105 transition duration-150 active:scale-95 active:text-pink-300"
2022-10-23 12:08:29 +02:00
href="https://flausch.social/@saibotk"
target="_blank"
aria-label="Link to my Mastodon account"
>
<Mastodon class="w-6" />
</a>
<a
2023-09-21 00:38:16 +02:00
class="inline-block hover:scale-105 transition duration-150 active:scale-95 active:text-pink-300"
2022-10-23 12:08:29 +02:00
href="https://git.saibotk.de/saibotk"
target="_blank"
aria-label="Link to my Gitlab account"
>
<GitLab class="w-6" />
</a>
<a
2023-09-21 00:38:16 +02:00
class="inline-block hover:scale-105 transition duration-150 active:scale-95 active:text-pink-300"
2022-10-23 12:08:29 +02:00
href="https://github.com/saibotk"
target="_blank"
aria-label="Link to my GitHub account"
>
<GitHub class="w-6" />
</a>
</div>
</nav>
</header>