19 lines
451 B
JavaScript
19 lines
451 B
JavaScript
import Image from "next/image";
|
|
|
|
const Avatar = (props) => {
|
|
return <>
|
|
<Image
|
|
className={'player-avatar'}
|
|
src={props.url}
|
|
width={180}
|
|
height={180}
|
|
alt={'Avatar image'}
|
|
loading='lazy'
|
|
placeholder="blur"
|
|
blurDataURL="https://cdn.fascinated.cc/MhCUeHZLsh.webp?raw=true"
|
|
unoptimized={true}
|
|
/>
|
|
</>
|
|
}
|
|
|
|
export default Avatar; |