Commit Graph

64 Commits

Author SHA1 Message Date
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
fa74e5bf7f Move get asset function into same API file 2022-08-14 19:21:49 +02:00
f771a73b67 [wip] Switch from Anime to Motion One for page animations 2022-08-14 00:45:44 +02:00
c91166d548 Use Svelte shorthand for CSS variables declaration 2022-08-01 21:00:08 +02:00
4880483933 Add acknowledgement part at end of page
Specifically for Australia or other location needing an acknowledgement
2022-07-31 01:04:24 +02:00
cc3ddb2148 Location page product is not mandatory 2022-07-30 16:29:25 +02:00
38deb96197 Return specific error message if location doesn't exist 2022-07-30 15:16:19 +02:00
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
9328b9d879 Fix location page error and message style 2022-07-15 20:43:22 +02:00
c0a1514c57 Fix random things 2022-07-07 14:16:09 +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
ea7360cae4 Fix location page Of animation timing 2022-06-24 12:28:10 +02:00
dc4eaca312 Revert and fix location page styling (woops)
Forgot that one! 🫢
2022-06-23 20:08:10 +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
f0173bb828 Remove unused code and refactor types importing 2022-06-22 23:16:34 +02:00
deb0c1d708 Remove lazy loading on location illustration 2022-06-20 16:39:19 +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
29165717fc Rename Shop and Newsletter modules files 2022-06-07 16:36:08 +02:00
d3f74be59e Run page animations onMount instead of browser 2022-05-30 21:57:04 +02:00
7a165721d9 [chore] Switch rest of page endpoints 2022-05-30 21:54:43 +02:00
1344f25092 Only use Month and Year for photo date 2022-01-31 19:04:45 +01:00
729138cffb [chore] Update npm packages and fix errors/run migrations 2022-01-03 20:12:22 +01:00
06db598b90 Use PageTransition component on every route
- Scrolls back to top when mounting new page with a timeout of the delay
- Rename photo Viewer class
- Change Shop posters section text from p to label
2021-12-07 21:58:17 +01:00
0b772f26cb Add transitions to missing pages and attempt to animate it better? 2021-12-06 15:10:39 +01:00
8ac954b1a2 Add tabindex to elements for better keyboard navigation 2021-12-06 15:03:41 +01:00
f8fe141505 Use page transition component to avoid repetition on main 2021-11-30 00:23:36 +01:00
305272ea7c Center Location name for now 2021-11-25 23:30:59 +01:00
8d487e0ef7 Use a picture element for Location illustration
Probably better for performances
2021-11-21 16:50:24 +01:00
fd871d55f9 Reveal photos on scroll on Location page 2021-11-18 22:06:48 +01:00
7900c124d2 Add Location page entering animation 2021-11-17 21:54:36 +01:00
8b4070aeb2 🐛 Setup page transitions
Bugged for some reason, the old page stays before the new page loading at the end
2021-11-17 21:54:22 +01:00
4714c111ca Shop Location page poster button only if existing 2021-11-17 19:26:46 +01:00
c9c028118b Cleanup code
- Remove unused props
- Add alt to icon on BoxCTA
2021-11-14 19:56:11 +01:00
8dd59e74d4 Check for illustration on location page 2021-11-14 19:52:46 +01:00
f7af2aa8f3 Add city to House info if existing 2021-11-10 23:55:48 +01:00
17af949e8e Add Shop poster link on location page 2021-11-10 22:58:07 +01:00
a88359c468 Fix pink light buttons 2021-11-08 12:14:53 +01:00
cb175073d0 Add new variants for cart buttons 2021-11-04 16:05:39 +01:00
365b8f5390 Use filtered aggregated photos count on Location page 2021-11-01 11:11:33 +01:00
e830a18454 Use total photos count from global data 2021-10-24 22:20:01 +02:00
04a0b2bec5 Fix Location page photos overflow hiding its index 2021-10-24 22:03:18 +02:00
ecacc0c1a1 Rework buttons classes and variants
Add a conditional class and list props as BEM class modifiers
2021-10-19 17:19:53 +02:00
38006355db Add Metas on Location page 2021-10-17 22:18:03 +02:00
f29b4c3bb0 🔥 Use Directus Storage Assets Presets only for images
Block the generation of other image sizes from the URL

TODO: Block the access to root asset url as it still displays the original file
2021-10-17 22:17:52 +02:00
ea2162c2b9 Fix Location page total photos amount 2021-10-17 13:41:38 +02:00