Commit Graph

12 Commits

Author SHA1 Message Date
Alexis
db69bd7e6f Removed nanostore logic
This module was way too cumbersome for such a simple implementation ; now the resources are just plain json loaded in astro instead of full on API routes.
This also eliminates the need to have a backend service to serve the API and the app can be deployed statically
2023-12-08 14:01:59 +01:00
Alexis
feb6753de3 Fixed width not being 100% 2023-10-15 11:27:39 +02:00
Alexis
0445cad2a5 Added defer to see if it does anything on prod server 2023-10-15 11:04:26 +02:00
Alexis
651c21b8ec Added marker display when flown to marker
And also refactored some event listeners
2023-10-14 19:22:49 +02:00
Alexis
c9672206be Added player popup 2023-10-14 14:32:53 +02:00
Alexis
1f644d1586 Stylized popup links 2023-10-14 14:23:43 +02:00
Alexis
02b63a3748 Added external link marker and fix useless is:global 2023-10-14 14:03:09 +02:00
Alexis
7f7fa1465a Fixed small focus bugs 2023-10-13 21:32:19 +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
Alexis
4e1927bf02 Added search markers component
Functionnality is not present for now and will probably rely on nanostores
2023-10-13 11:48:01 +02:00
Alexis
73cc730a5c Changed variable names
Because the map will eventually be used for everything, not just one continent
2023-10-11 20:32:55 +02:00