This commit is contained in:
2024-10-20 15:34:36 -04:00
parent 32d2f796b7
commit dda214c6ed
+5 -3
View File
@@ -29,9 +29,11 @@ export default function MusicWidget() {
return ( return (
<div className="bg-black p-2 text-white min-h-screen w-full justify-center flex items-center"> <div className="bg-black p-2 text-white min-h-screen w-full justify-center flex items-center">
<div className="mx-auto text-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']} />
<h1>{data.name}</h1> <div className="text-2xl">
<p>{data.artist['#text']}</p> <h1>{data.name}</h1>
<p>{data.artist['#text']}</p>
</div>
</div> </div>
</div> </div>
) )