Commit Graph

1306 Commits

Author SHA1 Message Date
cab3d23c4d Customize global scrollbar 2022-06-30 19:57:16 +02:00
9cc1146148 [chore] Update npm packages 2022-06-30 19:57:04 +02:00
a1e7a907ec Update Serif font files 2022-06-29 16:26:08 +02:00
e1057ac520 [chore] Update npm packages 2022-06-27 21:04:33 +02:00
67602b4fbc Fix House index position when ending with 1 2022-06-27 21:03:12 +02:00
14d88e6d6e Change mask gradient on Location illustration 2022-06-27 20:48:04 +02:00
91c55b46cf Fix some accessibility issues on links and buttons 2022-06-27 13:57:54 +02:00
d72dec2443 Add offset on House index for large screens 2022-06-27 13:40:14 +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
465e673715 Fix global classes 2022-06-27 13:27:00 +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
65f24fdd51 Fix Newsletter form input text 2022-06-24 12:59:26 +02:00
9f2b1c37bf Fix Newsletter form types 2022-06-24 12:54:37 +02:00
ea7360cae4 Fix location page Of animation timing 2022-06-24 12:28:10 +02:00
3e13a86581 Handle inexistant location page 2022-06-24 12:26:56 +02:00
4c0b7101ea Disable postcss-sort-media-queries plugin
Causes reach errors when compiling as it is now using scoped CSS
2022-06-24 12:04:30 +02:00
b46df04258 Fix Error page styles and ListCTAs 2022-06-24 12:03:51 +02:00
9913c1d7d9 [chore] Update npm packages 2022-06-24 11:51:12 +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
dc4eaca312 Revert and fix location page styling (woops)
Forgot that one! 🫢
2022-06-23 20:08:10 +02:00
c66fe85879 Add Analytics 2022-06-23 19:07:31 +02:00
aea65da747 Fix Subscribe page gap between Issues and globe margin 2022-06-23 14:26:17 +02:00
b6af9a9a52 Fix ButtonCircle sizes? 2022-06-23 14:25:54 +02:00
46fae80137 Fix alt tag on Shop module images and SEO for link 2022-06-22 23:41:35 +02:00
13a77d1de7 Use PostCSS 2022-06-22 23:32:39 +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
4f81640b61 [chore] Update npm packages 2022-06-22 23:22:48 +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
255b00ab66 Add delay on SiteTitle reveal animation 2022-06-22 23:17:56 +02:00
33487cba5c Use svelte:element to avoid tag conditions 2022-06-22 23:17:37 +02:00
cce0e5d9c2 Fix ScrollingTitle animation by increasing from value 2022-06-22 23:17:19 +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
deb0c1d708 Remove lazy loading on location illustration 2022-06-20 16:39:19 +02:00
e1db876993 Use linear gradient mask for fading location illustration on bottom 2022-06-20 14:57:09 +02:00
f824eb3016 Don't round all corners on Location's page description block 2022-06-14 23:15:03 +02:00
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
9801fec217 Clean CSS 2022-06-14 23:11:24 +02:00
3270ad70f0 Adjust sides offset for Switcher and Viewer buttons 2022-06-14 13:23:10 +02:00
2831600f57 Return destructured data only if existing on layout 2022-06-14 11:58:54 +02:00
6873ad6a66 Make aspect-ratio fallback work properly on Location page House photo 2022-06-13 23:46:12 +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
b649187365 [chore] Update npm packages 2022-06-13 16:00:06 +02:00
d90152a928 Revert smooth scroll on html
Scrolls back to top with animation when changing page
2022-06-13 15:59:57 +02:00
157b50f36c Use House component 2022-06-13 15:59:34 +02:00
b7a857e2e6 🔥 Get 11 random published photos on the Homepage collage
Thanks to Directus help, this works!
Concept: fetch all published photos IDs only, get 11 random items and query these 11 IDs
Only 2 queries, one for the IDs and one for the photos
2022-06-13 15:53:42 +02:00