This commit is contained in:
2024-10-20 15:34:36 -04:00
parent 32d2f796b7
commit dda214c6ed
+3 -1
View File
@@ -29,11 +29,13 @@ export default function MusicWidget() {
return (
<div className="bg-black p-2 text-white min-h-screen w-full justify-center flex items-center">
<div className="mx-auto text-center">
<img className="mx-auto mb-2" width="70" src={data.image.filter((v) => v.size === "large")[0]['#text']} />
<img className="mx-auto mb-2" width="100" src={data.image.filter((v) => v.size === "large")[0]['#text']} />
<div className="text-2xl">
<h1>{data.name}</h1>
<p>{data.artist['#text']}</p>
</div>
</div>
</div>
)
} else {
return (