added lazy loading attribute to project images

This commit is contained in:
Robert McGovern 2022-09-12 14:38:27 +01:00
parent db9cd8d911
commit da6a2fd540
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@
{% if projectContent %}
<div class="project-card stacked">
<a href="{{projectContent.url}}">
<img class="card__img" src="{{projectContent.screenshotURL}}"
<img loading="lazy" class="card__img" src="{{projectContent.screenshotURL}}"
alt="{{projectContent.screenshotAltText}}"/>
</a>
<div class="card__content">