Commit Graph

463 Commits

Author SHA1 Message Date
flayks 450daccd87 Rename Homepage timeline variable 2021-11-30 19:49:34 +01:00
flayks 4a7edfe4d3 Add photo Viewer entering animation 2021-11-30 19:48:56 +01:00
flayks 2522233a0e Add a parent to each photo on Viewer
Allows to animate the parent that has no transform/top
2021-11-30 19:47:42 +01:00
flayks 47fee17eb8 Close Photo viewer when pressing Escape key 2021-11-30 18:13:58 +01:00
flayks f8fe141505 Use page transition component to avoid repetition on main 2021-11-30 00:23:36 +01:00
flayks 02f0815751 Store previous page for photo Viewer close button 2021-11-29 23:52:40 +01:00
flayks cf1ba3efec [temp] Fix Shop locations with poster only
Boolean considered as 0/1 now? Directus bug (https://github.com/directus/directus/issues/10065)
2021-11-28 23:13:04 +01:00
flayks e20ac61c97 Add mask on homepage World title 2021-11-28 23:09:10 +01:00
flayks 89234e6e52 Fix sizeKey on Image without sizes 2021-11-28 23:08:13 +01:00
flayks 7169faa3aa Fix getRandomElement function
Now return an array item instead of an index
2021-11-28 23:06:22 +01:00
flayks 305272ea7c Center Location name for now 2021-11-25 23:30:59 +01:00
flayks fcb70d4bc0 Add Photos page entering animation 2021-11-23 23:05:07 +01:00
flayks a9651b6b02 Position Switcher for mobile and on Viewer 2021-11-23 23:04:54 +01:00
flayks dd66c34b6a Add close button to Viewer 2021-11-23 23:04:33 +01:00
flayks 35e8ea2d89 Implement Fullscreen for mobile on photo Viewer 2021-11-23 13:04:21 +01:00
flayks ded276b8a0 Add swipe gesture on photo Viewer 2021-11-22 23:21:51 +01:00
flayks ac8c49d954 Prepend 0 to index if under 10 on Photo Viewer 2021-11-22 23:18:47 +01:00
flayks 4c43e1458e Don't scroll back to top when changing Photos and Shop products pages 2021-11-21 22:43:24 +01:00
flayks 8e56d58b30 Change Photo viewer controls and ButtonCircle 2021-11-21 22:41:35 +01:00
flayks bec2c0879b Fix Photos grid's filter bar coming down when scrolling back up
Merci Grafikart !
The idea is to use a transitioning class that we apply after a little delay so we don't have the jumpy transition when scrolling down.
2021-11-21 19:48:53 +01:00
flayks 887d4b6a82 Manually go to filtered url with urls on Photos
Using a reactive variable would trigger the `goto` by coming to the page and cause issues
2021-11-21 19:47:34 +01:00
flayks 8d487e0ef7 Use a picture element for Location illustration
Probably better for performances
2021-11-21 16:50:24 +01:00
flayks 8759477b79 Use reveal function to animate in ScrollingTitle 2021-11-21 14:40:02 +01:00
flayks 1a48d408ab Adding comments for Photos page's filters handling issue 2021-11-21 13:40:52 +01:00
flayks 8654e43af5 Fix city on PhotoCard 2021-11-21 12:08:31 +01:00
flayks fd871d55f9 Reveal photos on scroll on Location page 2021-11-18 22:06:48 +01:00
flayks 7900c124d2 Add Location page entering animation 2021-11-17 21:54:36 +01:00
flayks 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
flayks 85ee5fc2b7 Fix Photos page current page when changing filter 2021-11-17 21:49:39 +01:00
flayks d37a88f1ae Add photos reveal on scroll and loading on Photos page 2021-11-17 21:49:27 +01:00
flayks 873c2d94ac Adapt style of Photos viewer
- Change opacities
- Change photo background
- Disable image selection (prepping for a swipe)
- Fix mobile x and y offsets
2021-11-17 20:02:39 +01:00
flayks 4714c111ca Shop Location page poster button only if existing 2021-11-17 19:26:46 +01:00
flayks ac40eedb2f Use sveltekit:noscroll/prefetch on internal links 2021-11-17 19:25:59 +01:00
flayks 30b2cc3f16 Add Homepage entering animations 2021-11-16 22:35:48 +01:00
flayks ed62030b29 Create a component for scrolling huge titles 2021-11-16 22:35:42 +01:00
flayks bcc03459c6 Filter posters and locations by published 2021-11-16 10:44:48 +01:00
flayks c9c028118b Cleanup code
- Remove unused props
- Add alt to icon on BoxCTA
2021-11-14 19:56:11 +01:00
flayks 8dd59e74d4 Check for illustration on location page 2021-11-14 19:52:46 +01:00
flayks b835d0f5f6 Add photo's city on Photo viewer 2021-11-14 19:52:30 +01:00
flayks cf6afd832e Add photo's city to Postcard on Photos grid 2021-11-14 19:51:58 +01:00
flayks c0bd1ac516 🔥 Make the photo viewer completely working
Merci Grafikart 🙏
A whole bunch of headaches and challenges to load prev and next photos depending on the current one, while animating everything nicely.
Added lots of comments to document the logic and fetching.
2021-11-11 23:32:41 +01:00
flayks 7daf97ba1c Only aggregate photos/locations/countries that are published 2021-11-11 23:05:04 +01:00
flayks f7af2aa8f3 Add city to House info if existing 2021-11-10 23:55:48 +01:00
flayks b0e4351b05 Fix Shop product data finding
Use location slug from API product
2021-11-10 23:10:18 +01:00
flayks 17af949e8e Add Shop poster link on location page 2021-11-10 22:58:07 +01:00
flayks 73c9e80a21 Use SVG icons from global symbols
Allow to change color and avoid code duplication
2021-11-10 22:57:50 +01:00
flayks f1be0b719e Fix Cart issue by using PosterLayout on each shop page and not layout 2021-11-09 22:41:36 +01:00
flayks 11ff9291d2 Destructure Shop stylesheets 2021-11-08 14:37:16 +01:00
flayks 27daa26fd9 Cleanup Shop layout 2021-11-08 14:03:21 +01:00
flayks f133c00522 Change Shop About section layout 2021-11-08 14:03:00 +01:00