🚧💄 WIP: darkmode/lightmode
This commit is contained in:
parent
809aef2a5a
commit
d857ecb30a
3 changed files with 82 additions and 48 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue