Commit Graph

1304 Commits

Author SHA1 Message Date
422727586e chore: update packages 2023-05-26 23:44:47 +02:00
f2735d7eaa chore: update packages 2023-05-12 14:10:52 +02:00
bccf0a1259 chore: update packages 2023-04-27 15:21:47 +02:00
3e7c42629f chore: update packages 2023-04-19 11:06:55 +02:00
2af54156be chore: update packages 2023-03-28 23:18:51 +02:00
faec58467e fix: change Lenis parameters from newer versions 2023-03-28 23:18:43 +02:00
212e31b4cf chore: update packages 2023-03-24 16:19:35 +01:00
d4cca2a62a chore: update packages 2023-02-22 14:03:34 +10:00
d4f0a7431c fix: make Globe light position accurate
Takes UTC current time with timezone difference, based on noon
I guess thanks again ChatGPT + StackOverflow?
2023-02-15 19:11:37 +01:00
fd77c6d24f chore: update packages 2023-02-15 12:23:07 +01:00
51090bb4d9 refactor: use global setting for Vercel Edge runtime 2023-02-15 12:20:58 +01:00
80ff4b2195 chore: update packages 2023-02-10 19:29:42 +01:00
4f9aac2b7a chore: remove Cloudflare adapter and edge setting 2023-02-10 19:24:32 +01:00
a7fb3e4744 Merge branch 'dev' 2023-02-10 19:02:15 +01:00
ed16fb9765 feat: run server functions on edge 2023-02-10 18:50:02 +01:00
e1f739b095 feat: switch back to Vercel adapter? 2023-02-10 18:42:28 +01:00
3727b6bb2b chore: move utils to package 2023-02-10 17:52:50 +01:00
0c829c88c5 fix: eslint errors 2023-02-10 17:28:54 +01:00
6624bfefb0 chore: update config files 2023-02-10 17:22:54 +01:00
2c9a79b76b feat: implement eslint 2023-02-10 17:22:37 +01:00
7efc1842bd feat: set correct sun angle from current time
Thanks ChatGPT for that one!!

How to find the current sun angle from Earth's rotation in javascript?
A hint: Where is the sun shining on the earth at the time I visit the site? I guess the time zone that's closest to noon.

the dayTime variable needs to be from 0 to 1

const d = degToRad(360 / dayTime)
const sunPos = new Vec3(
    Math.cos(d),
    Math.sin(d) * Math.sin(0),
    Math.sin(d) * Math.cos(0)
)
2023-02-10 15:35:36 +01:00
83510bda2d chore: update packages 2023-02-10 15:34:48 +01:00
1746d73433 Merge branch 'main' into dev 2023-02-10 15:06:34 +01:00
bea5da5f7c chore: update packages 2023-02-01 15:41:49 +01:00
3127d4786a [chore] Update packages 2023-01-22 21:39:19 +01:00
b76f70a05f Fix eslint error and update svelte related stuff 2023-01-22 21:39:10 +01:00
1143651549 [chore] Update packages and config 2023-01-14 12:35:45 +01:00
6888f9afc5 [chore] Update packages 2023-01-12 20:27:02 +01:00
47ea21569d [chore] Use satisfies syntax for server routes types 2023-01-10 13:02:19 +01:00
25bb949a13 🚧 Switch to monorepo with Turbo 2023-01-10 12:53:42 +01:00
dd8715bb34 Merge branch 'main' into dev 2023-01-10 11:56:16 +01:00
10a07e948f [chore] Update packages 2023-01-09 18:44:52 +01:00
972edff4b1 [chore] Update packages 2023-01-06 18:36:19 +01:00
9177a19430 Merge branch 'dev'
# Conflicts:
#	svelte.config.js
2022-12-25 17:04:00 +01:00
19e18c4b2a Switch to adapter-auto 2022-12-25 17:03:27 +01:00
ff243d19a4 Switch to Cloudflare Pages 2022-12-25 16:49:47 +01:00
88c849a69a Merge branch 'fix/newsletterForm' into dev 2022-12-25 16:45:56 +01:00
d9ba33da8e Was it about the edge function…? 2022-12-25 16:40:35 +01:00
c5803ae046 Put back CSRF 2022-12-25 16:37:53 +01:00
0a5261b0df Is it the Edge? 2022-12-25 16:31:20 +01:00
f0018bead3 Return Responses 2022-12-25 16:10:27 +01:00
5af12a39d7 Return Response 2022-12-25 16:05:16 +01:00
ab965574e7 Try catch the request 2022-12-25 16:01:16 +01:00
d23eac3bc4 CORS everywhere? 2022-12-25 16:01:05 +01:00
0e4b8edd43 Is it CORS? 2022-12-25 15:58:05 +01:00
fd652da00a Always return json response and not error? 2022-12-25 15:53:58 +01:00
4f97e8bc8e Just return a json response 2022-12-25 15:42:03 +01:00
3e1b3be2ba Disable csrf? 2022-12-25 15:34:51 +01:00
a2afd38fda Try returning json via SK 2022-12-25 15:25:54 +01:00
a5e1c153f5 Test with send any query 2022-12-25 15:11:04 +01:00