Merge branch 'gt22-lazy-loading-imgs'

This commit is contained in:
Yanick Champoux 2024-02-04 14:28:22 -05:00
commit 7bec9a633f
2 changed files with 6 additions and 1 deletions

View File

@ -0,0 +1,5 @@
---
"ottawa-boardgame-sell-bgg": minor
---
feat: lazy-load thumbnails (#22)

View File

@ -5,7 +5,7 @@
class="s12 m2"
target="_blank"
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="s8 left-align">
<strong>