Image optimization

This commit is contained in:
Maarten Dekker
2023-01-27 10:41:46 +01:00
parent 3377309e80
commit 93c250bcb6

View File

@@ -40,7 +40,8 @@ publishedBlogEntries.sort(function (a, b) {
background="#ffffff" background="#ffffff"
fit="cover" fit="cover"
position="center" position="center"
loading={index === 0 ? "eager" : "lazy"} loading={index <= 2 ? "eager" : "lazy"}
decoding={index <= 2 ? "sync" : "async"}
class="w-full rounded-md" class="w-full rounded-md"
/> />
<div> <div>