lazyload images
All checks were successful
deploy / deploy (push) Successful in 53s

This commit is contained in:
Lee 2023-10-24 15:06:47 +01:00
parent 364238927f
commit 7969304fe7
2 changed files with 4 additions and 0 deletions

@ -22,6 +22,8 @@ export default function Avatar({
src={url} src={url}
width={size} width={size}
height={size} height={size}
loading="lazy"
placeholder="blur"
priority priority
/> />
</> </>

@ -43,6 +43,8 @@ export default function Score({ score, player, leaderboard }: ScoreProps) {
className="h-fit rounded-md" className="h-fit rounded-md"
width={60} width={60}
height={60} height={60}
loading="lazy"
placeholder="blur"
/> />
{/* Song Info */} {/* Song Info */}
<div className="w-fit truncate text-blue-500"> <div className="w-fit truncate text-blue-500">