generated from gitea_admin/default
dev
This commit is contained in:
@@ -124,6 +124,7 @@
|
||||
et de la programmation jeune public"
|
||||
numero="01 41 79 03 43"
|
||||
mail="vanessa.gasztowtt@orchestre-ile.com"
|
||||
adresse=""
|
||||
/>
|
||||
</PageSection>
|
||||
|
||||
@@ -159,33 +160,11 @@ et de la programmation jeune public"
|
||||
limit: 1,
|
||||
}
|
||||
)
|
||||
console.log("scolaires:", scolaires.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("scolaires:", scolaires.value)
|
||||
})
|
||||
|
||||
watchEffect(() => {
|
||||
if (!pending.value && scolaires.value?.length) {
|
||||
console.log("scolaires dans le watch effect:", scolaires.value)
|
||||
console.log("scolaires header_titre :", scolaires.value[0].header_titre)
|
||||
console.log("scolaires illustration url :", scolaires.value[0].header_illustration[0].url)
|
||||
|
||||
}
|
||||
})
|
||||
|
||||
console.log("scolaires header_titre :", scolaires.value?.[0]?.header_titre)
|
||||
|
||||
// ======================================
|
||||
// PRÉPARATION DES DONNÉES POUR AFFICHAGE DANS LA PAGE
|
||||
// ======================================
|
||||
const scolaire_donnees_servies = computed(() => scolaires.value?.[0] || {})
|
||||
watchEffect(() => {
|
||||
console.log("scolaire_donnees_servies JSON:", JSON.stringify(scolaire_donnees_servies.value, null, 2))
|
||||
})
|
||||
|
||||
const scolairesChiffres = computed(() =>
|
||||
(scolaires.value?.[0]?.chiffres_scolaires?.[0]?.chiffres || []).map((item) => ({
|
||||
@@ -228,11 +207,6 @@ et de la programmation jeune public"
|
||||
}))
|
||||
)
|
||||
|
||||
watchEffect(() => {
|
||||
console.log("scolairesChiffres JSON:", JSON.stringify(scolairesChiffres.value, null, 2))
|
||||
console.log("tiroirs JSON:", JSON.stringify(tiroirs.value, null, 2))
|
||||
})
|
||||
|
||||
|
||||
function getYoutubeId(url = "") {
|
||||
try {
|
||||
@@ -261,7 +235,7 @@ et de la programmation jeune public"
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
padding-top: 10px;
|
||||
padding-bottom: 70px;
|
||||
padding-bottom: 10px;
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
> * {
|
||||
@@ -272,8 +246,14 @@ et de la programmation jeune public"
|
||||
}
|
||||
.contact_spe_wp {
|
||||
background-color: var(--c-background-jaune-clair);
|
||||
margin-top: 50px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
.strapi-blocks {
|
||||
h2 {
|
||||
color: var(--c-bleu);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* ============================ */
|
||||
|
||||
Reference in New Issue
Block a user