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

View File

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

View File

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