diff options
| author | Volpeon <git@volpeon.ink> | 2026-07-22 19:40:59 +0200 |
|---|---|---|
| committer | Volpeon <git@volpeon.ink> | 2026-07-22 19:40:59 +0200 |
| commit | c1e28224aa2e1450031669d9a7e359b63e04687d (patch) | |
| tree | 68f3d8905c763a91f68001d868197effa92adafa /src/scripts/script.ts | |
| download | corvos-website-c1e28224aa2e1450031669d9a7e359b63e04687d.tar.gz corvos-website-c1e28224aa2e1450031669d9a7e359b63e04687d.tar.bz2 corvos-website-c1e28224aa2e1450031669d9a7e359b63e04687d.zip | |
Init
Diffstat (limited to 'src/scripts/script.ts')
| -rw-r--r-- | src/scripts/script.ts | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/scripts/script.ts b/src/scripts/script.ts new file mode 100644 index 0000000..02fb7ff --- /dev/null +++ b/src/scripts/script.ts | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | /// <reference lib="dom" /> | ||
| 2 | /// <reference lib="dom.iterable" /> | ||
| 3 | |||
| 4 | import { mountKeyboardNav } from "./lib/keyboardNav.ts"; | ||
| 5 | import { mountLightbox } from "./lib/lightbox.ts"; | ||
| 6 | import { mountSiteHeader } from "./lib/siteHeader.ts"; | ||
| 7 | import { mountTabbar } from "./lib/tabbar.ts"; | ||
| 8 | import { mountToc } from "./lib/toc.ts"; | ||
| 9 | |||
| 10 | document.body.classList.remove("t-no-js"); | ||
| 11 | document.body.classList.add("t-js"); | ||
| 12 | |||
| 13 | mountKeyboardNav(); | ||
| 14 | mountLightbox(); | ||
| 15 | mountTabbar(); | ||
| 16 | mountSiteHeader(); | ||
| 17 | mountToc(); | ||
