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:
@@ -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>
|
||||
);
|
||||
|
||||
@@ -9,7 +9,7 @@ const TitleLogo: React.FC = () => (
|
||||
<Image src={ logo }
|
||||
alt="A fox jumping down, and a diagonal stripe in the background, forming letters X and F"
|
||||
aria-hidden
|
||||
priority />
|
||||
loading="eager" />
|
||||
<p>
|
||||
<span>xfox111</span>
|
||||
<sub>.net</sub>
|
||||
|
||||
Reference in New Issue
Block a user