Header: update icon

This commit is contained in:
Akemi Izuko 2023-12-30 00:39:19 -07:00
parent c870c2c7fc
commit 88033edd24
Signed by: akemi
GPG key ID: 8DE0764E1809E9FC

View file

@ -6,29 +6,9 @@ import { SITE_TITLE } from '../consts';
<header style="width: 100%" class="font-sans sticky top-0 md:static bg-white underline-offset-4 z-40">
<nav>
<div class="flex items-center space-x-8">
<a href="https://git.mami2.moe/akemi/noway.moe" target="_blank">
<span class="sr-only">Forgejo</span>
<svg class="forgejo-logo" viewBox="0 0 212 212" aria-hidden="true" width="32" height="32">
<style>
svg.forgejo-logo path{stroke-width: 25}
svg.forgejo-logo circle{stroke-width: 15}
svg.forgejo-logo .light{fill: none; stroke: #aaa;}
svg.forgejo-logo .dark{fill: none; stroke: #000;}
svg.forgejo-logo:hover .light{stroke: var(--accent-color);}
</style>
<g transform="translate(6,6)">
<path class="light" d="M58 168 v-98 a50 50 0 0 1 50-50 h20" />
<path class="dark" d="M58 168 v-30 a50 50 0 0 1 50-50 h20" />
<circle class="light" cx="142" cy="20" r="18" />
<circle class="dark" cx="142" cy="88" r="18" />
<circle class="dark" cx="58" cy="180" r="18" />
</g>
</svg>
</a>
<HeaderLink href="/">Home</HeaderLink>
<HeaderLink href="/"><img src="/akemi_silly_transparent.png" /></HeaderLink>
<HeaderLink href="/blog">Blog</HeaderLink>
<HeaderLink href="/unix">Unix</HeaderLink>
<HeaderLink href="/about">About</HeaderLink>
</div>
<div class="fun-quote" style="margin: 0">
<span style="font-family: var(--font-title);" class="text-2xl">ReLUwU activated</span>
@ -71,4 +51,7 @@ import { SITE_TITLE } from '../consts';
header nav div:last-child {
justify-content: flex-end;
}
header nav img {
height: 48px;
}
</style>