Commit Graph

268 Commits

Author SHA1 Message Date
flayks 1de3c717b2 Move data-sveltekit-* attributes to parent level when possible 2022-08-31 12:41:16 +02:00
flayks 3618414aa0 Update stuff regarding to latest SvelteKit updates 2022-08-30 09:21:13 +02:00
flayks 4198d2cd1f Fix Globe width condition 2022-08-29 22:50:08 +02:00
flayks aa67a65fb1 Use small size for About photos grid
Why was I loading such a big image when they need to be quite small?!
2022-08-29 19:39:01 +02:00
flayks 892fc105c0 Play About Step video only when visible 2022-08-29 19:38:31 +02:00
flayks 1a16e12e14 Detect media on About Process Step, Visual fixes 2022-08-29 18:38:42 +02:00
flayks ea6cfa2ee2 [wip] Add width, speed and pane options for Globe 2022-08-29 18:36:51 +02:00
flayks 21dd85940b Update SvelteKit and breaking imports 2022-08-27 23:16:34 +02:00
flayks 7fe9866df3 Reveal nav past intro earlier 2022-08-26 10:05:11 +02:00
flayks 2fd2d252ca Allow Image component to not use async decoding 2022-08-21 11:44:55 +02:00
flayks 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
flayks 5e5c08ddd1 🚧 Migrate to new SvelteKit routing system
A bit annoying but for the best I guess?
2022-08-16 15:54:15 +02:00
flayks 1163ba61f5 Add latest issue part on Subscribe page and Create component for Issue 2022-08-14 23:01:56 +02:00
flayks 57f1dca240 Remove unused code 2022-08-14 22:59:28 +02:00
flayks fd6fc20b13 Finish to replace Anime with Motion One for page animations
Page intro animation and reveal that has now been simplified as Motion One manages an inView option (that uses IntersectionObserver)
2022-08-14 20:24:28 +02:00
flayks fa74e5bf7f Move get asset function into same API file 2022-08-14 19:21:49 +02:00
flayks f771a73b67 [wip] Switch from Anime to Motion One for page animations 2022-08-14 00:45:44 +02:00
flayks f688928757 Make About page stacking card scroll effect
Using Motion One example, thanks to https://codepen.io/bramus/pen/rNdzpZK (by Bramus)
2022-08-13 16:10:01 +02:00
flayks 4a83ade94b [wip] Create cropped version of Globe2?
Probably not ideal as the canvas is still bigger, mostly styling for now
2022-08-11 23:28:43 +02:00
flayks 8ac95dc6a9 [wip] Add option to enable markers on Globe2 2022-08-11 23:08:25 +02:00
flayks 0c82464a98 [wip] Make About page Process step a component
Also an attempt to manage the stacking effect of the steps but still not good 🙃 tricky shit
2022-08-11 23:07:50 +02:00
flayks d5ae25a87b Push ShopModule button to bottom if it has no bottom text 2022-08-11 23:05:27 +02:00
flayks c8a5388a3f Add compass icon to SVG sprite 2022-08-03 10:13:45 +02:00
flayks 42742bcba3 [wip] Create About page 2022-08-02 00:07:46 +02:00
flayks 2215b1329c Disconnect observers instead of unobserve 2022-08-02 00:07:17 +02:00
flayks 8584095f33 Change Shop module title level 2022-08-02 00:06:01 +02:00
flayks c91166d548 Use Svelte shorthand for CSS variables declaration 2022-08-01 21:00:08 +02:00
flayks e499f69574 Fix some missing smooth scroll function syntax 2022-08-01 18:10:18 +02:00
flayks 54dc1a24ff Rework conditions for Button
- Was prefetching mailto links, so needs to detect if url string is starting
- Check if it actually has slots, then add a class
2022-08-01 18:09:51 +02:00
flayks 01859031aa Use Heading component on Credits and Subscribe page
Adapt the entering animation as well, SiteTitle was fading
2022-08-01 11:36:15 +02:00
flayks 5975c8e51a Update Analytics 2022-07-31 19:45:33 +02:00
flayks 39c8f6dd14 Update error messages 2022-07-30 17:03:12 +02:00
flayks b058963b79 Add Shop module at end of Location page
With linked poster if existing, otherwise with all products
2022-07-30 13:49:29 +02:00
flayks 31351ae095 Create props for ShopModule content
Allows to customize content if for a specific one for instance
2022-07-30 10:28:07 +02:00
flayks 0dba9b78c3 Add smooth scroll globally 2022-07-27 18:17:36 +02:00
flayks efb6183706 Fix Globe popin transition 2022-07-20 15:41:00 +02:00
flayks 6a66cdaf22 Use options parameters with types and default on smoothScroll function 2022-07-19 13:43:25 +02:00
flayks 978db8f76d Make cluster button more accessible 2022-07-19 12:37:02 +02:00
flayks fa056d0933 Update resize method and debounce it on component 2022-07-19 12:36:51 +02:00
flayks 543d2e5c8b Change locations anchor on Homepage 2022-07-19 11:55:16 +02:00
flayks a4176fed3b Update Globe and add comments 2022-07-19 11:54:50 +02:00
flayks 5d7d4896fe Filter empty continents directly in GraphQL query 2022-07-18 17:26:06 +02:00
flayks 4f274e52ce [WIP] Started new Globe from scratch using OGL 2022-07-16 18:55:47 +02:00
flayks 025bb522a9 Enable page transition on Shop index 2022-07-16 15:50:52 +02:00
flayks 7fa05ab6d3 Make share image conditional 2022-07-15 20:43:35 +02:00
flayks 310f7e5a44 Show cross to active Locations continent and change buttons behaviours
Active filtered continent stays pink instead of using opacity on the other ones
2022-07-11 21:40:25 +02:00
flayks ae4ea7f4fa Use smooth scroll function to navigate to anchor
Using a eased RAF function to scroll to a specific target
Avoid using `scrollIntoView` or smooth behavior as it doesn't work on Safari and others.
2022-07-11 16:42:34 +02:00
flayks 120771efa1 Fix Shop issues
- Move ButtonCart from nav to position it on top right
- ButtonCart amount indicator position (center left => top left)
- Bring back updating label when changing cart (+ other transitions)
- Make ShopHeader picture gradient a bit bigger
2022-07-11 12:30:42 +02:00
flayks 18c2b1b16d Fix Globe appearing when changing page?!
Apparently the globe was running too early and would not show up from a page to another
Waiting for the page transition is helping
Thanks Baptiste!
2022-07-10 12:51:22 +02:00
flayks d6c7ca5f70 Fix email form regex 🤦 2022-07-07 14:15:56 +02:00