Skip to content

Commit bbb6f0d

Browse files
committed
perf: optimize logo images for better performance
Adds explicit width and height attributes to logo images to prevent layout shifts during page load and improves Core Web Vitals scores. Sets fetchpriority="high" to prioritize loading of above-the-fold brand logos, reducing perceived load time for users.
1 parent 702960c commit bbb6f0d

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

app/components/home/Logos.vue

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
"
1616
alt="Cloudflare"
1717
src="@/assets/images/cloudflare.png"
18+
fetchpriority="high"
19+
width="350"
20+
height="176"
1821
>
1922
<img
2023
class="
@@ -24,6 +27,9 @@
2427
"
2528
alt="Nuxt.js"
2629
src="@/assets/images/nuxtjs.png"
30+
fetchpriority="high"
31+
width="350"
32+
height="176"
2733
>
2834
</div>
2935
</div>

0 commit comments

Comments
 (0)