Commit Graph

6 Commits

Author SHA1 Message Date
Alexis
0825d04b8f Test with localhost setup 2023-10-15 10:04:43 +02:00
Alexis
97573efc37 Replaced localhost url with actual web url 2023-10-14 22:44:10 +02:00
Alexis
c9672206be Added player popup 2023-10-14 14:32:53 +02:00
Alexis
da2faedd27 Changed deploy to node server
Afaik, Nanostores need SSR in the setup I used, so for now, the build will have to be deployed on a node server.
I could have used a full Vue app to avoid this, but oh well, nothing we can't refactor ; and it just works anyways. Plus it would have meant switching to a vue leaflet wrapper that hasn't been maintained in years.
Can always change it later.
2023-10-14 11:36:05 +02:00
Alexis
085887615a Added flyTo support ; targets players
The implementation forces Vue to attach vanilla event handlers, because their VDom doesn't bubble up and there's no way for it to easily communicate with Astro components.
Nanostores aren't an option because .astro files are rendered on the server, so the store can't be used client side (would be nice if it did tho!!!)
2023-10-13 17:44:52 +02:00
Alexis
e654d3f96a Added nanostore logic to centralise data 2023-10-13 17:19:58 +02:00