Commit Graph

601 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
All checks were successful
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
All checks were successful
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
All checks were successful
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
All checks were successful
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
8c9000a7c9 Carousel: Fix animation import
All checks were successful
continuous-integration/drone/push Build is passing
2020-03-11 15:02:38 +01:00
c8ffd8bb51 Transition WIP
Some checks failed
continuous-integration/drone/push Build is failing
2020-03-11 14:51:52 +01:00
0b55be4222 Place: Add a gradient on illustration if too high
Some checks failed
continuous-integration/drone/push Build was killed
2020-03-11 14:51:21 +01:00
7b7cc50790 Add parallax effects on scroll (titles and photo) 2020-03-11 14:51:06 +01:00
94a93bbcd5 Set circles heights to 100% over 50vh
Some checks failed
continuous-integration/drone/push Build is failing
Depending on the viewport height, it could break the shape
2020-03-11 10:49:15 +01:00
6ece6a99df Place: Add API fields
Some checks failed
continuous-integration/drone/push Build is failing
2020-03-11 10:33:08 +01:00
e983a4f8b7 Footer: Fix links alignment 2020-03-11 10:31:44 +01:00
29834a5b95 Fix some accessibility issues on links without text 2020-03-11 10:31:11 +01:00
582ee688f3 Footer: Fix collective logo alignment on mobile
Some checks failed
continuous-integration/drone/push Build is failing
2020-03-10 21:26:00 +01:00
debd9a41c1 Place: Add photo Transition In, Add Illustration system, Visual fixes
- Add a transition in on each photo component (scale down + fade in), TODO: Parallax on number
- Illustration takes two images and changes the source depending on the viewport size
2020-03-10 21:25:48 +01:00
eb529b196e Viewer: Add intro animation, Visual fixes (WIP) 2020-03-10 21:24:06 +01:00
cc0d6c1dcd Carousel: Use the counter as a component
- Add animation when changing photos
- Reusable and scalable to more than XX photos
2020-03-10 21:22:53 +01:00
a60a67a892 Scope animations 2020-03-10 21:18:25 +01:00
c8bc7f39c8 TitleSite: Fix animation to the inline title only 2020-03-07 19:01:26 +01:00