made illustration a picture element

This commit is contained in:
Nico 2023-11-05 10:50:32 +01:00
parent 01aa34da8d
commit f8c64ed90e
1 changed files with 2 additions and 2 deletions

View File

@ -65,7 +65,7 @@ async function runMutation(payload) {
<section class="intro sidebar--reverse" data-direction="rtl">
<article v-html="homepage.content" class="editorial" />
<div>
<NuxtImg
<NuxtPicture
:src="`https://contenu.liste-bebe-macia-capde.fr/assets/${homepage.illustration.id}.`"
width="900"
height="563"
@ -104,7 +104,7 @@ h1 {
align-items: center;
justify-content: center;
}
.intro__image {
.intro__image :deep(img) {
margin-inline: auto;
mix-blend-mode: multiply;
}