feat: update commit SHA, enhance artist and album components with improved layout and functionality, and update favorites page to display artist cover art

This commit is contained in:
2025-07-01 22:48:48 +00:00
committed by GitHub
parent 87a2f06053
commit 0cb4f23f12
5 changed files with 86 additions and 19 deletions

View File

@@ -282,7 +282,13 @@ const FavoritesPage = () => {
<Card key={artist.id} className="overflow-hidden">
<CardContent className="p-6 text-center">
<div className="w-20 h-20 mx-auto mb-4">
<ArtistIcon artist={artist} />
<Image
src={artist.coverArt && api ? api.getCoverArtUrl(artist.coverArt, 200) : '/placeholder-artist.png'}
alt={artist.name}
width={200}
height={200}
className="object-cover w-full h-full"
/>
</div>
<h3 className="font-semibold truncate">{artist.name}</h3>
<p className="text-sm text-muted-foreground">