Last attempt at nuxt images efficiency
This commit is contained in:
parent
5647fba946
commit
32c09635ac
|
@ -58,7 +58,7 @@ export default defineNuxtConfig({
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
image: {
|
image: {
|
||||||
quality: 90,
|
quality: 95,
|
||||||
},
|
},
|
||||||
sitemap,
|
sitemap,
|
||||||
runtimeConfig
|
runtimeConfig
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<section class="bg-gradient-to-b relative from-white to-gray-100 py-8 sm:py-16 ">
|
<section class="bg-gradient-to-b relative from-white to-gray-100 py-8 sm:py-16 ">
|
||||||
<div class="absolute inset-0">
|
<div class="absolute inset-0">
|
||||||
<NuxtImg class="w-full h-full object-cover object-top"
|
<NuxtImg class="w-full h-full object-cover object-top"
|
||||||
src="/img/pages/ai_form_builder/background-pattern.svg" alt=""
|
src="/img/pages/ai_form_builder/background-pattern.svg" alt="Page abstract background"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -88,7 +88,8 @@
|
||||||
<div
|
<div
|
||||||
class="-m-2 rounded-xl bg-blue-900/5 p-2 backdrop-blur-sm ring-1 ring-inset ring-blue-900/10 lg:-m-4 lg:rounded-2xl lg:p-4"
|
class="-m-2 rounded-xl bg-blue-900/5 p-2 backdrop-blur-sm ring-1 ring-inset ring-blue-900/10 lg:-m-4 lg:rounded-2xl lg:p-4"
|
||||||
>
|
>
|
||||||
<NuxtImg src="/img/pages/welcome/product-cover.jpg"
|
<NuxtImg src="/img/pages/welcome/product-cover.jpg" placeholder
|
||||||
|
sizes="320px sm:650px lg:900px"
|
||||||
alt="Product screenshot" loading="lazy" class="rounded-md shadow-2xl ring-1 ring-gray-900/10"
|
alt="Product screenshot" loading="lazy" class="rounded-md shadow-2xl ring-1 ring-gray-900/10"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue