Update menu

TODO: coords for sites
This commit is contained in:
2024-11-27 13:50:48 +01:00
parent 211379b986
commit 7f4bd571f0
5 changed files with 165 additions and 36 deletions

View File

@@ -3,6 +3,7 @@ import UI from './ui.js';
import { Application } from '@hotwired/stimulus';
import MenuController from './controllers/menu_controller.js';
import ModalController from './controllers/modal_controller.js';
import MarkerController from './controllers/marker_controller.js';
document.addEventListener('DOMContentLoaded', async () => {
// Register Stimulus controllers
@@ -28,4 +29,5 @@ function initStimulus() {
window.Stimulus = Application.start();
Stimulus.register("menu", MenuController);
Stimulus.register("modal", ModalController);
Stimulus.register("marker", MarkerController);
}