lazy-load thumbnails

This commit is contained in:
Yanick Champoux 2024-02-04 14:28:17 -05:00
parent 41315b5c13
commit 4cb38c07c7

View File

@ -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>