1
0
Fork 0
mirror of https://github.com/Findus23/lw1.at.git synced 2024-09-10 05:13:46 +02:00
lw1.at/assets/main.ts

16 lines
401 B
TypeScript

import {initFeedback} from "./feedback";
import {initSearch} from "./search";
import {initMatomo} from "./matomo";
import {initThumbhash} from "./thumbhash";
initThumbhash()
initFeedback()
initSearch()
initMatomo()
const articleEl = document.querySelector("article")
if (articleEl && articleEl.id.includes("rainbowroad")) {
import("./leafs").then((module) => {
module.addLeaf()
})
}