Skip to content

Commit

Permalink
perf: lazy loading the apps images
Browse files Browse the repository at this point in the history
  • Loading branch information
razonyang committed Nov 7, 2023
1 parent d9962e4 commit a71fa00
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions layouts/partials/hb/modules/theme-start/apps.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
alt="{{ .Name }}"
onload="this.parentElement.classList.add('loaded')"
class="hb-start-app-img position-absolute top-0 w-100 h-100"
loading="lazy"
src="{{ $favicon }}" />
<span
class="hb-start-app-img-placeholder position-absolute top-0 w-100 h-100">
Expand Down

0 comments on commit a71fa00

Please sign in to comment.