[Trunk | Library]: home.component.html: Added loading="lazy" on <img> elements.

git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-portal/trunk@61305 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
konstantina.galouni 2021-06-30 07:10:28 +00:00
parent 4ab1aaf807
commit 63c0611239
1 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
<ng-template #_logos let-logo="logo" let-class="class">
<div *ngIf="logo" [class]="'uk-flex uk-flex-middle uk-flex-center uk-padding-remove-horizontal '+class">
<div class="">
<img src="assets/ExploreLogos/{{logo}}" alt="{{logo}} logo">
<img src="assets/ExploreLogos/{{logo}}" alt="{{logo}} logo" loading="lazy">
</div>
</div>
</ng-template>
@ -188,10 +188,10 @@
</div>
<div class="uk-flex uk-flex-bottom">
<div class="uk-width-1-3 uk-width-1-2@m">
<img src="assets/explore-assets/graph.png">
<img src="assets/explore-assets/graph.png" loading="lazy">
</div>
<div class="uk-padding uk-width-1-2">
<img src="assets/common-assets/logo-large-graph.png">
<img src="assets/common-assets/logo-large-graph.png" loading="lazy">
</div>
</div>
</div>