mirror of
https://github.com/Queer-Lexikon/regenbogenkarte
synced 2024-11-10 14:44:13 +00:00
21 lines
625 B
TypeScript
21 lines
625 B
TypeScript
import "./main.css";
|
|
import { initializeForms } from "./ts/form";
|
|
import { setupHamburger } from "./ts/hamburger";
|
|
import { initializeMap } from "./ts/map";
|
|
import "@fontsource/ubuntu/latin.css";
|
|
import { setupLegend } from "./ts/legend";
|
|
import { setupEmergencyButton, setupResetButton } from "./ts/buttons";
|
|
import { addGoatCounter } from "./ts/goatcounter";
|
|
|
|
document.addEventListener("DOMContentLoaded", () => {
|
|
initializeMap();
|
|
initializeForms();
|
|
setupHamburger();
|
|
setupLegend();
|
|
setupEmergencyButton();
|
|
setupResetButton();
|
|
|
|
if (import.meta.env.VITE_QUEER_LEXIKON_PRIVATE === "true") {
|
|
addGoatCounter();
|
|
}
|
|
});
|