Commit Graph

1119 Commits

Author SHA1 Message Date
587213f089 Add humans.txt 2020-04-05 16:01:25 +02:00
bdc305a77a Fix some responsive and style
All checks were successful
continuous-integration/drone/push Build is passing
- Fullscreen: center image + add a background color
- Carousel: don't cut informations
- Title location font size
- Style location line height
- Photo reveal effect
- Photo has now a transparent png
2020-04-04 20:35:09 +02:00
7601fe8b44 Fix global horizontal overflow 2020-04-04 18:13:13 +02:00
2170cd2e57 Fix some responsive and scrolling issues
All checks were successful
continuous-integration/drone/push Build is passing
2020-04-04 16:11:42 +02:00
80f621d38b Locations: Fix container
All checks were successful
continuous-integration/drone/push Build is passing
2020-04-04 13:03:03 +02:00
945b162318 Photo: Fix scroll and reveal 2020-04-04 13:02:51 +02:00
b80941a0df Temporarily disable the globe 2020-04-04 12:46:46 +02:00
db79ab01e9 Fix currentLocation unintentional reset
All checks were successful
continuous-integration/drone/push Build is passing
2020-04-04 12:09:10 +02:00
6b374af18c Updates
All checks were successful
continuous-integration/drone/push Build is passing
2020-04-04 11:54:13 +02:00
37c5cb2c4e Bring back the sapper-noscroll attribute
All checks were successful
continuous-integration/drone/push Build is passing
Window scroll is now been triggered manually during the page transition and not automatically by Sapper
2020-04-04 11:46:17 +02:00
94fa63ef41 Fix pages and components animations
- Fix delays
- Add the init back for TitleSite as it needs a delay for the page instance vs. loader
2020-04-04 11:45:26 +02:00
751694605a Carousel: Fix overlay corners 2020-04-04 11:37:54 +02:00
28dbc17c18 Fix Locations reveal
All checks were successful
continuous-integration/drone/push Build is passing
2020-04-03 23:09:43 +02:00
18eee6952e Woops
Some checks failed
continuous-integration/drone/push Build was killed
2020-04-03 23:07:57 +02:00
462359fcf2 Page and components animations rework WIP
All checks were successful
continuous-integration/drone/push Build is passing
2020-04-03 23:03:00 +02:00
7e0d1e33fb ⚠️ Rework completely how transitions works
- Use Svelte/Sapper native if and transitions to show either the page content or the loader, then load each page animationIn
- Code is safe on SSR side, using process.browser on this if
- The <main> element is on position absolute to fade nicely the different pages
- Code cleaning
2020-04-03 23:02:17 +02:00
76e2f8242e Sitemap.xml: Add last updated date
Get each location last photo created date as the latest content added
2020-04-03 21:07:41 +02:00
5a49bc7b5f Globe: Add country slug
Some checks failed
continuous-integration/drone/push Build is failing
2020-04-02 21:08:46 +02:00
46358e880f Update Drone for dev only
Some checks failed
continuous-integration/drone/push Build is failing
2020-04-02 21:02:39 +02:00
2064885997 WIP Interactive globe from Nico's sources
- The globe is a bit small? Ability to control the max-min size potentially
- Is there a reason why `globe.update()` runs every second? Sounds like a lot of resources?
- Have the ability to control the `addEventListener` of the markers to do whatever (in this case, going to a route by clicking on a link with a sapper-noscroll attribute + changing the href attribute on click - the method `goto` from Sapper scrolls back to top / maybe something to fix with the current transition issues?)
- Edited in `./index.js`:
    1. Using the class as `export default WebglGlobe` instead of Window (as Svelte or Sapper doesn't likayt)
- Edited in `Camera.js`:
    1. Commented line 218: `e.preventDefault();` would cause this error: `[Intervention] Unable to preventDefault inside passive event listener due to target being treated as passive. See <URL>`
2020-04-02 20:59:40 +02:00
730eb75457 WIP attempt to fix page transitions, Several edits
All checks were successful
continuous-integration/drone/push Build is passing
2020-04-02 16:07:31 +02:00
6f409c5331 fix: first animation & transition
All checks were successful
continuous-integration/drone/push Build is passing
2020-04-01 21:28:17 +02:00
1cc823e9d1 Carousel: Card stacking effect on mobile
All checks were successful
continuous-integration/drone/push Build is passing
- As well as a grabbing cursor to indicate the click and drag interaction
2020-03-31 20:03:42 +02:00
e2602b4806 Counter: Redefine each column's height on browser resize as well 2020-03-31 20:02:55 +02:00
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