Refonte complète en SvelteKit (méthode OKI, AI-Overview ready)

Reconstruit le site statique mono-page (Bulma + htmx + Strapi) en SvelteKit 2 +
Svelte 5 (runes) + TypeScript, 100 % statique (adapter-static), auto-hébergé.

- Contenu enrichi à partir du dossier documentaire sourcé : 28 pages (histoire,
  Mé 67, procès 1968, 9 fiches militants, idéologie, héritage, publications,
  charte, orientation, sources, FAQ, actualités, contact, mentions légales).
- Souveraineté : retrait de Bulma/htmx/mustache/ionicons/Plausible/Google Fonts
  et de l'API Strapi. Polices Archivo/Inter et sprite SVG auto-hébergés (zéro emoji).
- Identité GONG (drapeau vert/blanc/rouge), thème sombre par défaut + clair AA,
  cadences motion gwoka, KineticText, timeline, 404 kréyòl, PWA hors-ligne.
- SEO/AI-Overview : HTML sémantique, JSON-LD (Organization, Person, Event,
  FAQPage, Article...), hreflang, sitemap dynamique, robots/humans.txt.
- Sécurité : CSP hachée + en-têtes (.htaccess o2switch + _headers Cloudflare), HSTS.
- Actualités éditées via Sveltia CMS (git-based) ; Strapi retiré.

npm run build : vert · npm run check : 0 erreur / 0 warning · JS 97 Ko gzip.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
sucupira
2026-07-24 23:57:37 -04:00
co-authored by Claude Opus 4.8
parent b89c1a80b7
commit cd9b9b093c
104 changed files with 14569 additions and 1383 deletions
+81
View File
@@ -0,0 +1,81 @@
<!doctype html>
<html lang="fr">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="robots" content="noindex" />
<title>404 — GONG</title>
<link rel="icon" href="/favicon.ico" sizes="32x32" />
<link rel="stylesheet" href="/fonts/fonts.css" />
<style>
:root {
--noir: #0d0d0d;
--creme: #faf6ef;
--rouge: #e11419;
--vert: #00a651;
--muted: rgba(250, 246, 239, 0.68);
}
* {
box-sizing: border-box;
}
body {
margin: 0;
min-height: 100dvh;
display: grid;
place-content: center;
justify-items: center;
text-align: center;
gap: 0.6rem;
padding: 2rem;
background: var(--noir);
color: var(--creme);
font-family: 'Inter', system-ui, sans-serif;
}
.flag {
width: 72px;
height: 6px;
background: linear-gradient(to right, var(--vert) 0 40%, #fff 40% 60%, var(--rouge) 60% 100%);
margin-bottom: 1rem;
}
.code {
font-family: 'Archivo', 'Arial Black', sans-serif;
font-weight: 900;
font-size: clamp(3rem, 2rem + 6vw, 6rem);
line-height: 1;
color: var(--rouge);
margin: 0;
}
h1 {
font-family: 'Archivo', 'Arial Black', sans-serif;
font-weight: 800;
text-transform: uppercase;
margin: 0;
}
p {
max-width: 44ch;
color: var(--muted);
}
a.btn {
display: inline-block;
margin-top: 1rem;
font-family: 'Archivo', sans-serif;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.03em;
text-decoration: none;
padding: 0.85em 1.4em;
border: 2px solid var(--rouge);
border-radius: 3px;
background: var(--rouge);
color: #0d0d0d;
}
</style>
</head>
<body>
<div class="flag"></div>
<p class="code">404</p>
<h1 lang="gcf">Paj-la pa la</h1>
<p>Cette page n'existe pas ou a été déplacée. Mais l'histoire du GONG, elle, est toujours là.</p>
<a class="btn" href="/">Retour à l'accueil</a>
</body>
</html>