Skip to content

Commit e1bbde4

Browse files
committed
adding image loading = lazy
1 parent 4f22d33 commit e1bbde4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/routes/photographs/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const photographs = (props) => {
1616
<h1 class={style.pageTitle}>Photographs</h1>
1717
{photographs.map(photograph =>
1818
(<div>
19-
<img class={style.photo} src={photograph.details.photo} />
19+
<img loading="lazy" class={style.photo} src={photograph.details.photo} />
2020
<caption class={style.caption}>{photograph.details.title}</caption>
2121
</div>)
2222
)}

0 commit comments

Comments
 (0)