Commit Graph

101 Commits

Author SHA1 Message Date
b0b20da89b WIP performances
All checks were successful
continuous-integration/drone/push Build is passing
2020-04-16 17:40:18 +02:00
239a47104e Use lazySizes globally
All checks were successful
continuous-integration/drone/push Build is passing
2020-04-16 17:20:29 +02:00
7f3f2ac3ba WIP on performances
All checks were successful
continuous-integration/drone/push Build is passing
2020-04-16 16:40:33 +02:00
aeb4196918 Fix some stuff
All checks were successful
continuous-integration/drone/push Build is passing
- Error page now displaying (+ removed globe, more space between content and footer)
- Manipulate data if existing
2020-04-14 22:23:01 +02:00
5a00c6f552 Disable Google Analytics tracker for dev and Google PageSpeed bot
All checks were successful
continuous-integration/drone/push Build is passing
2020-04-13 10:38:52 +02:00
c059c07778 Place: Bind window width to a variable
An error (window is not defined) would throw otherwise
2020-04-12 11:58:21 +02:00
e27e8a16db Code clean
- Imports/exports always at top
- Sapper template not needing a div to execute
- NPM packages updates: @rollup/plugin-commonjs 11.1.0 has a bug about import/exports
2020-04-12 11:54:08 +02:00
7180419fb0 Place: Add @1x desktop illustration size, Optimize responsive
All checks were successful
continuous-integration/drone/push Build is passing
2020-04-11 19:33:37 +02:00
90bdb5890d Place: Fix illustration conditions and uneven margin
All checks were successful
continuous-integration/drone/push Build is passing
2020-04-11 11:18:23 +02:00
e5668f3a72 Fix SVGs
All checks were successful
continuous-integration/drone/push Build is passing
2020-04-10 12:16:38 +02:00
abe09f0f69 Fix responsive margins and spacing around the globe
All checks were successful
continuous-integration/drone/push Build is passing
2020-04-09 23:53:43 +02:00
67902bc5a8 Globe: Modify the cut version 2020-04-09 23:10:21 +02:00
7a44d5b0ed ⚠️ The interactive globe has arrived (WIP but pretty good)
- Control the width/height of the globe via CSS
2020-04-09 20:22:10 +02:00
e0abb558d8 Viewer: Fix responsive and positioning 2020-04-08 19:31:24 +02:00
240c92c6f6 Viewer: Fix scrolling back up when changing photo 2020-04-08 14:33:24 +02:00
9f405cc1d1 Carousel: Add URL to location 2020-04-07 22:30:24 +02:00
c5836dcbc1 Smooth scroll to anchor without a library
Custom function using scrollIntoView with smooth behavior
2020-04-07 18:47:09 +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
8fabe68241 Code clean, 2020-04-06 12:21:47 +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
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
db79ab01e9 Fix currentLocation unintentional reset
All checks were successful
continuous-integration/drone/push Build is passing
2020-04-04 12:09:10 +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
18eee6952e Woops
Some checks failed
continuous-integration/drone/push Build was killed
2020-04-03 23:07:57 +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
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
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
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
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
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
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
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
fbdbe21dd6 Use server detected host for sharing URLs 2020-03-28 12:48:59 +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
278684ba95 Prefetch links 2020-03-25 12:20:03 +01:00
846c575f1d Change lettersToSpan name to charsToSpan 2020-03-24 19:44:42 +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
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
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
6ece6a99df Place: Add API fields
Some checks failed
continuous-integration/drone/push Build is failing
2020-03-11 10:33:08 +01:00