Add ThemeToggle component

This commit is contained in:
thiloho
2023-05-18 20:20:43 +02:00
parent 21437ae15d
commit 40411fd328
11 changed files with 139 additions and 9 deletions

View File

@@ -13,7 +13,7 @@ const articles = (await getCollection("blog")).sort(
---
<PageLayout {...home.data}>
<TableOfContents slot="nav" client:load {headings} />
<TableOfContents slot="nav" client:only="svelte" {headings} />
<Content />
{
articles.map((article) => (