Commit Graph

10 Commits

Author SHA1 Message Date
7cc778e1cc Globe: Position camera to current continent
Quite complex to figure out but needed to use spherical coordinates to apply to the camera, inspired from Three.js
Thanks @Tape on Discord/Three.js!
2022-09-26 20:00:43 +02:00
5545871c85 Use page specific stale-while-revalidate Cache-Control headers 2022-09-20 00:20:18 +02:00
39fc74d8e9 Use stale-while-revalidate Cache-Control headers instead? 2022-09-19 23:50:54 +02:00
3a7056cce6 Add Cache-Control max-age headers globally 2022-09-19 23:38:07 +02:00
6dc5276f72 Update homepage metas and add share image 2022-09-13 10:38:12 +02:00
0e6aaaa4e2 Make GraphQL queries more compact 2022-08-16 21:17:14 +02:00
42e9029da8 Switch back to VITE env variable for API token
Can't find a way around… but this works!
2022-08-16 20:40:57 +02:00
93a50770d0 Move API fetch data to different file
Sharing multiple exportable functions in one file impacts the use of private env variables 🤷
2022-08-16 20:00:52 +02:00
6e904850aa 🚧 Migrate env variables to use internal SvelteKit system
Some API fetching function rewriting needed as privates cannot be included into public code
2022-08-16 16:58:57 +02:00
5e5c08ddd1 🚧 Migrate to new SvelteKit routing system
A bit annoying but for the best I guess?
2022-08-16 15:54:15 +02:00