Dodano lazy loading miniaturek

This commit is contained in:
2022-05-25 13:27:28 +02:00
parent 86b8272423
commit 33e9be809e
+1 -1
View File
@@ -85,7 +85,7 @@
</section> </section>
<section class="train-image" style="display: flex; justify-content: center; align-items: center"> <section class="train-image" style="display: flex; justify-content: center; align-items: center">
<img :src="train.locoURL" alt="Not Found" @error="onImageError" /> <img :src="train.locoURL" loading="lazy" alt="Loco image not found" @error="onImageError" />
<div class="text--grayed"> <div class="text--grayed">
{{ train.locoType }} {{ train.locoType }}