Skip to content

Commit

Permalink
feat(index): optimize nuxt image parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
dargmuesli committed Jan 3, 2024
1 parent 9c3fbf7 commit 73f9ab6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,14 @@
<nuxt-img
alt="Jonas in Tutzing."
class="object-position-custom flex-1 object-cover"
densities="x1 x2"
format="webp"
height="3009"
placeholder
preload
sizes="320px xs:640px sm:768px md:1024px lg:1280px xl:1536px 2xl:2081px"
src="/assets/static/images/tutzing.jpg"
width="2081"
/>
</div>
<div
Expand Down

0 comments on commit 73f9ab6

Please sign in to comment.