2f3e5f2866
fix: use correct data on product Cart callbacks
2024-08-05 14:55:36 +02:00
4ebabce3ab
fix: tweak photo page title transition
2024-08-03 17:24:43 +02:00
8186e07335
feat: add clicked effect on Photo viewer nav buttons + fade on name
2024-08-03 14:42:53 +02:00
9785b69e5e
chore: move up env variable imports
2024-08-03 12:25:09 +02:00
717b1d2f40
refactor: use padZero function for numbers
2024-08-03 12:24:52 +02:00
3bbfb8c5dd
fix: avoid freeze due to SK replaceState
2024-08-03 12:03:25 +02:00
5989252010
refactor: use dev from SvelteKit
2024-08-03 12:02:24 +02:00
6f8a619af2
refactor: migrate to Svelte 5
...
use runes ($props, $state, $derived, $effect, etc)
2024-08-02 17:50:16 +02:00
245049222b
chore: rewrite some stuff
2024-08-02 17:49:30 +02:00
a189486a24
fix: remove shadow on House photo
2024-07-25 20:22:28 +02:00
d2347cc7b2
feat: change Location hero illustration to photo
...
makes it more manageable to add new locations by just picking a photo
2024-07-25 18:59:52 +02:00
048c126986
fix: rework sizes and spaces on Location page
2024-07-25 15:44:22 +02:00
cb7d83978d
chore: merge components and stylesheets in same directory name
2024-07-24 10:59:34 +02:00
a9d937a2b5
fix: remove scrollbar on House
2024-07-24 10:32:15 +02:00
40722719cd
refactor: use auto sizes with Directus
2024-07-24 10:29:49 +02:00
40a3c2b605
chore: update deps + migrate to standalone Lenis
2024-04-24 15:47:11 +02:00
f525bbaddf
fix: remove Carousel clickAllowed helper since it's now included
2024-04-10 14:21:52 +02:00
323045a940
chore: upgrade to SvelteKit 2.0
2023-12-15 08:33:16 +10:00
70886e8447
fix: remove woff fonts
2023-11-18 18:27:47 +01:00
f40fef3b55
chore: update packages
2023-11-15 10:52:36 +01:00
f661bc23e5
fix: disable sticky state for Photo filters (temp)
...
it just doesn't really work anymore hey, needs a further research (duplicate it? as a component?)
2023-10-31 12:59:42 +01:00
710bb31f1b
fix: adjust Photo page background photos animation value
2023-10-31 12:27:42 +01:00
031da50f61
refactor: use one onMount on SmoothScroll
2023-10-31 12:26:12 +01:00
50f2b7cc52
chore: update packages
2023-08-24 12:43:00 +02:00
5365f1cb22
fix: change Toast background to cream
2023-06-11 23:02:47 +02:00
ddef65da52
fix: apply same fix to ShopModule
2023-06-11 22:55:09 +02:00
f70c9d4997
fix: run Toast first image change change after loop delay
2023-06-11 22:47:53 +02:00
fb21015f99
feat: add global Toast with 10% offer for posters
2023-06-11 22:41:01 +02:00
eb2be69957
refactor: use if condition on layout
2023-06-11 22:40:13 +02:00
3b8d499171
feat: create Toast component
2023-06-11 22:39:37 +02:00
738a7728c0
refactor: rename --switcher-offet CSS variable to --offset-sides
2023-06-11 22:39:23 +02:00
09b1af7e2e
fix: side padding on xsmall Button size
2023-06-11 22:38:49 +02:00
9c329b5ff7
refactor: update Button to always use a size, determine tag from url
2023-06-11 21:40:41 +02:00
1360b095be
refactor: use classic for conditional classes
2023-06-11 20:23:18 +02:00
4dce8354f7
refactor: separate CSS variables into file
2023-06-11 19:46:55 +02:00
219794641f
fix: change Lenis easing function
2023-05-26 23:49:59 +02:00
d991dad294
refactor: use global page transition in main layout
2023-05-26 23:49:23 +02:00
685d4fd244
refactor: get rid of page data types
2023-05-26 23:48:01 +02:00
faec58467e
fix: change Lenis parameters from newer versions
2023-03-28 23:18:43 +02: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
51090bb4d9
refactor: use global setting for Vercel Edge runtime
2023-02-15 12:20:58 +01:00
ed16fb9765
feat: run server functions on edge
2023-02-10 18:50:02 +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
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
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
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