Copie du kit kit-site (empreinte vérifiée) : logotype dans l'en-tête, signe §, favicons et icônes, og-default (?v=3), frise du pied de page, 61 oiseaux. Les shadoks positionnés à la main (HomeShadoks et les règles des 10 pages) cèdent la place à UiOiseauPose : chaque oiseau se pose sur une arête réelle (perché, marge gauche ou droite, derrière une carte, libre), currentColor, largeur 72 px au moins, opacité 0,18-0,28 près du texte et 0,10-0,14 derrière, jamais deux fois sur une page, calligraphe et typographe jamais en miroir. Sous 768 px, un oiseau par page au plus ; seuls ceux derrière une carte dérivent un peu, et plus du tout en mouvement réduit. Consignes d'Yvv du 03/11 inscrites dans docs/consignes-yvv.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
101 lines
3.2 KiB
Vue
101 lines
3.2 KiB
Vue
<template>
|
|
<NuxtLayout>
|
|
<div class="relative overflow-hidden section-padding">
|
|
|
|
<div class="container-content max-w-3xl mx-auto">
|
|
<!-- Back link -->
|
|
<UiScrollReveal>
|
|
<NuxtLink to="/" class="inline-flex items-center gap-2 text-sm text-white/50 hover:text-white/80 mb-8 transition-colors">
|
|
<div class="i-lucide-arrow-left h-4 w-4" />
|
|
Retour à l'accueil
|
|
</NuxtLink>
|
|
</UiScrollReveal>
|
|
|
|
<!-- Header -->
|
|
<UiScrollReveal>
|
|
<div class="text-center mb-12">
|
|
<span class="inline-block mb-3 rounded-full bg-amber-400/15 px-3 py-0.5 font-mono text-xs tracking-widest text-amber-400 uppercase">
|
|
{{ content?.kicker }}
|
|
</span>
|
|
<h1 class="page-title relative font-display font-bold text-white">
|
|
{{ content?.title }}
|
|
<UiOiseauPose nom="alchimiste" pose="perche" right="72px" bottom="calc(100% - 4px)" :w="98" retourne />
|
|
</h1>
|
|
<p class="mt-4 text-lg text-white/60 leading-relaxed max-w-xl mx-auto">
|
|
{{ content?.description }}
|
|
</p>
|
|
</div>
|
|
</UiScrollReveal>
|
|
|
|
<!-- Explanation cards -->
|
|
<div class="grid gap-6 md:grid-cols-2 mb-12">
|
|
<UiScrollReveal
|
|
v-for="(feature, i) in content?.features"
|
|
:key="i"
|
|
:delay="(i + 1) * 100"
|
|
>
|
|
<div class="gw-feature-card">
|
|
<div :class="`i-lucide-${feature.icon}`" class="h-6 w-6 text-amber-400 mb-3" />
|
|
<h3 class="font-display text-lg font-semibold text-white mb-2">{{ feature.title }}</h3>
|
|
<p class="text-sm text-white/60 leading-relaxed">
|
|
{{ feature.description }}
|
|
</p>
|
|
</div>
|
|
</UiScrollReveal>
|
|
</div>
|
|
|
|
<!-- CTA -->
|
|
<UiScrollReveal :delay="500">
|
|
<div class="text-center">
|
|
<p class="text-sm text-white/40 mb-4">
|
|
{{ content?.cta.note }}
|
|
</p>
|
|
<UiBaseButton :href="url" target="_blank" @click="launch">
|
|
<div class="i-lucide-external-link mr-2 h-5 w-5" />
|
|
{{ content?.cta.label }}
|
|
</UiBaseButton>
|
|
</div>
|
|
</UiScrollReveal>
|
|
</div>
|
|
</div>
|
|
</NuxtLayout>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
const { data: content } = await usePageContent('gratewizard')
|
|
|
|
useSeoPage({
|
|
title: content.value?.meta?.title ?? 'grateWizard — Coefficients relatifs',
|
|
description: 'Calculateur de coefficients relatifs pour l\'économie du don et la monnaie libre (DU/June).',
|
|
})
|
|
|
|
const { url, launch } = useGrateWizard()
|
|
</script>
|
|
|
|
<style scoped>
|
|
.page-title {
|
|
font-size: clamp(2rem, 5vw, 2.75rem);
|
|
}
|
|
|
|
.gw-feature-card {
|
|
padding: 1.5rem;
|
|
border-radius: 0.75rem;
|
|
border: 1px solid hsl(var(--color-text) / 0.1);
|
|
background: hsl(var(--color-surface) / 0.5);
|
|
transition: border-color 0.3s ease, background 0.3s ease;
|
|
}
|
|
|
|
.gw-feature-card:hover {
|
|
border-color: hsl(40 80% 50% / 0.25);
|
|
background: hsl(var(--color-surface-light) / 0.5);
|
|
}
|
|
|
|
code {
|
|
font-family: ui-monospace, monospace;
|
|
font-size: 0.85em;
|
|
padding: 0.1em 0.3em;
|
|
border-radius: 0.25em;
|
|
background: hsl(40 80% 50% / 0.1);
|
|
}
|
|
</style>
|