1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-09-13 23:45:30 -04:00

prioritize above-the-fold images

This commit is contained in:
2022-01-15 07:50:11 -05:00
parent 5f3cf02669
commit ddb178cab0
4 changed files with 7 additions and 3 deletions

View File

@@ -39,6 +39,10 @@
}
@media screen and (max-width: 768px) {
.section {
margin: 1.8em 0;
}
.year {
font-size: 2em;
}

View File

@@ -36,7 +36,7 @@ const CLI = () => (
target="_blank"
rel="noopener noreferrer"
>
<Image src={cliImg} placeholder="blur" alt="Terminal Screenshot" />
<Image src={cliImg} placeholder="blur" alt="Terminal Screenshot" priority />
</a>
<h2>Usage</h2>
<pre>

View File

@@ -44,7 +44,7 @@ const Previously = () => (
target="_blank"
rel="noopener noreferrer"
>
<Image src={img_wayback} placeholder="blur" alt="Timeline of this website's past." />
<Image src={img_wayback} placeholder="blur" alt="Timeline of this website's past." priority />
</a>
<figcaption>
...the{" "}

View File

@@ -34,7 +34,7 @@ const Uses = () => (
. ❤️
</p>
<Image src={desktopImg} placeholder="blur" alt="My mess of a desktop." />
<Image src={desktopImg} placeholder="blur" alt="My mess of a desktop." priority />
<h2>🍎 Hardware</h2>
<ul>