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:
Julien Nahum
2024-02-06 19:56:14 +01:00
committed by GitHub
parent 2274bd1abd
commit cf32ba22f7
8 changed files with 41 additions and 9 deletions

View File

@@ -17,8 +17,8 @@
</div>
<div class="aspect-[4/3] rounded-lg shadow-sm overflow-hidden">
<img class="group-hover:scale-110 transition-all duration-200 h-full object-cover w-full"
:src="template.image_url" alt=""
<NuxtImg class="group-hover:scale-110 transition-all duration-200 h-full object-cover w-full" v-if="template.image_url"
:src="template.image_url" alt="" width="450px"
/>
</div>
<p