Commit Graph

10 Commits

Author SHA1 Message Date
dd57ea968e Fix Page transitions and scroll back to top
Might fix all the issues so far!
- start page loading on entering page transition start
- scroll back to top on leaving page transition end
2022-10-11 23:53:03 +02:00
fd37c36595 🚧 Use PageTransition as a div and switch
- use a page classed div for PageTransition which avoids to make global style for the page
- fix the loading spinner that was too short and would come and go before arriving on the page, now fades out when changing page as pageLoading is defined on the PageTransition afterUpdate
2022-10-09 14:44:44 +02:00
025bb522a9 Enable page transition on Shop index 2022-07-16 15:50:52 +02:00
3de6764fb5 Cleanup & Redefine font weights 2022-05-20 22:28:35 +02:00
7c369794c1 Scroll back to top when transition out is finished
Potentially the end of nightmares for page transitions with `sveltekit:noscroll`?
2022-03-21 14:05:54 +01:00
729138cffb [chore] Update npm packages and fix errors/run migrations 2022-01-03 20:12:22 +01:00
82f5dd4727 [wip] Rework Shop
- Change strategy for content fetching
- Add a route per page instead of using __layout for all
- Change the behaviors of the posters section (add a carousel on small screens)
- Change Poster buttons styling and make interactions only for desktop
2021-12-14 23:23:12 +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
f95d793d58 Rename PageTransition prop 2021-11-30 19:49:55 +01:00
f8fe141505 Use page transition component to avoid repetition on main 2021-11-30 00:23:36 +01:00