init: add basic strcuture based on quartz

This commit is contained in:
2025-10-23 18:57:47 +03:30
parent ece66f364d
commit e06a0c7fed
203 changed files with 32322 additions and 0 deletions
+15
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>