main: added presigned url + favicon

Signed-off-by: nfel <nfilsaraee@gmail.com>
This commit is contained in:
2026-01-01 19:06:11 +03:30
parent 9fd79a2d4e
commit 9478aa319f
10 changed files with 955 additions and 124 deletions
+14 -4
View File
@@ -47,10 +47,20 @@ export default function AlbumCard({ album, isPurchased, onPlay, onPurchase }: Al
className="paper-card-light overflow-hidden group cursor-pointer hover:shadow-paper-lg transition-shadow"
>
{/* Album Cover */}
<div className="relative aspect-square bg-paper-brown flex items-center justify-center overflow-hidden border-b-2 border-paper-gray">
<div className="relative z-10 text-6xl font-bold text-paper-dark/20 p-8 text-center">
{album.title}
</div>
<div className="relative aspect-square bg-paper-brown overflow-hidden border-b-2 border-paper-gray">
{album.coverImage ? (
<img
src={album.coverImage}
alt={album.title}
className="w-full h-full object-cover"
/>
) : (
<div className="w-full h-full flex items-center justify-center">
<div className="relative z-10 text-6xl font-bold text-paper-dark/20 p-8 text-center">
{album.title}
</div>
</div>
)}
{/* Overlay on hover */}
<div className="absolute inset-0 bg-paper-dark/80 opacity-0 group-hover:opacity-100 transition-all duration-300 flex items-center justify-center gap-3">