Commit Graph

28 Commits

Author SHA1 Message Date
622e304efa Store previous page globally from beforeNavigate 2022-06-13 14:21:23 +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
4a7edfe4d3 Add photo Viewer entering animation 2021-11-30 19:48:56 +01:00
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
47fee17eb8 Close Photo viewer when pressing Escape key 2021-11-30 18:13:58 +01:00
02f0815751 Store previous page for photo Viewer close button 2021-11-29 23:52:40 +01:00
dd66c34b6a Add close button to Viewer 2021-11-23 23:04:33 +01:00
35e8ea2d89 Implement Fullscreen for mobile on photo Viewer 2021-11-23 13:04:21 +01:00
ded276b8a0 Add swipe gesture on photo Viewer 2021-11-22 23:21:51 +01:00
ac8c49d954 Prepend 0 to index if under 10 on Photo Viewer 2021-11-22 23:18:47 +01:00
8e56d58b30 Change Photo viewer controls and ButtonCircle 2021-11-21 22:41:35 +01:00
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
ac40eedb2f Use sveltekit:noscroll/prefetch on internal links 2021-11-17 19:25:59 +01:00
b835d0f5f6 Add photo's city on Photo viewer 2021-11-14 19:52:30 +01:00
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
f7af2aa8f3 Add city to House info if existing 2021-11-10 23:55:48 +01:00
73c9e80a21 Use SVG icons from global symbols
Allow to change color and avoid code duplication
2021-11-10 22:57:50 +01:00
adc395b3f7 Finish Photo viewer styling with responsive 2021-10-25 15:45:12 +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
ab9b0e1a59 Add style to Photo Viewer page 2021-10-19 12:22:20 +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
62ddc32795 [wip] Create photo detail page with informations 2021-10-16 22:32:13 +02:00
bee59dab90 Query Location page content 2021-09-26 23:36:58 +02:00