1
0
mirror of https://github.com/XFox111/my-website.git synced 2026-04-22 07:28:01 +03:00

chore: replace priority attribute with loading="eager" for images

This commit is contained in:
2025-07-22 14:47:49 +00:00
parent 1b95c8546e
commit d0bd5db044
7 changed files with 15 additions and 11 deletions
+2 -2
View File
@@ -23,8 +23,8 @@ const FrontSection: React.FC = () => (
</div>
<div className={ cls.illustrations }>
<Image className={ cls.main } src={ profilePicture.src } alt={ profilePicture.alt } priority />
<Image className={ cls.secondary } src={ homeDecor.src } alt={ homeDecor.alt } />
<Image className={ cls.main } src={ profilePicture.src } alt={ profilePicture.alt } loading="eager" />
<Image className={ cls.secondary } src={ homeDecor.src } alt={ homeDecor.alt } loading="eager" />
</div>
</section>
);