Skip to content

Commit

Permalink
lazy loading and lint run
Browse files Browse the repository at this point in the history
  • Loading branch information
Barabasbalazs committed Jul 24, 2024
1 parent 5910e0e commit b7aab50
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
7 changes: 6 additions & 1 deletion components/cards/marquee/Links.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,12 @@
:to="item.link"
target="_blank"
>
<img class="w-full" :src="item.logo" alt="`logo-${item.link}`" />
<img
class="w-full"
:src="item.logo"
alt="`logo-${item.link}`"
loading="lazy"
/>
</NuxtLink>
</div>
<div
Expand Down
7 changes: 6 additions & 1 deletion components/swiper/Content.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,12 @@
target="_blank"
>
<div class="w-1/2">
<img class="min-w-1/2" :src="project.img" :alt="project.title" />
<img
class="min-w-1/2"
:src="project.img"
:alt="project.title"
loading="lazy"
/>
</div>
</NuxtLink>
<div class="bg-dark w-full">
Expand Down

0 comments on commit b7aab50

Please sign in to comment.