regenbogenkarte/main.ts

23 lines
686 B
TypeScript
Raw Permalink Normal View History

import "./main.css";
import { initializeForms } from "./ts/form";
import { setupInfoButton } from "./ts/info-menu";
import { initializeMap } from "./ts/map";
import "@fontsource/ubuntu/latin.css";
import { setupLegend } from "./ts/legend";
import { setupEmergencyButton, setupResetButton, setupHamburgerButton } from "./ts/buttons";
import { addGoatCounter } from "./ts/goatcounter";
document.addEventListener("DOMContentLoaded", async () => {
await initializeMap();
initializeForms();
setupInfoButton();
setupLegend();
setupEmergencyButton();
2022-10-01 10:34:36 +00:00
setupResetButton();
setupHamburgerButton();
if (import.meta.env.VITE_QUEER_LEXIKON_PRIVATE === "true") {
addGoatCounter();
}
});