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

@@ -149,8 +149,8 @@ export const SeriesHeader = ({ series, onSeriesUpdate }: SeriesHeaderProps) => {
"object-cover blur-2xl scale-110 transition-opacity duration-300",
imageLoading ? "opacity-0" : "opacity-10"
)}
priority
unoptimized
loading="lazy"
quality={25}
onLoad={() => setImageLoading(false)}
/>
</div>
@@ -176,8 +176,8 @@ export const SeriesHeader = ({ series, onSeriesUpdate }: SeriesHeaderProps) => {
)}
onError={() => setImageError(true)}
onLoad={() => setImageLoading(false)}
priority
unoptimized
loading="lazy"
quality={75}
/>
</div>
) : (