koinos / koinos-io-website

Repo for koinos.io website
MIT License
2 stars 6 forks source link

Use viewport visibility to show stats counters instead of scrolling #1

Closed jredbeard closed 11 months ago

jredbeard commented 11 months ago

Brief description

The CounterUp element used for displaying stats was using scrolling as a trigger - this adjusts it to use the IntersectionObserver API to determine if the element is in the viewport instead.

Checklist

netlify[bot] commented 11 months ago

Deploy Preview for koinos-io ready!

Name Link
Latest commit 11392aceb8584c365999d52b6bb3dc1739112739
Latest deploy log https://app.netlify.com/sites/koinos-io/deploys/65651052f3b03200087cda0b
Deploy Preview https://deploy-preview-1--koinos-io.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.