Merge branch 'gt22-lazy-loading-imgs'
This commit is contained in:
commit
7bec9a633f
5
.changeset/forty-needles-deliver.md
Normal file
5
.changeset/forty-needles-deliver.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"ottawa-boardgame-sell-bgg": minor
|
||||||
|
---
|
||||||
|
|
||||||
|
feat: lazy-load thumbnails (#22)
|
@ -5,7 +5,7 @@
|
|||||||
class="s12 m2"
|
class="s12 m2"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
href={`https://boardgamegeek.com/boardgame/${game.bgg_id}`}>
|
href={`https://boardgamegeek.com/boardgame/${game.bgg_id}`}>
|
||||||
<img src={game.thumbnail} height="80" /></a>
|
<img loading="lazy" src={game.thumbnail} height="80" /></a>
|
||||||
<div class="grid s12 m10">
|
<div class="grid s12 m10">
|
||||||
<div class="s8 left-align">
|
<div class="s8 left-align">
|
||||||
<strong>
|
<strong>
|
||||||
|
Loading…
Reference in New Issue
Block a user