🚧💄 WIP: darkmode/lightmode

This commit is contained in:
SindreKjelsrud 2023-08-22 16:09:29 +02:00
parent 809aef2a5a
commit d857ecb30a
3 changed files with 82 additions and 48 deletions

View file

@ -1,6 +1,7 @@
---
import HeaderLink from './HeaderLink.astro';
import { SITE_TITLE } from '../consts';
import ThemeIcon from './ThemeIcon.astro';
---
<header class="flex justify-center gap-64">
@ -8,6 +9,7 @@ import { SITE_TITLE } from '../consts';
<a class="font-bold" href="/">
{SITE_TITLE}
</a>
<ThemeIcon />
</div>
<nav>
<HeaderLink href="/about">about</HeaderLink>