Fetch Priority for a bit of added juicing
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/deploy Pipeline was successful

This commit is contained in:
2026-02-14 19:53:01 -03:00
parent 5b3de20ea7
commit 28401d5027
2 changed files with 7 additions and 3 deletions

View File

@@ -67,6 +67,7 @@ const createPicture = (item) => {
img.height = item.height || 300;
img.width = item.width || 300;
img.loading = item.loading || 'lazy';
img.fetchpriority = item.fetchpriority || undefined;
pic.appendChild(img);
return pic;
};

View File

@@ -80,7 +80,8 @@
"alt": "Sunny living room with stylish seating and vibrant artwork.",
"height": 200,
"width": 300,
"loading": "eager"
"loading": "eager",
"fetchpriority": "high"
},
{
"type": "image",
@@ -88,7 +89,8 @@
"caption": "Relaxation elevated—your stylish living space awaits.",
"alt": "Spacious living area featuring elegant furniture and tasteful decor.",
"height": 200,
"width": 300
"width": 300,
"fetchpriority": "high"
},
{
"type": "image",
@@ -137,7 +139,8 @@
"alt": "Private ensuite bathroom featuring contemporary design and premium finishes.",
"height": 450,
"width": 300,
"loading": "eager"
"loading": "eager",
"fetchpriority": "high"
},
{
"type": "image",