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 && (
|
||||
<Fragment slot="bg">
|
||||
<img
|
||||
fetchpriority="high"
|
||||
src={heroImage}
|
||||
alt=""
|
||||
aria-hidden="true"
|
||||
|
||||
Reference in New Issue
Block a user