--- interface Props { title: string; artist: string; album: string; youtubeLink: string; index: number; } const { title, artist, album, youtubeLink, index } = Astro.props; const uniqueArtists = [...new Set(artist.split(",").map((a) => a.trim()))].join( ", ", ); const videoId = youtubeLink.split("v=")[1]; const thumbnail = `https://img.youtube.com/vi/${videoId}/maxresdefault.jpg`; ---

{title}

{uniqueArtists}

{album}