Today I got inspired by @andy and started to prototype my vinyl collection. So far, it is not integrated into the site and uses inline JSON data to generate the content via a custom #webcomponent. The goal is to have SSR on #CloudflarePages from data that is read every night from Discogs API. https://www.rarous.net/kolekce/vinyly
Added scroll animation to saturate the images on mobile devices. When the scroll animations aren't supported, it will saturate everything. This was a good guideline https://developer.chrome.com/docs/css-ui/scroll-driven-animations
Also added the possibility to play the album on Spotify. Currently, some albums didn't match because I'm using release year in the query. I improved the matching, but I hit rate limiting on Spotify Search API. So, waiting for the afternoon...
Odkaz "moje kolekce na Discogs" vede na "404! Oh no! We couldn't find that page."
- replies
- 1
- announces
- 0
- likes
- 1
@segedacz díky, zkus teď. Odkaz je stejný, jen jsem změnil nastavení privacy.
Implemented API, so the web components can be hydrated with data that are downloaded every midnight from Discogs and Spotify. At first the API was called from the client, then I added the ability to render the components in Cloudflare Pages Function with #Linkedom and attribute to by-pass re-fetch on the client.