feat: lazy everywhere

This commit is contained in:
Julien Froidefond
2025-02-16 16:10:07 +01:00
parent 938e0461ae
commit cd6622f72b
3 changed files with 10 additions and 4 deletions

View File

@@ -94,6 +94,8 @@ function SeriesCard({ series, onClick }: SeriesCardProps) {
sizes="(max-width: 640px) 33vw, (max-width: 1024px) 20vw, 20vw"
onError={() => setImageError(true)}
onLoad={() => setIsLoading(false)}
loading="lazy"
quality={50}
/>
</>
) : (