Performance improvements

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2022-10-05 12:13:19 +02:00
parent 0cbe0b8fad
commit 456e987af8
25 changed files with 75 additions and 206 deletions

View File

@@ -64,6 +64,7 @@
media="(min-width: 300px)"
/>
<img
loading="lazy"
class="w-full h-12 w-12 object-cover"
:src="`/img/categories/${key.toLowerCase()}.webp`"
:srcset="`/img/categories/${key.toLowerCase()}-small.webp `"