Commit Graph

1343 Commits

Author SHA1 Message Date
flayks fc74a93508 Temp Eslint fixes 2020-03-31 10:48:37 +02:00
flayks 5ac5d6803f Use Destructuring variables to avoid repetitions
- Easier to read and write
- Also fixes fullscreen when leaving the viewer, my bad
2020-03-31 10:35:51 +02:00
flayks 2dc51a167a ⚠️ Use alias Rollup plugin to omit full imports
continuous-integration/drone/push Build is passing
- Define entries (utils, animations, etc) in the Rollup config in order to omit the whole back path (../../) when importing a file
- Global revoleExtensions in the config (to avoid duplicates)
2020-03-30 23:53:01 +02:00
flayks 58adc052c4 Photo transition: Wait for image to be loaded
continuous-integration/drone/push Build is passing
2020-03-30 20:19:49 +02:00
flayks 0767e95520 Preload fonts
continuous-integration/drone/push Build is passing
2020-03-29 21:10:15 +02:00
flayks 59f287af2b Optimize some components
continuous-integration/drone/push Build is passing
- Use binding of this over `document.querySelector` calls
- Use else if over a chained else and if condition
2020-03-29 19:49:01 +02:00
flayks 02974aa00c Photo: Fix Number parallax and Location margins 2020-03-29 19:44:00 +02:00
flayks 3b93e5e994 Fix error when leaving Viewer
The carousel would go to a photo that doesn't exists
2020-03-29 19:40:32 +02:00
flayks 9a8d201f7e Viewer: Coordinate page title and metas 2020-03-29 19:35:02 +02:00
flayks 7f155d495f Add canonical link globally 2020-03-29 19:34:54 +02:00
flayks 3e6a35f78f Photo: Fix usage of same ID for transition 2020-03-29 19:20:48 +02:00
flayks 1e323ca8a9 Viewer: Change page title on change, Code clean
continuous-integration/drone/push Build is passing
2020-03-29 19:02:51 +02:00
flayks 86a38c8987 Carousel: Add rel attributes to controls
continuous-integration/drone/push Build is passing
2020-03-29 18:45:15 +02:00
flayks abfbc3e7ce Update site icons 2020-03-29 18:44:58 +02:00
flayks 18b9ece009 Fullscreen fixes
continuous-integration/drone/push Build is passing
- Due to the Homepage carousel animation, fullscreen was constraint to the top of the parent block. Resetting the style on transition complete fixes it
- Check if scope exists before emptying its image content
2020-03-29 18:16:05 +02:00
flayks 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
flayks 25fa9e1c07 Fix some spacing
continuous-integration/drone/push Build is passing
- Footer links icons
- Browse locations
2020-03-29 12:17:50 +02:00
flayks 0c0792086d NPM packages updates
continuous-integration/drone/push Build is passing
2020-03-29 12:07:02 +02:00
flayks cccba52fdc Footer: Use a SVG over image for Instagram
Allows to fill a different color on hover
2020-03-29 12:06:47 +02:00
flayks 0ebd6b2601 Homepage: Enable Fullscreen on Carousel
continuous-integration/drone/push Build is passing
2020-03-28 22:09:27 +01:00
flayks f4ac0e89fd Enable global transitions
continuous-integration/drone/push Build is passing
2020-03-28 21:57:42 +01:00
flayks 40811ab21e Carousel: Use swipe-listener for proper swipe gesture
continuous-integration/drone/push Build is passing
2020-03-28 20:02:02 +01:00
flayks a883c3ba94 Enable global site transition via a .env boolean
continuous-integration/drone/push Build is passing
2020-03-28 18:05:47 +01:00
flayks 0635b65abf Add Fullscreen in viewer, Track links with Google Analytics, Use .env file
continuous-integration/drone/push Build is passing
- Fullscreen is a component that watches a store value set by the Carousel component on a picture click
- Use a .env file for API and website related settings and informations
- Google Analytics is now in place, tracking each routes link and viewer photo change
2020-03-28 15:21:51 +01:00
flayks 23db9e343c Add larger icon for iOS
continuous-integration/drone/push Build is passing
2020-03-28 12:49:23 +01:00
flayks fbdbe21dd6 Use server detected host for sharing URLs 2020-03-28 12:48:59 +01:00
flayks 3a4b1c2c85 Carousel: Fix dispatch default parameter value
continuous-integration/drone/push Build is passing
2020-03-27 11:23:04 +01:00
flayks af53f4240f Place: Reduce image API call to private_hash
continuous-integration/drone/push Build is passing
Avoids all the unnecessary informations such as thumbnails, etc
2020-03-27 11:14:27 +01:00
flayks ebf1d99645 Code clean 2020-03-27 11:14:16 +01:00
flayks b77f67d3b3 NPM packages updates
continuous-integration/drone/push Build is failing
2020-03-26 19:49:28 +01:00
flayks 9feafe70fc Make width optional for getThumbnail function 2020-03-26 19:49:15 +01:00
flayks 5defbcfad6 Carousel: Fix counter text alignment 2020-03-26 19:48:17 +01:00
flayks f11185e940 Pagination dots: Add class as a prop
continuous-integration/drone/push Build is passing
2020-03-25 14:26:31 +01:00
flayks 6edbfc9def Carousel: Fix min-height for the location on mobile
continuous-integration/drone/push Build is passing
2020-03-25 12:31:51 +01:00
flayks 7d8285ac6d Photo: Fix number positioning and parallax effect
continuous-integration/drone/push Build is passing
2020-03-25 12:28:47 +01:00
flayks 8f73e3d56e NPM packages updates
continuous-integration/drone/push Build is passing
2020-03-25 12:21:24 +01:00
flayks 278684ba95 Prefetch links 2020-03-25 12:20:03 +01:00
flayks 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
flayks 093c87d156 Place: Add a max-height to the illustration 2020-03-24 22:56:22 +01:00
flayks 63f8cd1ae3 Fix pagination padding 2020-03-24 22:55:46 +01:00
flayks 846c575f1d Change lettersToSpan name to charsToSpan 2020-03-24 19:44:42 +01:00
flayks 3d9702db33 Fix pagination message not appearing 2020-03-24 19:44:01 +01:00
flayks dedf400ea8 Fix things
continuous-integration/drone/push Build is passing
2020-03-22 20:07:11 +01:00
flayks 039e664325 Fix robots.txt sitemap URL
continuous-integration/drone/push Build is passing
2020-03-22 17:39:58 +01:00
flayks 7280e83d18 WIP
continuous-integration/drone/push Build is passing
2020-03-22 17:34:24 +01:00
flayks 3d07c3e887 Temp fix for CSS: Use style over a bundled file 2020-03-22 17:34:17 +01:00
flayks 863b26da1c NPM packages updates 2020-03-22 17:33:43 +01:00
flayks b65cbc7eae Robots.txt file
Includes sitemap
2020-03-22 17:33:15 +01:00
flayks d9c529eae0 Place: Fix fields 2020-03-22 17:32:07 +01:00
flayks 4d2d853808 Add sitemap route
Adds routes and locations to sitemap.xml file
2020-03-22 17:30:58 +01:00