optimize the players avatar image
All checks were successful
Deploy / deploy (push) Successful in 5m26s

This commit is contained in:
Lee 2024-09-30 11:50:27 +01:00
parent 0943cedf78
commit 3217b26bce

@ -111,7 +111,10 @@ 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 alt="Profile Picture" src={player.avatar} />
<AvatarImage
alt="Profile Picture"
src={`https://img.fascinated.cc/upload/w_128,h_128/${player.avatar}`}
/>
</Avatar>
<div className="w-full flex gap-2 flex-col justify-center items-center lg:justify-start lg:items-start">
<div>