- Routage par hôte (app/router.options.ts) : sur event., seules les pages de pages/evenements/ existent, servies sans le préfixe ; copie sous aep.…/evenements/ avec la barre AEP, canonique event. et noindex. - app.vue : en-tête, FilEchelle et NavTiroir masqués sur event. ; le conteneur y garde le défilement. - /ruetz (carrefour), /ruetz/codev (frise SVG, compteur de places), /ruetz/foret (plan, syntropie en trois niveaux dépliables, gestes en SVG). - POST /api/evenements/inscription (Zod partagé, honeypot, 3/IP/jour, 409 complet, 503 sans table) et GET /api/evenements/places (cache 60 s) ; NocoDB inscriptions_ruetz, fixture hors dépôt en dev ; ntfy sans donnée personnelle hors prénom. - nuxt.config.ts : une clé, inscriptionsRuetzTableId. - Photos sans visage reconnaissable (n8 floutée dans le fichier), EXIF retirés ; le plan s'ouvre en grand ; boutons « Je m'inscris ↓ » masqués quand c'est complet. - deploy/ruetz/README.md pour le checkpoint ; node scripts/test-y.mjs (42 cas). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011CM63J14oj62y6mz4sB43n
55 lines
2.5 KiB
Vue
55 lines
2.5 KiB
Vue
<template>
|
|
<figure class="evt-figure frise">
|
|
<svg viewBox="0 0 540 132" role="img" aria-labelledby="frise-titre frise-desc">
|
|
<title id="frise-titre">La semaine, jour par jour</title>
|
|
<desc id="frise-desc">
|
|
Samedi 21 et dimanche 22 : arrivée possible. Du lundi 23 au vendredi 27 : la semaine d'entraide.
|
|
Samedi 28 et dimanche 29 : la plantation de la forêt.
|
|
</desc>
|
|
<g v-for="(j, i) in jours" :key="j.iso" :transform="`translate(${i * COL} 0)`">
|
|
<text :x="COL / 2" y="20" class="frise__jour">{{ j.jour }}</text>
|
|
<text :x="COL / 2" y="46" class="frise__num">{{ j.num }}</text>
|
|
</g>
|
|
<!-- 21-22 : arrivée possible -->
|
|
<rect x="3" y="60" :width="2 * COL - 6" height="64" rx="8" class="frise__arrivee" />
|
|
<text :x="COL" y="88" class="frise__label frise__label--ligne">arrivée</text>
|
|
<text :x="COL" y="110" class="frise__label frise__label--ligne">possible</text>
|
|
<!-- 23-27 : codev -->
|
|
<rect :x="2 * COL + 3" y="60" :width="5 * COL - 6" height="64" rx="8" class="frise__codev" />
|
|
<text :x="4.5 * COL" y="99" class="frise__label frise__label--codev">la semaine d'entraide</text>
|
|
<!-- 28-29 : plantation -->
|
|
<rect :x="7 * COL + 3" y="60" :width="2 * COL - 6" height="64" rx="8" class="frise__foret" />
|
|
<text :x="8 * COL" y="99" class="frise__label frise__label--foret" style="font-size: 19px">plantation</text>
|
|
</svg>
|
|
<figcaption>
|
|
Arrivée possible dès le samedi 21. Les 28 et 29, on plante une forêt :
|
|
<NuxtLink :to="lienForet">→ la page forêt</NuxtLink>
|
|
</figcaption>
|
|
</figure>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
import { jourCourt } from '~/utils/evenements'
|
|
|
|
defineProps<{ lienForet: string }>()
|
|
|
|
const COL = 60
|
|
const jours = Array.from({ length: 9 }, (_, i) => {
|
|
const iso = `2026-11-${21 + i}`
|
|
return { iso, ...jourCourt(iso) }
|
|
})
|
|
</script>
|
|
|
|
<style scoped>
|
|
.frise svg { border-radius: 0; overflow: visible; }
|
|
.frise__jour { font-size: 19px; text-anchor: middle; fill: var(--evt-attenue); }
|
|
.frise__num { font-size: 25px; font-weight: 700; text-anchor: middle; fill: var(--text); }
|
|
.frise__arrivee { fill: var(--bg-alt); stroke: var(--border-strong); stroke-width: 1.5; stroke-dasharray: 5 4; }
|
|
.frise__codev { fill: var(--evt-nuit); }
|
|
.frise__foret { fill: var(--accent); }
|
|
.frise__label { font-size: 21px; font-weight: 700; text-anchor: middle; }
|
|
.frise__label--ligne { font-size: 18px; font-weight: 600; fill: var(--text); }
|
|
.frise__label--codev { fill: var(--evt-sur-nuit); }
|
|
.frise__label--foret { fill: var(--on-accent); }
|
|
</style>
|