Commit Graph

545 Commits

Author SHA1 Message Date
b00fbd031e Viewer: Fix Carousel elements positioning 2020-03-31 20:02:27 +02:00
88186f479c Photo: Code optimization
All checks were successful
continuous-integration/drone/push Build is passing
- Avoid double declaration of sources
- Use class over an HTML tag for image reveal animation
2020-03-31 17:55:32 +02:00
fc74a93508 Temp Eslint fixes 2020-03-31 10:48:37 +02:00
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
2dc51a167a ⚠️ Use alias Rollup plugin to omit full imports
All checks were successful
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
58adc052c4 Photo transition: Wait for image to be loaded
All checks were successful
continuous-integration/drone/push Build is passing
2020-03-30 20:19:49 +02:00
0767e95520 Preload fonts
All checks were successful
continuous-integration/drone/push Build is passing
2020-03-29 21:10:15 +02:00
59f287af2b Optimize some components
All checks were successful
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
02974aa00c Photo: Fix Number parallax and Location margins 2020-03-29 19:44:00 +02:00
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
9a8d201f7e Viewer: Coordinate page title and metas 2020-03-29 19:35:02 +02:00
7f155d495f Add canonical link globally 2020-03-29 19:34:54 +02:00
3e6a35f78f Photo: Fix usage of same ID for transition 2020-03-29 19:20:48 +02:00
1e323ca8a9 Viewer: Change page title on change, Code clean
All checks were successful
continuous-integration/drone/push Build is passing
2020-03-29 19:02:51 +02:00
86a38c8987 Carousel: Add rel attributes to controls
All checks were successful
continuous-integration/drone/push Build is passing
2020-03-29 18:45:15 +02:00
abfbc3e7ce Update site icons 2020-03-29 18:44:58 +02:00
18b9ece009 Fullscreen fixes
All checks were successful
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
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
25fa9e1c07 Fix some spacing
All checks were successful
continuous-integration/drone/push Build is passing
- Footer links icons
- Browse locations
2020-03-29 12:17:50 +02:00
0c0792086d NPM packages updates
All checks were successful
continuous-integration/drone/push Build is passing
2020-03-29 12:07:02 +02:00
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
0ebd6b2601 Homepage: Enable Fullscreen on Carousel
All checks were successful
continuous-integration/drone/push Build is passing
2020-03-28 22:09:27 +01:00
f4ac0e89fd Enable global transitions
All checks were successful
continuous-integration/drone/push Build is passing
2020-03-28 21:57:42 +01:00
40811ab21e Carousel: Use swipe-listener for proper swipe gesture
All checks were successful
continuous-integration/drone/push Build is passing
2020-03-28 20:02:02 +01:00
a883c3ba94 Enable global site transition via a .env boolean
All checks were successful
continuous-integration/drone/push Build is passing
2020-03-28 18:05:47 +01:00
0635b65abf Add Fullscreen in viewer, Track links with Google Analytics, Use .env file
All checks were successful
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
23db9e343c Add larger icon for iOS
All checks were successful
continuous-integration/drone/push Build is passing
2020-03-28 12:49:23 +01:00
fbdbe21dd6 Use server detected host for sharing URLs 2020-03-28 12:48:59 +01:00
3a4b1c2c85 Carousel: Fix dispatch default parameter value
All checks were successful
continuous-integration/drone/push Build is passing
2020-03-27 11:23:04 +01:00
af53f4240f Place: Reduce image API call to private_hash
All checks were successful
continuous-integration/drone/push Build is passing
Avoids all the unnecessary informations such as thumbnails, etc
2020-03-27 11:14:27 +01:00
ebf1d99645 Code clean 2020-03-27 11:14:16 +01:00
b77f67d3b3 NPM packages updates
Some checks failed
continuous-integration/drone/push Build is failing
2020-03-26 19:49:28 +01:00
9feafe70fc Make width optional for getThumbnail function 2020-03-26 19:49:15 +01:00
5defbcfad6 Carousel: Fix counter text alignment 2020-03-26 19:48:17 +01: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
6edbfc9def Carousel: Fix min-height for the location on mobile
All checks were successful
continuous-integration/drone/push Build is passing
2020-03-25 12:31:51 +01:00
7d8285ac6d Photo: Fix number positioning and parallax effect
All checks were successful
continuous-integration/drone/push Build is passing
2020-03-25 12:28:47 +01:00
8f73e3d56e NPM packages updates
All checks were successful
continuous-integration/drone/push Build is passing
2020-03-25 12:21:24 +01:00
278684ba95 Prefetch links 2020-03-25 12:20:03 +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
093c87d156 Place: Add a max-height to the illustration 2020-03-24 22:56:22 +01:00
63f8cd1ae3 Fix pagination padding 2020-03-24 22:55:46 +01:00
846c575f1d Change lettersToSpan name to charsToSpan 2020-03-24 19:44:42 +01:00
3d9702db33 Fix pagination message not appearing 2020-03-24 19:44:01 +01:00
dedf400ea8 Fix things
All checks were successful
continuous-integration/drone/push Build is passing
2020-03-22 20:07:11 +01:00
039e664325 Fix robots.txt sitemap URL
All checks were successful
continuous-integration/drone/push Build is passing
2020-03-22 17:39:58 +01:00
7280e83d18 WIP
All checks were successful
continuous-integration/drone/push Build is passing
2020-03-22 17:34:24 +01:00
3d07c3e887 Temp fix for CSS: Use style over a bundled file 2020-03-22 17:34:17 +01:00
863b26da1c NPM packages updates 2020-03-22 17:33:43 +01:00
b65cbc7eae Robots.txt file
Includes sitemap
2020-03-22 17:33:15 +01:00