mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 13:28:11 +00:00
Dodano lazy loading miniaturek
This commit is contained in:
@@ -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 }}
|
||||||
|
|||||||
Reference in New Issue
Block a user