Commit Graph

931 Commits

Author SHA1 Message Date
90765b0725 More accessibility fixes
All checks were successful
continuous-integration/drone/push Build is passing
2020-04-06 15:49:17 +02:00
6531a7b144 Prefetch Google Analytics
All checks were successful
continuous-integration/drone/push Build is passing
2020-04-06 15:15:45 +02:00
f37bef2628 Carousel: Fix ARIA stuff 2020-04-06 15:06:34 +02:00
23570d4df7 Preconnect to API
All checks were successful
continuous-integration/drone/push Build is passing
2020-04-06 14:38:36 +02:00
85fadc6e05 Add manifest
All checks were successful
continuous-integration/drone/push Build is passing
2020-04-06 14:27:41 +02:00
18c7943d0d Enable PWA
All checks were successful
continuous-integration/drone/push Build is passing
2020-04-06 14:04:25 +02:00
11e06c51c9 Add some a11y to the mix
All checks were successful
continuous-integration/drone/push Build is passing
2020-04-06 13:37:43 +02:00
6561b24f75 Carousel: Load only visible and sibling photos
All checks were successful
continuous-integration/drone/push Build is passing
Reduces page load:
- Preload the current and 2 next and previous ones
- If first of last photo, load the 2 last or first ones on the list
2020-04-06 13:00:34 +02:00
8fabe68241 Code clean, 2020-04-06 12:21:47 +02:00
60fdf02112 Photo: Tweak reveal animations and fix horizontal scroll
- Photo number doesn't jumps anymore (now reveals based on photo not the number)
- Properly reveal title locations lines
- Optimize code
2020-04-06 12:14:48 +02:00
bd9b91f480 ⚠️ Fix most animations/transitions performance issues
All checks were successful
continuous-integration/drone/push Build is passing
- Basically add `will-change` to CSS elements to enable GPU animations, less choppy, more sassy
- Use requestAnimationFrame over setTimeout
- Avoid repaints AMAP
2020-04-05 16:07:44 +02:00
0b8086e63c Packages updates 2020-04-05 16:01:43 +02:00
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