mirror of
https://github.com/10h30/blog-balodeplao.git
synced 2026-05-12 15:21:15 +09:00
fix: add fetchpriority attribute to hero image for improved loading performance
This commit is contained in:
@@ -34,6 +34,7 @@ const heroImage = toR2Url(bgImage);
|
|||||||
heroImage && (
|
heroImage && (
|
||||||
<Fragment slot="bg">
|
<Fragment slot="bg">
|
||||||
<img
|
<img
|
||||||
|
fetchpriority="high"
|
||||||
src={heroImage}
|
src={heroImage}
|
||||||
alt=""
|
alt=""
|
||||||
aria-hidden="true"
|
aria-hidden="true"
|
||||||
|
|||||||
Reference in New Issue
Block a user