Commit Graph

891 Commits

Author SHA1 Message Date
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 f81a468a04 Check for Countly before using it 2022-07-11 16:39:25 +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 895b30e527 Change Globe markers class 2022-07-08 11:16:56 +02:00
flayks c0a1514c57 Fix random things 2022-07-07 14:16:09 +02:00
flayks d6c7ca5f70 Fix email form regex 🤦 2022-07-07 14:15:56 +02:00
flayks cab3d23c4d Customize global scrollbar 2022-06-30 19:57:16 +02:00
flayks a1e7a907ec Update Serif font files 2022-06-29 16:26:08 +02:00
flayks 67602b4fbc Fix House index position when ending with 1 2022-06-27 21:03:12 +02:00
flayks 14d88e6d6e Change mask gradient on Location illustration 2022-06-27 20:48:04 +02:00
flayks 91c55b46cf Fix some accessibility issues on links and buttons 2022-06-27 13:57:54 +02:00
flayks d72dec2443 Add offset on House index for large screens 2022-06-27 13:40:14 +02:00
flayks 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
flayks 465e673715 Fix global classes 2022-06-27 13:27:00 +02:00
flayks 453583c189 Add link to see map on House location 2022-06-27 11:31:44 +02:00
flayks 0ce305480f Make Switcher links accessible
Also switch button and links to keep tabing
2022-06-24 13:02:36 +02:00
flayks 65f24fdd51 Fix Newsletter form input text 2022-06-24 12:59:26 +02:00
flayks 9f2b1c37bf Fix Newsletter form types 2022-06-24 12:54:37 +02:00
flayks ea7360cae4 Fix location page Of animation timing 2022-06-24 12:28:10 +02:00
flayks 3e13a86581 Handle inexistant location page 2022-06-24 12:26:56 +02:00
flayks b46df04258 Fix Error page styles and ListCTAs 2022-06-24 12:03:51 +02:00
flayks 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
flayks dc4eaca312 Revert and fix location page styling (woops)
Forgot that one! 🫢
2022-06-23 20:08:10 +02:00
flayks c66fe85879 Add Analytics 2022-06-23 19:07:31 +02:00
flayks aea65da747 Fix Subscribe page gap between Issues and globe margin 2022-06-23 14:26:17 +02:00
flayks b6af9a9a52 Fix ButtonCircle sizes? 2022-06-23 14:25:54 +02:00
flayks 46fae80137 Fix alt tag on Shop module images and SEO for link 2022-06-22 23:41:35 +02:00
flayks 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
flayks 565c1c2be9 Cleanup some (unused) code 2022-06-22 23:22:16 +02:00
flayks 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
flayks 255b00ab66 Add delay on SiteTitle reveal animation 2022-06-22 23:17:56 +02:00
flayks 33487cba5c Use svelte:element to avoid tag conditions 2022-06-22 23:17:37 +02:00
flayks cce0e5d9c2 Fix ScrollingTitle animation by increasing from value 2022-06-22 23:17:19 +02:00
flayks f0173bb828 Remove unused code and refactor types importing 2022-06-22 23:16:34 +02:00
flayks 23b0035272 Fix current product detection on Shop location switcher select 2022-06-21 13:38:55 +02:00
flayks deb0c1d708 Remove lazy loading on location illustration 2022-06-20 16:39:19 +02:00
flayks e1db876993 Use linear gradient mask for fading location illustration on bottom 2022-06-20 14:57:09 +02:00
flayks f824eb3016 Don't round all corners on Location's page description block 2022-06-14 23:15:03 +02:00
flayks 7d4899fa48 Keep original photos ratio if not 3/2 on Viewer
- Fix previousPage usage
- Fix entering animation timings and previous photo navigation
- Add fade transition on fullscreen viewer for mobile
- Display date only if existing
2022-06-14 23:14:12 +02:00
flayks 9801fec217 Clean CSS 2022-06-14 23:11:24 +02:00
flayks 3270ad70f0 Adjust sides offset for Switcher and Viewer buttons 2022-06-14 13:23:10 +02:00
flayks 2831600f57 Return destructured data only if existing on layout 2022-06-14 11:58:54 +02:00
flayks 6873ad6a66 Make aspect-ratio fallback work properly on Location page House photo 2022-06-13 23:46:12 +02:00
flayks 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
flayks 0272e7ed18 Various fixes for Location page 2022-06-13 18:30:42 +02:00
flayks 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
flayks d90152a928 Revert smooth scroll on html
Scrolls back to top with animation when changing page
2022-06-13 15:59:57 +02:00
flayks 157b50f36c Use House component 2022-06-13 15:59:34 +02:00