made illustration a picture element

This commit is contained in:
Nico 2023-11-05 10:50:32 +01:00
parent 01aa34da8d
commit f8c64ed90e

View File

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