Commit Graph

1296 Commits

Author SHA1 Message Date
flayks 6ff05fea48 Fix Fullscreen double click bug, Default size for photos
- Reset the value of swiped when changing photo
2020-04-08 14:33:06 +02:00
flayks b28fd9b8fe Photos: Fix last photo truncated number
continuous-integration/drone/push Build is passing
2020-04-07 22:30:51 +02:00
flayks 9f405cc1d1 Carousel: Add URL to location 2020-04-07 22:30:24 +02:00
flayks fd8c718873 Fix some animations 2020-04-07 22:29:50 +02:00
flayks ed34e23cea Pagination: Fix sizes on smaller screens
Keep the big numbers for medium screens
2020-04-07 19:33:01 +02:00
flayks a93571842b Locations: Rework the Crossfade transition
Add a start value for the scale to make it more elegant
2020-04-07 19:24:40 +02:00
flayks c3c888da52 Locations: Add delay between each location reveal 2020-04-07 19:23:24 +02:00
flayks c5836dcbc1 Smooth scroll to anchor without a library
Custom function using scrollIntoView with smooth behavior
2020-04-07 18:47:09 +02:00
flayks 1a05c35fc8 Fix index animations
continuous-integration/drone/push Build is passing
2020-04-07 13:25:56 +02:00
flayks f414457172 Fix Intro?
continuous-integration/drone/push Build is passing
2020-04-06 22:34:24 +02:00
flayks 380d155350 Fix GTag preconnect URL 2020-04-06 20:25:02 +02:00
flayks adeb60c5cb TitleSite: Fix delay?
continuous-integration/drone/push Build is passing
2020-04-06 18:51:51 +02:00
flayks 203641918e Carousel: Don't use aria-hidden="false" 2020-04-06 18:51:42 +02:00
flayks 36f6c89f0d TitleSite: Try to fix this delay on init?
continuous-integration/drone/push Build is passing
2020-04-06 18:18:14 +02:00
flayks 6859aa1640 Viewer: Fix overflow and top part margins 2020-04-06 18:09:34 +02:00
flayks 90765b0725 More accessibility fixes
continuous-integration/drone/push Build is passing
2020-04-06 15:49:17 +02:00
flayks 6531a7b144 Prefetch Google Analytics
continuous-integration/drone/push Build is passing
2020-04-06 15:15:45 +02:00
flayks f37bef2628 Carousel: Fix ARIA stuff 2020-04-06 15:06:34 +02:00
flayks 23570d4df7 Preconnect to API
continuous-integration/drone/push Build is passing
2020-04-06 14:38:36 +02:00
flayks 85fadc6e05 Add manifest
continuous-integration/drone/push Build is passing
2020-04-06 14:27:41 +02:00
flayks 18c7943d0d Enable PWA
continuous-integration/drone/push Build is passing
2020-04-06 14:04:25 +02:00
flayks 11e06c51c9 Add some a11y to the mix
continuous-integration/drone/push Build is passing
2020-04-06 13:37:43 +02:00
flayks 6561b24f75 Carousel: Load only visible and sibling photos
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
flayks 8fabe68241 Code clean, 2020-04-06 12:21:47 +02:00
flayks 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
flayks bd9b91f480 ⚠️ Fix most animations/transitions performance issues
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
flayks 0b8086e63c Packages updates 2020-04-05 16:01:43 +02:00
flayks 587213f089 Add humans.txt 2020-04-05 16:01:25 +02:00
flayks bdc305a77a Fix some responsive and style
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
flayks 7601fe8b44 Fix global horizontal overflow 2020-04-04 18:13:13 +02:00
flayks 2170cd2e57 Fix some responsive and scrolling issues
continuous-integration/drone/push Build is passing
2020-04-04 16:11:42 +02:00
flayks 80f621d38b Locations: Fix container
continuous-integration/drone/push Build is passing
2020-04-04 13:03:03 +02:00
flayks 945b162318 Photo: Fix scroll and reveal 2020-04-04 13:02:51 +02:00
flayks b80941a0df Temporarily disable the globe 2020-04-04 12:46:46 +02:00
flayks db79ab01e9 Fix currentLocation unintentional reset
continuous-integration/drone/push Build is passing
2020-04-04 12:09:10 +02:00
flayks 6b374af18c Updates
continuous-integration/drone/push Build is passing
2020-04-04 11:54:13 +02:00
flayks 37c5cb2c4e Bring back the sapper-noscroll attribute
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
flayks 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
flayks 751694605a Carousel: Fix overlay corners 2020-04-04 11:37:54 +02:00
flayks 28dbc17c18 Fix Locations reveal
continuous-integration/drone/push Build is passing
2020-04-03 23:09:43 +02:00
flayks 18eee6952e Woops
continuous-integration/drone/push Build was killed
2020-04-03 23:07:57 +02:00
flayks 462359fcf2 Page and components animations rework WIP
continuous-integration/drone/push Build is passing
2020-04-03 23:03:00 +02:00
flayks 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
flayks 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
flayks 5a49bc7b5f Globe: Add country slug
continuous-integration/drone/push Build is failing
2020-04-02 21:08:46 +02:00
flayks 46358e880f Update Drone for dev only
continuous-integration/drone/push Build is failing
2020-04-02 21:02:39 +02:00
flayks 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
flayks 730eb75457 WIP attempt to fix page transitions, Several edits
continuous-integration/drone/push Build is passing
2020-04-02 16:07:31 +02:00
Jonathan Boyer 6f409c5331 fix: first animation & transition
continuous-integration/drone/push Build is passing
2020-04-01 21:28:17 +02:00
flayks 1cc823e9d1 Carousel: Card stacking effect on mobile
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