Commit Graph

127 Commits

Author SHA1 Message Date
486213ac77 Use Lenis to use smooth scroll to anchors 2022-09-19 20:09:28 +02:00
b66db25942 🚧 Switch to swell-js to handle Shop cart
swell-node was relying too much on Node packages like crypto or events to be used with Cloudflare Pages or Vercel Edge Functions
2022-09-18 12:14:43 +02:00
91c28cf1e3 Fix email form server check and return error code if existing 2022-09-14 22:37:24 +02:00
829487ebea Fix Shop location switcher scroll when changing 2022-09-14 22:15:59 +02:00
f38a8fcdc7 Store location last seen date to check for New label
Stores the last location's page seeing date in localStorage to hide the Location's new label in list, on top of the date limit
2022-09-14 11:35:06 +02:00
6494e622ba Finish and animate About page 2022-09-12 12:43:55 +02:00
210164c06d Remove unused code 2022-09-09 23:27:09 +02:00
35b1e27e7c Add responsive style to About page 2022-09-09 22:44:12 +02:00
351061dc61 Rework About page Process section 2022-09-07 22:48:52 +02:00
945d7f09d7 Add any types for getContext data 2022-09-01 10:57:45 +02:00
1de3c717b2 Move data-sveltekit-* attributes to parent level when possible 2022-08-31 12:41:16 +02:00
3618414aa0 Update stuff regarding to latest SvelteKit updates 2022-08-30 09:21:13 +02:00
892fc105c0 Play About Step video only when visible 2022-08-29 19:38:31 +02:00
1a16e12e14 Detect media on About Process Step, Visual fixes 2022-08-29 18:38:42 +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
1163ba61f5 Add latest issue part on Subscribe page and Create component for Issue 2022-08-14 23:01:56 +02:00
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
f771a73b67 [wip] Switch from Anime to Motion One for page animations 2022-08-14 00:45:44 +02:00
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
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
c91166d548 Use Svelte shorthand for CSS variables declaration 2022-08-01 21:00:08 +02:00
e499f69574 Fix some missing smooth scroll function syntax 2022-08-01 18:10:18 +02:00
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
39c8f6dd14 Update error messages 2022-07-30 17:03:12 +02:00
6a66cdaf22 Use options parameters with types and default on smoothScroll function 2022-07-19 13:43:25 +02:00
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
d6c7ca5f70 Fix email form regex 🤦 2022-07-07 14:15:56 +02:00
67602b4fbc Fix House index position when ending with 1 2022-06-27 21:03:12 +02:00
c9053f9757 👀 Rework how House index is displayed
Use grids to place the index instead of position absolute
Add a condition if the index starts with 1 as it has a quite smaller width
2022-06-27 13:28:58 +02:00
453583c189 Add link to see map on House location 2022-06-27 11:31:44 +02:00
0ce305480f Make Switcher links accessible
Also switch button and links to keep tabing
2022-06-24 13:02:36 +02:00
9f2b1c37bf Fix Newsletter form types 2022-06-24 12:54:37 +02:00
a9869b72be Implement newsletter subscription form using API
Switch from SendInBlue to EmailOctopus for newsletter. Now uses their API through the form to handle subscription.
2022-06-23 20:10:55 +02:00
cdabe6935b 🔥 Huge style refactoring by using SvelteKit built-in style tag
It's been tricky but got there finally! Hello `:global`
- Avoid using one global CSS file containing everything
- Import the component SCSS file in a script tag from the component file to allow style scoping and including it only when used
2022-06-22 23:26:00 +02:00
565c1c2be9 Cleanup some (unused) code 2022-06-22 23:22:16 +02:00
6d4224abea Use global value to check for current Shop product
Also add other stores types to hint on expected values
2022-06-22 23:20:52 +02:00
f0173bb828 Remove unused code and refactor types importing 2022-06-22 23:16:34 +02:00
23b0035272 Fix current product detection on Shop location switcher select 2022-06-21 13:38:55 +02:00
d5b860da03 Rework Location page photos ratio and hover
Defines if the photo is under 3/2 by calculating ratio from width and height
2022-06-13 23:34:33 +02:00
0272e7ed18 Various fixes for Location page 2022-06-13 18:30:42 +02:00
615f7df4a1 Force 3/2 format for non landscape photos on Location page
Center image on a background when square, portrait or other ratio
- Fix MutuationObserver for using components (would think a component is an item)
2022-06-13 18:30:26 +02:00
157b50f36c Use House component 2022-06-13 15:59:34 +02:00
f417b80aab Disable lazyloaded images for Collage 2022-05-23 12:24:59 +02:00
7b43e50b6c Change default font weight and Fix copy 2022-05-21 00:04:04 +02:00
91510df410 Fix Homepage collage's active photo effect while hover
- Change method and use a class on collage itself fading all photos, then highlight the one being hovered
- For some reason the content inside was conflicting the mouseenter event
2022-03-21 14:04:52 +01:00
8047ffe034 Isolate Homepage collage component and add hover effect on other photos 2022-03-21 11:03:05 +01:00
3841bc2ced [chore] Update npm packages and SvelteKit config 2022-03-13 19:55:05 +01:00
df17b0cff1 Add house icon to Switcher 2022-03-02 19:51:12 +01:00
9e3a3be60b Use Switcher links from API and animate component 2022-01-24 22:19:25 +01:00
2ec810b932 Misc fixes 2022-01-18 17:05:11 +01:00