Commit Graph

47 Commits

Author SHA1 Message Date
f6da3c4b55 Implement Interactive Globe on Homepage 2021-10-03 13:56:11 +02:00
7777d26907 Add hover effect on Location 2021-09-30 23:30:18 +02:00
c2ce89f049 Create helper function for getting asset URL from API 2021-09-26 23:37:33 +02:00
ac538692b9 Update config 2021-09-24 11:03:38 +02:00
bdbf511a75 ☠️ RESET for v2 2021-09-14 13:00:48 +02:00
b990f944ca Add City field to photos
Used for regions/wider locations
2020-08-22 19:53:50 +02:00
6a04e1568f My bad
All checks were successful
continuous-integration/drone/push Build is passing
2020-06-16 17:05:22 +02:00
4eb0ddb501 Don't offset relative time 2020-06-16 17:00:43 +02:00
3f506681b0 Add 2h offset on relative time 2020-06-02 14:54:39 +02:00
cd609cd710 Add a badge on locations for new photos
- The last updated date is taken from the latest photo of each location (without any other API call, just some data manipulation)
- Manipulation of data in the preload request instead of the code
2020-05-06 17:12:07 +02:00
c43b888d25 Fix the transition as it would get stuck sometimes
All checks were successful
continuous-integration/drone/push Build is passing
- Reproduction: Open two tabs, one would load, the other one would stay on the transition while the content of the page was ready and animated
2020-04-23 11:06:41 +02:00
17feb712b9 Fix API calls using a bearer auth token 2020-04-22 09:17:30 +02:00
ecc69e3206 TitleSite: Fix longer delay after first transition
All checks were successful
continuous-integration/drone/push Build is passing
2020-04-21 15:05:33 +02:00
bdf93e89fb Last little fixes and debugging 2020-04-21 13:09:11 +02:00
302af713d0 Globe: Add more props settings, Randomly position globe to a continent
- Add a little delay before restarting the rotation when hovering a marker
2020-04-19 17:34:51 +02:00
094614f83c Globe edits WIP
All checks were successful
continuous-integration/drone/push Build is passing
- Added visible continents to options
2020-04-19 14:49:52 +02:00
3c05d6d222 Performances optimizations WIP
All checks were successful
continuous-integration/drone/push Build is passing
2020-04-17 14:33:49 +02:00
b0b20da89b WIP performances
All checks were successful
continuous-integration/drone/push Build is passing
2020-04-16 17:40:18 +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
2ef3ad838c Nah, but keep the client load only
All checks were successful
continuous-integration/drone/push Build is passing
2020-04-13 10:50:10 +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
c5836dcbc1 Smooth scroll to anchor without a library
Custom function using scrollIntoView with smooth behavior
2020-04-07 18:47:09 +02:00
f414457172 Fix Intro?
All checks were successful
continuous-integration/drone/push Build is passing
2020-04-06 22:34:24 +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
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
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
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
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
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
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
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
846c575f1d Change lettersToSpan name to charsToSpan 2020-03-24 19:44:42 +01:00
7280e83d18 WIP
All checks were successful
continuous-integration/drone/push Build is passing
2020-03-22 17:34:24 +01:00
9965c9dec3 Rework API calls and each loops 2020-03-16 12:57:53 +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
c8ffd8bb51 Transition WIP
Some checks failed
continuous-integration/drone/push Build is failing
2020-03-11 14:51:52 +01:00
7b7cc50790 Add parallax effects on scroll (titles and photo) 2020-03-11 14:51:06 +01:00
a60a67a892 Scope animations 2020-03-10 21:18:25 +01:00
9ffc210c02 WIP Animations all over site
- Run a transition In for each page
- Involve a "loader" panel on page change
- TODO: tweak the animations and finish the concept
2020-03-06 14:22:51 +01:00
adf2563eb8 Reorganise functions, Use custom Format Date/Relative Time over dayjs 2020-03-06 14:14:17 +01:00
e98452673e Use ZenScroll for smooth scroll on anchors 2020-03-03 20:38:49 +01:00
d823f28054 Restructure utility files, Use a bundle.css to fix CSS issues
All checks were successful
continuous-integration/drone/push Build is passing
2020-03-03 15:36:57 +01:00
2fceb5d048 Add some SEO metas (WIP) 2020-03-02 22:33:01 +01:00