Commit Graph

51 Commits

Author SHA1 Message Date
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 305272ea7c Center Location name for now 2021-11-25 23:30:59 +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 8e56d58b30 Change Photo viewer controls and ButtonCircle 2021-11-21 22:41:35 +01:00
flayks 8d487e0ef7 Use a picture element for Location illustration
Probably better for performances
2021-11-21 16:50:24 +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 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 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 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 f7af2aa8f3 Add city to House info if existing 2021-11-10 23:55:48 +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 a88359c468 Fix pink light buttons 2021-11-08 12:14:53 +01:00
shelbykay cb175073d0 Add new variants for cart buttons 2021-11-04 16:05:39 +01:00
flayks 365b8f5390 Use filtered aggregated photos count on Location page 2021-11-01 11:11:33 +01:00
flayks adc395b3f7 Finish Photo viewer styling with responsive 2021-10-25 15:45:12 +02:00
flayks e830a18454 Use total photos count from global data 2021-10-24 22:20:01 +02:00
flayks 04a0b2bec5 Fix Location page photos overflow hiding its index 2021-10-24 22:03:18 +02:00
flayks 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
shelbykay ab9b0e1a59 Add style to Photo Viewer page 2021-10-19 12:22:20 +02:00
flayks 38006355db Add Metas on Location page 2021-10-17 22:18:03 +02:00
flayks 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
flayks ea2162c2b9 Fix Location page total photos amount 2021-10-17 13:41:38 +02:00
flayks 62ddc32795 [wip] Create photo detail page with informations 2021-10-16 22:32:13 +02:00
flayks f9937f6c9a [bug] Import dayjs plugins with js extension 2021-10-12 23:01:55 +02:00
flayks 56c523679b Show message when no photos are available on Location 2021-10-12 17:12:33 +02:00
flayks a92d5465e6 Check for when there are no photos 2021-10-12 15:09:20 +02:00
flayks ab6227b7e6 Use aggregated data from Directus to count photos on Location page 2021-10-12 00:06:55 +02:00
flayks 80a972253f Use stuff on page load function 2021-10-12 00:06:14 +02:00
flayks bda355d608 Fix Pagination and Newsletter module on Location page 2021-10-10 21:40:50 +02:00
flayks 51dc9650ec Add dynamic photo's index on Location page 2021-10-10 21:40:30 +02:00
flayks e44f51c0c4 Add Newsletter module when reached end on Location page 2021-10-10 14:20:21 +02:00
flayks 8aa3ddfe35 🔥 Load new photos on Location page 2021-10-09 22:24:37 +02:00
flayks 437c0e173b Add relative date from latest photo on Location page 2021-10-09 12:04:48 +02:00
shelbykay eb6762b240 Edit and WIP on Location page
Create house component
2021-10-07 22:10:16 +02:00
shelbykay c66b8b0d90 Create Location page 2021-10-07 14:47:37 +02:00
flayks a95e8b91b2 [wip] List photos on location page 2021-10-02 20:38:13 +02:00