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
...
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
continuous-integration/drone/push Build is passing
2020-03-30 20:19:49 +02:00
0767e95520
Preload fonts
continuous-integration/drone/push Build is passing
2020-03-29 21:10:15 +02:00
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
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
continuous-integration/drone/push Build is passing
2020-03-29 19:02:51 +02:00
86a38c8987
Carousel: Add rel attributes to controls
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
...
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
...
continuous-integration/drone/push Build is passing
- Footer links icons
- Browse locations
2020-03-29 12:17:50 +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
continuous-integration/drone/push Build is passing
2020-03-28 22:09:27 +01:00
40811ab21e
Carousel: Use swipe-listener for proper swipe gesture
continuous-integration/drone/push Build is passing
2020-03-28 20:02:02 +01:00
a883c3ba94
Enable global site transition via a .env boolean
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
...
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
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
continuous-integration/drone/push Build is passing
2020-03-27 11:23:04 +01:00
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
ebf1d99645
Code clean
2020-03-27 11:14:16 +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
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
continuous-integration/drone/push Build is passing
2020-03-25 12:31:51 +01:00
7d8285ac6d
Photo: Fix number positioning and parallax effect
continuous-integration/drone/push Build is passing
2020-03-25 12:28:47 +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
continuous-integration/drone/push Build is passing
2020-03-22 20:07:11 +01:00
7280e83d18
WIP
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
d9c529eae0
Place: Fix fields
2020-03-22 17:32:07 +01:00
4d2d853808
Add sitemap route
...
Adds routes and locations to sitemap.xml file
2020-03-22 17:30:58 +01:00
8c8ee101f2
Manage displayed photos via the API
...
continuous-integration/drone/push Build is passing
Define limits (for homepage carousel and photos per page on a place) in the site settings via a slider
2020-03-16 13:11:58 +01:00
9965c9dec3
Rework API calls and each loops
2020-03-16 12:57:53 +01:00
ba5d1de780
Place: Fix title alignments and margins
continuous-integration/drone/push Build is passing
2020-03-11 19:23:56 +01:00
6c5f4f41e1
Place: Conditions if undefined latest photo and no illustration
2020-03-11 19:14:30 +01:00
761bfa7486
Transition: Don't animate height
...
continuous-integration/drone/push Build is passing
So use a background div to squeeze and move other elements as well
2020-03-11 18:33:35 +01:00
b61bb805e8
Place: Fix modified_on date format to pass into functions
continuous-integration/drone/push Build is passing
2020-03-11 17:54:13 +01:00
8aa2524e7f
Cleanup
2020-03-11 17:23:58 +01:00