This commit is contained in:
2026-04-12 23:25:07 +02:00
parent d8f9bb59fa
commit ef126bc177
69 changed files with 4168 additions and 1806 deletions

View File

@@ -62,7 +62,7 @@
<!-- AFFICHAGE DES PARTIE EN DÉCALLAGE AVEC LE CONTENU PROVENANT DE STRAPI -->
<!-- ================== -->
<template v-for="(t, index) in tiroirs" :key="index">
<PageSection :content="false">
<PageSection :content="false" :class="{ 'decalage-section--spaced': index > 0 }">
<Decalage
:tone="t.decalage_couleur"
title-tone="invert"
@@ -130,6 +130,7 @@
et de la programmation jeune public"
numero="01 41 79 03 43"
mail="vanessa.gasztowtt@orchestre-ile.com"
adresse=""
/>
</PageSection>
@@ -165,33 +166,11 @@ et de la programmation jeune public"
limit: 1,
}
)
console.log("projets:", projets.value)
watchEffect(() => {
console.log("client ?", import.meta.client)
console.log("server ?", import.meta.server)
console.log("pending:", pending.value)
console.log("error:", error.value)
console.log("projets:", projets.value)
})
watchEffect(() => {
if (!pending.value && projets.value?.length) {
console.log("projets dans le watch effect:", projets.value)
console.log("projets header_titre :", projets.value[0].header_titre)
console.log("projets illustration url :", projets.value[0].header_illustration?.url)
}
})
console.log("projets header_titre :", projets.value?.[0]?.header_titre)
// ======================================
// PRÉPARATION DES DONNÉES POUR AFFICHAGE DANS LA PAGE
// ======================================
const projets_donnees_servies = computed(() => projets.value?.[0] || {})
watchEffect(() => {
console.log("projets_donnees_servies JSON:", JSON.stringify(projets_donnees_servies.value, null, 2))
})
const projetsChiffres = computed(() =>
(projets.value?.[0]?.chiffres_projets?.chiffres || []).map((item) => ({
@@ -239,11 +218,6 @@ et de la programmation jeune public"
}))
)
watchEffect(() => {
console.log("projetsChiffres JSON:", JSON.stringify(projetsChiffres.value, null, 2))
console.log("tiroirs JSON:", JSON.stringify(tiroirs.value, null, 2))
})
function getYoutubeId(url = "") {
try {
@@ -271,8 +245,7 @@ et de la programmation jeune public"
.fiche_description {
display: flex;
justify-content: center;
padding-top: 10px;
padding-bottom: 70px;
padding-bottom: 10px;
padding-left: 10px;
padding-right: 10px;
> * {