Commit Graph

113 Commits

Author SHA1 Message Date
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
729138cffb [chore] Update npm packages and fix errors/run migrations 2022-01-03 20:12:22 +01:00
551991d407 Fix accessibility issues 2021-12-15 22:31:49 +01:00
82f5dd4727 [wip] Rework Shop
- Change strategy for content fetching
- Add a route per page instead of using __layout for all
- Change the behaviors of the posters section (add a carousel on small screens)
- Change Poster buttons styling and make interactions only for desktop
2021-12-14 23:23:12 +01:00
2f7082fd9d Add anchor to poster url 2021-12-07 21:58:53 +01:00
f15a2f2e47 Add entering transition on Shop and fix some styling
- Center intro title vertically
- Cart item styling tweaks
- Add cart button quantity label inside of button so it's clickable
2021-12-06 22:14:02 +01:00
d655050da1 Make better detection for Switcher current link 2021-12-06 15:05:40 +01:00
8ac954b1a2 Add tabindex to elements for better keyboard navigation 2021-12-06 15:03:41 +01:00
778e15dfbd Add active class on Switcher current link 2021-11-30 22:16:54 +01:00
89234e6e52 Fix sizeKey on Image without sizes 2021-11-28 23:08:13 +01:00
595a93087c Fix Location images 2021-11-25 23:50:16 +01:00
a9651b6b02 Position Switcher for mobile and on Viewer 2021-11-23 23:04:54 +01:00
9e6df85bf1 Make more icons reusable in global SVG sprite 2021-11-21 22:11:59 +01:00
8654e43af5 Fix city on PhotoCard 2021-11-21 12:08:31 +01:00
78cacbcd46 Cleanup Switcher code 2021-11-17 21:41:08 +01:00