Closed w0rd-driven closed 1 year ago
This may make more sense as a component as there are now 3 places with very similar styles. At the very least an album_art
stateless component may be handy but there are subtle differences between artist show, album index, and album show.
It should be possible to encapsulate this and add a class prop (I map attr to props in React/Vue/Svelte land. I honestly wish they reused the term) that might cover each scenario. It would also be useful to add the lazy loading new hotness if possible.
check-circle
orcheck-badge
foris_owned == true
with a green background.x-circle
orexclamation-circle
with a red or orange background.is_owned == false
to highlight that something isn't owned.