feat(web-player): label each explore result with its kind

This commit is contained in:
2026-07-21 18:13:46 +02:00
parent 787664f97b
commit b75c97a696
3 changed files with 13 additions and 3 deletions
@@ -275,6 +275,7 @@
<AlbumCard
id={album.id}
title={album.title}
typeLabel="Álbum"
releaseYear={album.releaseYear === null ? undefined : Number(album.releaseYear)}
trackCount={Number(album.trackCount)}
trackIds={album.coverTrackIds}
@@ -286,6 +287,7 @@
id={album.albumId}
href="/albums/youtube/{album.albumId}"
title={album.title}
typeLabel="Álbum"
subtitle={album.artist}
releaseYear={album.releaseYear === null ? undefined : Number(album.releaseYear)}
coverSrc={album.thumbnailUrl}
@@ -314,6 +316,7 @@
id={targetId(item)}
title={targetTitle(item)}
artist={targetArtist(item)}
typeLabel="Canción"
coverSrc={targetCoverSrc(item)}
hue={hueFor(targetId(item))}
explicit={targetExplicit(item)}