fix(ruetz): cagnotte terminée déplacée de la page codev vers la page forêt (en tête, bandeau)
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PWGVmzk4xScrp4p2DsxnQe
This commit is contained in:
co-authored by
Claude Haiku 5.5
parent
3e4b55d6d0
commit
4cf439cebb
@@ -3,18 +3,6 @@
|
||||
<!-- Le tableau de Ruetz en bandeau, tout en haut (Jules, B26) : au bureau, le panorama entier sur toute la
|
||||
largeur ; au téléphone, recadré sur la maison (le panorama fait 6,5 pour 1), avec le lien vers le tableau entier. -->
|
||||
<template #bandeau>
|
||||
<div class="cagnotte">
|
||||
<img :src="`${MEDIAS}/cagnotte-terminee.png`" width="353" height="357" loading="eager"
|
||||
alt="Capture de la cagnotte Papayoux : 4 241 € collectés, 20 contributions, objectif 4 200 €, 100 %. Terminée.">
|
||||
<div class="cagnotte__texte">
|
||||
<p class="cagnotte__titre">La cagnotte de la forêt est terminée</p>
|
||||
<p>4 241 € collectés pour un objectif de 4 200 €, avec 20 contributions.</p>
|
||||
<p class="cagnotte__liens">
|
||||
<a href="https://www.papayoux.com/fr/cagnotte/une-foret-nourriciere-a-ruetz-il-reste-60-arbres" target="_blank" rel="noopener">Voir la cagnotte sur Papayoux</a>
|
||||
· <a href="https://www.papayoux.com" target="_blank" rel="noopener">papayoux.com</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<figure class="tableau">
|
||||
<picture>
|
||||
<source media="(min-width: 700px)" width="2400" height="370" sizes="100vw"
|
||||
@@ -207,17 +195,6 @@ seo({
|
||||
}
|
||||
@media (min-width: 768px) { .tableau__legende { padding: 0 var(--space-lg); } }
|
||||
@media (min-width: 1024px) { .tableau__legende { max-width: 760px; } }
|
||||
/* La cagnotte, en tête : image à gauche, texte et liens à droite à partir de 700 px ; téléphone, en colonne */
|
||||
.cagnotte { max-width: 760px; margin: 0 auto; padding: var(--space-md); display: flex; flex-direction: column; gap: var(--space-sm); align-items: center; }
|
||||
.cagnotte img { width: 160px; height: auto; border-radius: var(--radius-md); }
|
||||
.cagnotte__texte { font-size: var(--fs-sm); text-align: center; }
|
||||
.cagnotte__titre { font-weight: var(--fw-bold); font-size: var(--fs-base); margin: 0 0 var(--space-xs); }
|
||||
.cagnotte__texte p { margin: 0 0 var(--space-xs); }
|
||||
.cagnotte__liens a { text-decoration: underline; }
|
||||
@media (min-width: 700px) {
|
||||
.cagnotte { flex-direction: row; align-items: center; text-align: left; gap: var(--space-lg); padding: var(--space-md) var(--space-lg); }
|
||||
.cagnotte__texte { text-align: left; }
|
||||
}
|
||||
.reponses { font-weight: var(--fw-bold); font-size: var(--fs-base); }
|
||||
.pied-foret { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-xs) var(--space-md); }
|
||||
.evt-ancre { scroll-margin-top: var(--space-lg); }
|
||||
|
||||
@@ -1,6 +1,20 @@
|
||||
<template>
|
||||
<!-- Pas de lien de retour ni de pied vers la semaine : on arrive ici par le lien donné pour la plantation -->
|
||||
<EvenementsPage ton="foret">
|
||||
<template #bandeau>
|
||||
<div class="cagnotte">
|
||||
<img :src="`${MEDIAS}/cagnotte-terminee.png`" width="353" height="357" loading="eager"
|
||||
alt="Capture de la cagnotte Papayoux : 4 241 € collectés, 20 contributions, objectif 4 200 €, 100 %. Terminée.">
|
||||
<div class="cagnotte__texte">
|
||||
<p class="cagnotte__titre">La cagnotte de la forêt est terminée</p>
|
||||
<p>4 241 € collectés pour un objectif de 4 200 €, avec 20 contributions.</p>
|
||||
<p class="cagnotte__liens">
|
||||
<a href="https://www.papayoux.com/fr/cagnotte/une-foret-nourriciere-a-ruetz-il-reste-60-arbres" target="_blank" rel="noopener">Voir la cagnotte sur Papayoux</a>
|
||||
· <a href="https://www.papayoux.com" target="_blank" rel="noopener">papayoux.com</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<header class="evt-tete">
|
||||
<h1 class="evt-h1">À la Sainte-Catherine, tout bois prend racine.</h1>
|
||||
<p class="evt-sous">On plante une forêt nourricière</p>
|
||||
@@ -231,4 +245,15 @@ seo({
|
||||
.strates-liste dd { margin: 0; }
|
||||
.gestes-source { margin: var(--space-sm) 0 0; }
|
||||
.evt-ancre { scroll-margin-top: var(--space-lg); }
|
||||
/* La cagnotte, en tête : image à gauche, texte et liens à droite à partir de 700 px ; téléphone, en colonne */
|
||||
.cagnotte { max-width: 760px; margin: 0 auto; padding: var(--space-md); display: flex; flex-direction: column; gap: var(--space-sm); align-items: center; }
|
||||
.cagnotte img { width: 160px; height: auto; border-radius: var(--radius-md); }
|
||||
.cagnotte__texte { font-size: var(--fs-sm); text-align: center; }
|
||||
.cagnotte__titre { font-weight: var(--fw-bold); font-size: var(--fs-base); margin: 0 0 var(--space-xs); }
|
||||
.cagnotte__texte p { margin: 0 0 var(--space-xs); }
|
||||
.cagnotte__liens a { text-decoration: underline; }
|
||||
@media (min-width: 700px) {
|
||||
.cagnotte { flex-direction: row; align-items: center; text-align: left; gap: var(--space-lg); padding: var(--space-md) var(--space-lg); }
|
||||
.cagnotte__texte { text-align: left; }
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user