a11y improvements
This commit is contained in:
parent
3eb42a820e
commit
01da52e855
|
@ -38,6 +38,7 @@ export default function SpotifyNowPlaying() {
|
|||
<img
|
||||
src={nowPlaying.album.image}
|
||||
className="rounded-xl w-10 h-10 absolute opacity-50"
|
||||
alt={nowPlaying.album.name}
|
||||
/>
|
||||
|
||||
<a
|
||||
|
@ -45,6 +46,7 @@ export default function SpotifyNowPlaying() {
|
|||
target="_blank"
|
||||
rel="noreferrer"
|
||||
className="z-50 text-white"
|
||||
title="View on Last.fm"
|
||||
>
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
|
|
|
@ -20,8 +20,13 @@ export default function WAIWO() {
|
|||
href={`https://github.com/${repo.repo}`}
|
||||
target="_blank"
|
||||
rel="noreferrer"
|
||||
title="View on GitHub"
|
||||
>
|
||||
<img className="flex-1 self-stretch rounded-xl" src={repo.image} />
|
||||
<img
|
||||
className="flex-1 self-stretch rounded-xl"
|
||||
src={repo.image}
|
||||
alt={repo.repo}
|
||||
/>
|
||||
</a>
|
||||
) : (
|
||||
<div className="block w-full h-40 rounded-xl bg-gray-200 animate-pulse"></div>
|
||||
|
|
Loading…
Reference in New Issue
Block a user