fix alt tags
All checks were successful
Deploy SSR / deploy (push) Successful in 1m12s

This commit is contained in:
Lee 2024-09-12 19:29:56 +01:00
parent 2ecffe7c1f
commit e26cd4b39c
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ export default function ProfileButton() {
<NavbarButton>
<Link href={`/player/${settings.playerId}`} className="flex items-center gap-2">
<Avatar className="w-6 h-6">
<AvatarImage src={`https://cdn.scoresaber.com/avatars/${settings.playerId}.jpg`} />
<AvatarImage alt="Profile Picture" src={`https://cdn.scoresaber.com/avatars/${settings.playerId}.jpg`} />
</Avatar>
<p>You</p>
</Link>

View File

@ -43,7 +43,7 @@ export default function PlayerHeader({ player }: Props) {
<Card>
<div className="flex gap-3 flex-col items-center text-center lg:flex-row lg:items-start lg:text-start relative select-none">
<Avatar className="w-32 h-32 pointer-events-none">
<AvatarImage src={player.profilePicture} />
<AvatarImage alt="Profile Picture" src={player.profilePicture} />
</Avatar>
<div className="w-full flex gap-2 flex-col justify-center items-center lg:justify-start lg:items-start">
<div>