Optimize template images + disable image optim docker (#313)
* Optimize template images + disable image optim docker * Fix new name default docker env variable name * Re-establish template page cache
This commit is contained in:
@@ -32,9 +32,9 @@
|
||||
<section class="pt-12 bg-gray-50 sm:pt-16 border-b pb-[250px] relative">
|
||||
<div class="px-4 mx-auto sm:px-6 lg:px-8 max-w-7xl">
|
||||
<div class="flex flex-col items-center justify-center max-w-4xl gap-8 mx-auto md:gap-12 md:flex-row">
|
||||
<div class="aspect-[4/3] shrink-0 rounded-lg shadow-sm overflow-hidden group max-w-xs">
|
||||
<img class="object-cover w-full h-full transition-all duration-200 group-hover:scale-110"
|
||||
:src="template.image_url" alt="Template cover image"
|
||||
<div class="aspect-[4/3] shrink-0 rounded-lg shadow-sm overflow-hidden group max-w-sm">
|
||||
<NuxtImg class="object-cover w-full transition-all duration-200 group-hover:scale-110 h-[240px]"
|
||||
:src="template.image_url" alt="Template cover image" width="500px" height="380px"
|
||||
/>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user