Commit Graph

4 Commits

Author SHA1 Message Date
e27e8a16db Code clean
- Imports/exports always at top
- Sapper template not needing a div to execute
- NPM packages updates: @rollup/plugin-commonjs 11.1.0 has a bug about import/exports
2020-04-12 11:54:08 +02:00
ca07fe364e Viewer: Finally fix Carousel navigation depending on URL
- Instead of detecting every case using popState event or whatnot, used a Sapper page stores subscribe to go to the current photo from the URL param (findIndex in photos)
- No page transition when navigating between photos in Viewer, but runs In and Out
- Also shortened dispatches to direct value over an object
2020-03-29 18:13:27 +02:00
f11185e940 Pagination dots: Add class as a prop
All checks were successful
continuous-integration/drone/push Build is passing
2020-03-25 14:26:31 +01:00
498f3c0c17 Use a component for carousel dots
- Show 5 dots by default
- First and last one from current index are smaller
- Other ones are hidden
2020-03-25 12:19:48 +01:00