mirror of
https://github.com/Queer-Lexikon/regenbogenkarte
synced 2024-11-24 13:13:08 +00:00
22 lines
674 B
TypeScript
22 lines
674 B
TypeScript
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", () => {
|
|
initializeMap();
|
|
initializeForms();
|
|
setupInfoButton();
|
|
setupLegend();
|
|
setupEmergencyButton();
|
|
setupResetButton();
|
|
setupHamburgerButton();
|
|
|
|
if (import.meta.env.VITE_QUEER_LEXIKON_PRIVATE === "true") {
|
|
addGoatCounter();
|
|
}
|
|
});
|