1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-09-14 01:55:31 -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) { @media screen and (max-width: 768px) {
.section {
margin: 1.8em 0;
}
.year { .year {
font-size: 2em; font-size: 2em;
} }

View File

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

View File

@@ -44,7 +44,7 @@ const Previously = () => (
target="_blank" target="_blank"
rel="noopener noreferrer" 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> </a>
<figcaption> <figcaption>
...the{" "} ...the{" "}

View File

@@ -34,7 +34,7 @@ const Uses = () => (
. ❤️ . ❤️
</p> </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> <h2>🍎 Hardware</h2>
<ul> <ul>