chore: Initial commit

This commit is contained in:
Daniël Groothuis
2025-10-29 14:26:01 +01:00
commit 6e96ae4c98
286 changed files with 36273 additions and 0 deletions

15
index.d.ts vendored Normal file
View File

@@ -0,0 +1,15 @@
declare module "*.scss" {
const content: string
export = content
}
// dom custom event
interface CustomEventMap {
prenav: CustomEvent<{}>
nav: CustomEvent<{ url: FullSlug }>
themechange: CustomEvent<{ theme: "light" | "dark" }>
readermodechange: CustomEvent<{ mode: "on" | "off" }>
}
type ContentIndex = Record<FullSlug, ContentDetails>
declare const fetchData: Promise<ContentIndex>