NuxtImg Migration (#279)
Co-authored-by: Julien Nahum <julien@nahum.net>
This commit is contained in:
@@ -5,8 +5,7 @@
|
||||
<div
|
||||
class="relative px-4 pt-16 overflow-hidden bg-blue-100 ring-blue-100 ring-1 sm:shadow-lg isolate sm:rounded-2xl sm:px-16 md:pt-20 lg:flex lg:gap-x-20 lg:px-16 lg:pt-0 sm:shadow-gray-600/10">
|
||||
<div class="absolute inset-0">
|
||||
<img class="object-cover object-top w-full h-full" src="/img/pages/ai_form_builder/background-pattern-ai.svg" alt="">
|
||||
|
||||
<NuxtImg class="object-cover object-top w-full h-full" src="/img/pages/ai_form_builder/background-pattern-ai.svg" alt=""/>
|
||||
</div>
|
||||
|
||||
<div class="relative max-w-md mx-auto text-center xl:max-w-lg lg:mx-0 lg:flex-auto lg:py-16 lg:text-left">
|
||||
@@ -78,8 +77,8 @@
|
||||
|
||||
<div
|
||||
class="relative px-6 mx-auto mt-8 lg:px-0 sm:mt-12 lg:bottom-0 lg:right-0 lg:absolute lg:max-w-md xl:max-w-none">
|
||||
<img class="rounded-t-2xl ring-1 ring-blue-100 lg:rounded-tr-none"
|
||||
src="/img/pages/ai_form_builder/ai-feature-illustration.svg" alt="App screenshot">
|
||||
<NuxtImg class="rounded-t-2xl ring-1 ring-blue-100 lg:rounded-tr-none"
|
||||
src="/img/pages/ai_form_builder/ai-feature-illustration.svg" alt="App screenshot"/>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -84,8 +84,8 @@
|
||||
</div>
|
||||
<div class="w-full md:w-1/2 lg:w-7/12 flex items-center justify-center relative w-full"
|
||||
:class="{'md:pr-8':index%2==1, 'md:pl-8':index%2==0}">
|
||||
<img loading="lazy" class="block rounded-2xl w-full"
|
||||
:src="step.img" alt="cover-product">
|
||||
<NuxtImg loading="lazy" class="block rounded-2xl w-full"
|
||||
:src="step.img" alt="cover-product"/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user