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
ff9689f84c
Was it just about the content-type?!
2022-12-25 15:03:35 +01:00
ef2a17380b
Was it fetch?!
2022-12-25 14:47:50 +01:00
1e631f047d
One more time
2022-12-25 14:43:57 +01:00
694ea9f5de
Logging some more stuff
2022-12-25 14:24:26 +01:00
899edf8234
Tell me why?
2022-12-25 14:01:00 +01:00
869debe87e
Switch to API route for newsletter form submission 🫠
...
not using the latest SvelteKit use:enhance thingy but… hey!
2022-12-25 13:55:57 +01:00
c5791fa07c
Name action?!
2022-12-23 20:50:12 +01:00
ca56ac7eda
Log stuff
2022-12-23 20:46:23 +01:00
d604d892e2
Disable csrf checkOrigin to fix newsletter form submission
2022-12-23 20:41:09 +01:00
2f54b14a5c
Check for log when submitting form
2022-12-23 20:02:36 +01:00
1b76a2e40c
Merge branch 'main' into dev
2022-12-23 20:00:59 +01:00
9a7ad40401
🤦 Disable crsf for now to reenable the newsletter form
2022-12-23 19:50:57 +01:00
f396864feb
Fix newsletter form subscription
2022-12-23 11:25:55 +01:00
e03f4321f2
Update packages
2022-12-23 11:25:34 +01:00
64d71603c3
[chore] SvelteKit goes stable!
2022-12-14 18:54:23 +01:00
d4ad1a1a7b
[chore] Update packages and template
2022-12-09 23:10:11 +01:00
5387cf4c4b
[chore] Update packages and update template
2022-11-29 10:14:26 +01:00
4230cd8854
Use layout groups
2022-11-22 17:34:17 +01:00