All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
- Structure par section : /numerique, /economique, /citoyenne (plus de /gestation) - Chaque section a index + sous-pages avec contenu YAML administrable - API content supporte les chemins imbriqués ([...path]) - Admin : liste des pages + éditeur par section - Page /economique : monnaie libre (picto Ğ1), modèle éco, productions collectives, commande livre - Page /citoyenne : decision (CTA Glibredecision), tarifs-eau (CTA SejeteralO) - BookActions : composant partagé (player, PDF, chapitres, commande) sur home, eco et modele-eco - GrateWizard remonté dans la section économique de la home - Palette été par défaut, choix persisté en localStorage - Fix lisibilité été (text-white/65 + variables CSS) - Shadoks thématiques sur toutes les pages (8-10 par page, métiers variés) - Redirections 301 : /gestation/*, /modele-eco/*, /decision, /lire/* - README, CONTRIBUTING, CLAUDE.md mis à jour Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
28 lines
975 B
Vue
28 lines
975 B
Vue
<template>
|
|
<nav class="chapter-nav" aria-label="Navigation des chapitres">
|
|
<h2 class="mb-4 font-display text-sm font-semibold uppercase tracking-wider text-white/40">
|
|
Chapitres
|
|
</h2>
|
|
<ul class="flex flex-col gap-1">
|
|
<li v-for="chapter in chapters" :key="chapter.path">
|
|
<NuxtLink
|
|
:to="`/economique/modele-eco/${chapter.stem?.split('/').pop()}`"
|
|
class="flex items-center gap-3 rounded-lg px-3 py-2 text-sm transition-colors hover:bg-white/5"
|
|
active-class="bg-primary/10 text-primary font-medium"
|
|
>
|
|
<span class="font-mono text-xs text-white/30 w-5 text-right">
|
|
{{ chapter.order }}
|
|
</span>
|
|
<span class="truncate">{{ chapter.title }}</span>
|
|
</NuxtLink>
|
|
</li>
|
|
</ul>
|
|
</nav>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
const { data: chapters } = await useAsyncData('book-chapters', () =>
|
|
queryCollection('book').order('order', 'ASC').all(),
|
|
)
|
|
</script>
|