Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4d6a94e251
|
||
|
|
f0fd5eeca1
|
||
|
|
1b05d2f9a4
|
||
|
|
bb680f60b0
|
@@ -1,16 +1,5 @@
|
|||||||
node_modules/
|
node_modules/
|
||||||
.svelte-kit/
|
|
||||||
build/
|
|
||||||
_site/
|
_site/
|
||||||
# Documents de travail locaux (charte, recettes, briefs, guides agents)
|
|
||||||
AGENTS.md
|
|
||||||
charte-oki-design-system.md
|
|
||||||
prompt-kimi-cli-transformation-oki.md
|
|
||||||
recette-sveltekit-15-sites-awwwards.md
|
|
||||||
recette-sveltekit-playbook-agent.md
|
|
||||||
svelte-5_code_writer.md
|
|
||||||
svelte_core_bestpractices.md
|
|
||||||
playbook-oki-sveltekit.md
|
|
||||||
.DS_Store
|
.DS_Store
|
||||||
*.log
|
*.log
|
||||||
.env
|
.env
|
||||||
|
|||||||
@@ -2,16 +2,6 @@
|
|||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
### 🚀 Version 3 — Migration SvelteKit (branche `svelte`)
|
|
||||||
- ✅ **Rebuild complet** : SvelteKit 2 + Svelte 5 (runes) + TypeScript, pré-rendu statique intégral (`adapter-static`) — remplace Eleventy (conservé sur `main`)
|
|
||||||
- ✅ **Zéro domaine tiers** : images self-hébergées et optimisées au build (AVIF/WebP via vite-imagetools), polices Archivo/Inter self-hébergées en woff2 — BunnyCDN et Google Fonts supprimés (correction des 403 d'images)
|
|
||||||
- ✅ **Iconographie** : set SVG OKI (12 pictos, stroke 2 px, angles nets, noms kréyòl) en sprite, zéro emoji décoratif en interface
|
|
||||||
- ✅ **Motion** : KineticText (titres au scroll, stagger syncopé gwoka), ScrollProgressBar or→vert, View Transitions, gate unique `prefers-reduced-motion`
|
|
||||||
- ✅ **Village écosystème** : scène SVG isométrique « village créole » pour les services hébergés (BOKANTE, GADE, NIYAJ, KUTE), fallback grille accessible
|
|
||||||
- ✅ **PWA** : manifest + service worker (shell hors-ligne), page offline designée
|
|
||||||
- ✅ **404 designée** en KA (`404.html` autonome + `+error.svelte`)
|
|
||||||
- ✅ **CSP renforcée** : retrait de Google Fonts et BunnyCDN, livrée en `.htaccess` (o2switch) et `_headers` (Cloudflare Pages)
|
|
||||||
|
|
||||||
### 🛡️ Sécurité
|
### 🛡️ Sécurité
|
||||||
- ✅ **Headers HTTP de sécurité** : ajout d'un `.htaccess` Apache avec `Strict-Transport-Security`, `Content-Security-Policy`, `X-Frame-Options`, `X-Content-Type-Options`, `Referrer-Policy` et `Permissions-Policy`
|
- ✅ **Headers HTTP de sécurité** : ajout d'un `.htaccess` Apache avec `Strict-Transport-Security`, `Content-Security-Policy`, `X-Frame-Options`, `X-Content-Type-Options`, `Referrer-Policy` et `Permissions-Policy`
|
||||||
- ✅ **Redirection HTTP → HTTPS** : forçage du HTTPS via `mod_rewrite`
|
- ✅ **Redirection HTTP → HTTPS** : forçage du HTTPS via `mod_rewrite`
|
||||||
|
|||||||
@@ -2,15 +2,11 @@
|
|||||||
|
|
||||||
Merci de votre intérêt pour contribuer au site de l'ORGANISATION KA INTERNATIONALE !
|
Merci de votre intérêt pour contribuer au site de l'ORGANISATION KA INTERNATIONALE !
|
||||||
|
|
||||||
Le site est une application **SvelteKit + Svelte 5 (runes) + TypeScript**, entièrement pré-rendue en statique. Avant de contribuer, lisez `charte-oki-design-system.md` (marque) et `svelte_core_bestpractices.md` (conventions Svelte 5).
|
|
||||||
|
|
||||||
## Ajouter du contenu
|
## Ajouter du contenu
|
||||||
|
|
||||||
Le contenu éditorial vit dans les bundles i18n : `src/lib/i18n/fr/*.json` et `src/lib/i18n/en/*.json` — **toujours modifier les deux locales**.
|
|
||||||
|
|
||||||
### Ajouter un service hébergé
|
### Ajouter un service hébergé
|
||||||
|
|
||||||
Éditez `src/lib/i18n/fr/services.json` (et `en/`) :
|
Éditez `src/_data/i18n/fr/services.json` (et la version `en/`) :
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
@@ -22,85 +18,122 @@ Le contenu éditorial vit dans les bundles i18n : `src/lib/i18n/fr/*.json` et `s
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
Le service apparaîtra automatiquement dans la grille de fallback du village (`HostingVillage.svelte`). Pour qu'il ait aussi son bâtiment dans la scène SVG, voir « Modifier un composant ».
|
|
||||||
|
|
||||||
### Ajouter un projet web
|
### Ajouter un projet web
|
||||||
|
|
||||||
Éditez `src/lib/i18n/fr/projects.json` (et `en/`). Le champ `icon` attend un emoji legacy qui sera remplacé au rendu par un picto du sprite — voir le mapping dans `src/lib/components/sections/pictos.ts` et choisissez-en un qui y figure.
|
Éditez `src/_data/i18n/fr/projects.json` (et la version `en/`) :
|
||||||
|
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"name": "NOM.PROJET",
|
||||||
|
"icon": "📱",
|
||||||
|
"domain": "nom.projet",
|
||||||
|
"description": "Description du projet",
|
||||||
|
"url": "https://nom.projet/"
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
### Ajouter un client ou partenaire
|
### Ajouter un client ou partenaire
|
||||||
|
|
||||||
Placez le logo dans `src/lib/assets/images/` (et `clients/` pour les clients), puis importez-le dans le composant de section concerné via vite-imagetools :
|
Pour les logos, privilégiez une image locale dans `src/assets/images/` et utilisez le filtre `| cdn` dans les templates. Les URLs distantes fonctionnent mais ne passent pas par le CDN.
|
||||||
|
|
||||||
```ts
|
|
||||||
import logo from '$lib/assets/images/mon-logo.png?format=avif;webp;png&w=320;640&as=picture';
|
|
||||||
```
|
|
||||||
|
|
||||||
et affichez-le avec `<ResponsiveImage picture={logo} alt="…" />`. Ne jamais référencer une image distante : tout asset est self-hébergé (doctrine souveraineté + CSP).
|
|
||||||
|
|
||||||
### Ajouter une valeur
|
### Ajouter une valeur
|
||||||
|
|
||||||
Éditez `src/lib/i18n/fr/values.json` (et `en/`). Le champ `icon` suit le même mapping que les projets (`pictos.ts`).
|
Éditez `src/_data/i18n/fr/values.json` (et la version `en/`) :
|
||||||
|
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"icon": "🌟",
|
||||||
|
"title": "Titre",
|
||||||
|
"description": "Description de la valeur"
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
### Modifier la navigation
|
### Modifier la navigation
|
||||||
|
|
||||||
Éditez `src/lib/i18n/fr/navigation.json` (et `en/`) :
|
Éditez `src/_data/i18n/fr/navigation.json` (et la version `en/`) :
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{ "text": "Texte du lien", "url": "/#ancre", "external": false }
|
{
|
||||||
|
"text": "Texte du lien",
|
||||||
|
"url": "#section",
|
||||||
|
"external": false
|
||||||
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
Pour un lien externe, mettez `"external": true`. Les URLs de la version EN doivent pointer sous `/en/`.
|
Pour un lien externe, mettez `"external": true`.
|
||||||
|
|
||||||
### Modifier les informations de contact
|
### Modifier les informations de contact
|
||||||
|
|
||||||
Les liens de contact sont regroupés dans `src/lib/i18n/fr/contact.json` (et `en/`). L'icône de chaque lien est déduite de son libellé (`whatsapp`, `telegram`, `discord`, `labola`, `kontak`/`mail`). Les emojis en tête des titres de groupes sont convertis en pictos du sprite (`pictos.ts`).
|
Les liens de contact sont regroupés par section dans `src/_data/i18n/fr/contact.json` (et la version `en/`). L'icône affichée est déterminée automatiquement à partir du texte du lien (`whatsapp`, `telegram`, `discord`, `labola`, `kontak`/`mail`).
|
||||||
|
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"title": "💬 Communauté",
|
||||||
|
"links": [
|
||||||
|
{ "text": "Discord", "url": "https://discord.gg/DPvUCA8dD" }
|
||||||
|
]
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
## Modifier les styles
|
## Modifier les styles
|
||||||
|
|
||||||
- **Tokens (couleurs, typo, espacements, motion)** : `src/lib/styles/oki-tokens.css` — ne jamais recopier une valeur de la charte à la main, utiliser les variables.
|
Les styles sont dans `src/assets/css/styles.css`.
|
||||||
- **Primitives partagées** (boutons, cartes, tags, flag-bar, gate reduced-motion) : `src/lib/styles/base.css`.
|
|
||||||
- **Styles d'une section** : dans le `<style>` scopé de son composant (`src/lib/components/sections/`).
|
### Variables CSS principales
|
||||||
- Durées et courbes d'animation : toujours via les tokens (`--dur-tanbou`, `--ease-ka`…), jamais en dur. On n'anime que `transform` et `opacity`.
|
|
||||||
- Le thème clair est géré par surcharge des tokens (`html.light-theme`) — ne pas écrire de sélecteur `html.light-theme` par composant.
|
```css
|
||||||
|
--or-oki: #E8A625;
|
||||||
|
--noir-oki: #000000;
|
||||||
|
--vert-oki: #00A854;
|
||||||
|
--rouge-oki: #ED1C4C;
|
||||||
|
--blanc-creme: #F7F7F2;
|
||||||
|
--noir-profond: #1A1A1A;
|
||||||
|
--gris-sombre: #2A2A2A;
|
||||||
|
--or-clair: #F5BD4F;
|
||||||
|
--vert-clair: #00C569;
|
||||||
|
--rouge-clair: #FF2D5F;
|
||||||
|
```
|
||||||
|
|
||||||
## Créer une nouvelle page
|
## Créer une nouvelle page
|
||||||
|
|
||||||
1. Créez `src/routes/ma-page/+page.svelte` (et sa contrepartie `src/routes/en/my-page/+page.svelte` si bilingue) :
|
1. Créez un fichier `.njk` dans `src/` :
|
||||||
|
|
||||||
```svelte
|
```njk
|
||||||
<script lang="ts">
|
---
|
||||||
import Seo from '$lib/components/Seo.svelte';
|
layout: layouts/base.njk
|
||||||
import { getBundle } from '$lib/i18n';
|
title: Titre de la page
|
||||||
|
description: Description pour le SEO
|
||||||
|
---
|
||||||
|
|
||||||
const t = getBundle('fr');
|
<section>
|
||||||
</script>
|
<h1>{{ title }}</h1>
|
||||||
|
<p>Contenu de votre page</p>
|
||||||
<Seo title="Titre de la page" description="Description pour le SEO" path="/ma-page/" locale="fr" />
|
|
||||||
|
|
||||||
<section class="section">
|
|
||||||
<div class="container">
|
|
||||||
<h1>Titre de la page</h1>
|
|
||||||
</div>
|
|
||||||
</section>
|
</section>
|
||||||
```
|
```
|
||||||
|
|
||||||
2. Ajoutez la correspondance FR↔EN dans `PATH_PAIRS` (`src/lib/i18n/index.ts`) pour l'hreflang et la bascule de langue.
|
2. Ajoutez le lien dans `src/_data/i18n/fr/navigation.json` (et `en/`) si nécessaire.
|
||||||
3. Ajoutez l'URL dans `static/sitemap.xml` et, si nécessaire, dans `navigation.json`.
|
|
||||||
4. Vérifiez : `npm run check && npm run build`.
|
|
||||||
|
|
||||||
## Modifier un composant
|
3. Mettez à jour `src/sitemap.xml`.
|
||||||
|
|
||||||
- Sections de l'accueil : `src/lib/components/sections/`
|
4. Reconstruisez le site : `npm run build`.
|
||||||
- Layout : `Nav.svelte`, `Footer.svelte`, `Seo.svelte`
|
|
||||||
- Motion : `src/lib/components/motion/` (KineticText, ScrollProgressBar)
|
|
||||||
- Icônes : sprite `static/icons.svg` (set OKI, charte §4) et `src/lib/components/icons/BrandIcon.svelte` (logos de marques)
|
|
||||||
|
|
||||||
Après toute modification d'un composant, passez l'autofixer (voir `svelte-5_code_writer.md`) :
|
## Modifier un partial
|
||||||
|
|
||||||
```bash
|
Les partials sont dans `src/_includes/partials/` :
|
||||||
npx @sveltejs/mcp svelte-autofixer ./src/lib/components/sections/MonComposant.svelte
|
|
||||||
```
|
- `nav.njk` - Navigation
|
||||||
|
- `hero.njk` - Section hero (accueil)
|
||||||
|
- `services.njk` - Services hébergés
|
||||||
|
- `projects.njk` - Projets web
|
||||||
|
- `mission.njk` - Mission et valeurs
|
||||||
|
- `hosting.njk` - Services d'hébergement
|
||||||
|
- `support.njk` - Section dons
|
||||||
|
- `clients.njk` - Clients / organisations ayant fait confiance
|
||||||
|
- `partners.njk` - Partenaires
|
||||||
|
- `faq.njk` - Questions fréquentes
|
||||||
|
- `engagement.njk` - Appels à l'action
|
||||||
|
- `contact.njk` - Informations de contact
|
||||||
|
- `footer.njk` - Pied de page
|
||||||
|
|
||||||
## Workflow de développement
|
## Workflow de développement
|
||||||
|
|
||||||
@@ -113,12 +146,12 @@ npx @sveltejs/mcp svelte-autofixer ./src/lib/components/sections/MonComposant.sv
|
|||||||
|
|
||||||
3. Testez localement :
|
3. Testez localement :
|
||||||
```bash
|
```bash
|
||||||
npm run dev
|
npm start
|
||||||
```
|
```
|
||||||
|
|
||||||
4. Vérifiez types, accessibilité et build :
|
4. Buildez pour vérifier :
|
||||||
```bash
|
```bash
|
||||||
npm run check && npm run build && npm run preview
|
npm run build
|
||||||
```
|
```
|
||||||
|
|
||||||
5. Commitez vos changements :
|
5. Commitez vos changements :
|
||||||
@@ -134,22 +167,24 @@ npx @sveltejs/mcp svelte-autofixer ./src/lib/components/sections/MonComposant.sv
|
|||||||
|
|
||||||
## Standards de code
|
## Standards de code
|
||||||
|
|
||||||
### Svelte / TypeScript
|
### HTML/Nunjucks
|
||||||
- Svelte 5 runes uniquement (`$state`, `$derived`, `$props`…) — voir `svelte_core_bestpractices.md`
|
- Indentation : 4 espaces
|
||||||
- TypeScript strict, props typées
|
- Toujours fermer les balises
|
||||||
- `onclick={...}` (jamais `on:click`), blocs `{#each}` à clé unique
|
- Attributs entre guillemets doubles
|
||||||
- `svelte-autofixer` propre sur tout composant modifié, `npm run check` à zéro warning
|
|
||||||
|
|
||||||
### CSS
|
### CSS
|
||||||
- Indentation : tabulations (convention du projet)
|
- Indentation : 4 espaces
|
||||||
- Variables des tokens quand possible, mobile-first
|
- Utiliser les variables CSS quand possible
|
||||||
- Angles nets : `border-radius` ≤ `var(--radius-md)` (6 px)
|
- Mobile-first pour le responsive
|
||||||
|
|
||||||
### JavaScript (fichiers statiques)
|
### JavaScript
|
||||||
- Vanilla JS, commentaires en français, aucun script inline dans le HTML (CSP `script-src 'self'`)
|
- Indentation : 4 espaces
|
||||||
|
- Vanilla JS (pas de framework)
|
||||||
|
- Commentaires en français
|
||||||
|
- Gestion des erreurs
|
||||||
|
|
||||||
### Sécurité
|
### Sécurité
|
||||||
- Ne pas ajouter de ressource externe (font, CDN, script) : tout se self-héberge. Si une exception est indispensable, ajuster la CSP dans `static/.htaccess` **et** `static/_headers`.
|
- Ne pas ajouter de scripts inline sans ajuster la CSP dans `src/.htaccess`.
|
||||||
- Conserver les headers de sécurité lors d'une modification du serveur.
|
- Conserver les headers de sécurité lors d'une modification du serveur.
|
||||||
|
|
||||||
## Questions ?
|
## Questions ?
|
||||||
|
|||||||
@@ -1,45 +0,0 @@
|
|||||||
# Déploiement — o-k-i.net (SvelteKit statique)
|
|
||||||
|
|
||||||
Le site est entièrement pré-rendu : `npm run build` produit un dossier `build/` de fichiers statiques servable par n'importe quel hébergement de fichiers, **sans serveur Node**.
|
|
||||||
|
|
||||||
```bash
|
|
||||||
npm install
|
|
||||||
npm run build # → build/
|
|
||||||
```
|
|
||||||
|
|
||||||
Contenu notable de `build/` : pages HTML par route (`index.html`, `dons/index.html`, `en/…`), assets fingerprintés (`_app/`), polices (`fonts/`), PDF presse (`assets/press/`), PWA (`sw.js`, `registerSW.js`, `manifest.webmanifest`), `404.html`, `robots.txt`, `sitemap.xml`.
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## Option A — o2switch (Apache, mutualisé)
|
|
||||||
|
|
||||||
1. Builder en local puis transférer **le contenu de `build/`** à la racine web du domaine (via FTP/SFTP ou le gestionnaire de fichiers cPanel), typiquement `public_html/`.
|
|
||||||
2. **Conserver le fichier `build/.htaccess`** (fichier caché — vérifier qu'il est bien transféré). Il contient :
|
|
||||||
- redirection HTTP → HTTPS (compatible proxy),
|
|
||||||
- `ErrorDocument 404 /404.html`,
|
|
||||||
- headers de sécurité (HSTS, CSP `default-src 'self'`, `X-Frame-Options: DENY`, `nosniff`, `Referrer-Policy`, `Permissions-Policy`),
|
|
||||||
- cache immutable pour `/_app/` et `/fonts/`.
|
|
||||||
3. HTTPS : activer le certificat Let's Encrypt dans cPanel (la redirection exempte `.well-known/acme-challenge/`).
|
|
||||||
4. Vérifications post-déploiement :
|
|
||||||
- `curl -sI https://o-k-i.net/` → headers de sécurité présents,
|
|
||||||
- `curl -s https://o-k-i.net/ | grep -c "b-cdn.net\|googleapis"` → `0`,
|
|
||||||
- une URL inexistante → page 404 designée avec statut 404.
|
|
||||||
|
|
||||||
> Le service worker (`sw.js`) est servi en `text/javascript` par défaut sous Apache — rien à configurer.
|
|
||||||
|
|
||||||
## Option B — Cloudflare Pages
|
|
||||||
|
|
||||||
1. Projet Pages connecté au dépôt, ou déploiement direct : `npx wrangler pages deploy build`.
|
|
||||||
2. Configuration du projet :
|
|
||||||
- **Build command** : `npm run build`
|
|
||||||
- **Build output directory** : `build`
|
|
||||||
3. **Le fichier `build/_headers` est pris en compte automatiquement** par Cloudflare Pages (headers de sécurité + cache immutable). Ne pas le supprimer.
|
|
||||||
4. La page 404 : Cloudflare Pages sert automatiquement `/404.html` avec le statut 404 pour les routes inconnues.
|
|
||||||
5. HTTPS/HSTS : gérés par Cloudflare ; le header HSTS est aussi dans `_headers`.
|
|
||||||
|
|
||||||
## Points communs
|
|
||||||
|
|
||||||
- **Aucune variable d'environnement** n'est nécessaire au build.
|
|
||||||
- Le site fonctionne sans JavaScript côté serveur ; les seuls scripts sont statiques (`theme.js`, `lang-redirect.js`, `registerSW.js`, bundles `_app/`).
|
|
||||||
- CSP stricte : si vous ajoutez un jour une ressource externe, il faudra l'ajouter à la CSP (dans `.htaccess` ET `_headers`) — ou mieux, la self-héberger.
|
|
||||||
- Les PDF de presse (~34 Mo dans `assets/press/`) font partie du déploiement.
|
|
||||||
@@ -1,79 +1,186 @@
|
|||||||
# o-k-i.net
|
# o-k-i.net V2
|
||||||
|
|
||||||
Site web officiel de **ORGANISATION KA INTERNATIONALE (OKI)** — « Le numérique au service de vos luttes ».
|
Site web officiel de **ORGANISATION KA INTERNATIONALE (OKI)** - Version 2 construite avec 11ty (Eleventy).
|
||||||
|
|
||||||
Version 3, reconstruite avec **SvelteKit + Svelte 5 (runes) + TypeScript**, entièrement pré-rendue en statique (`adapter-static`). L'ancienne version Eleventy est conservée sur la branche `main`.
|
|
||||||
|
|
||||||
## À propos
|
## À propos
|
||||||
|
|
||||||
ORGANISATION KA INTERNATIONALE (OKI) construit un internet différent : un espace où nos langues ont leur place, où nos données nous appartiennent vraiment, et où nos communautés se connectent sur des plateformes qu'on contrôle collectivement. Applis web sur mesure à tarifs solidaires pour associations, collectifs et organisations militantes.
|
**Et si on prenait le contrôle ensemble ?**
|
||||||
|
|
||||||
|
ORGANISATION KA INTERNATIONALE (OKI) construit un internet différent : un espace où nos langues ont leur place, où nos données nous appartiennent vraiment, et où nos communautés se connectent sur des plateformes qu'on contrôle collectivement.
|
||||||
|
|
||||||
|
Pas aux GAFAM qui en font leur business. Pas d'algorithmes aveugles, pas de censure arbitraire. O-K-I propose un accompagnement pour les créateurs de contenu, les associations et collectifs qui veulent passer aux alternatives libres et éthiques.
|
||||||
|
|
||||||
## Technologies
|
## Technologies
|
||||||
|
|
||||||
- **SvelteKit 2 / Svelte 5** — composants en runes, TypeScript strict
|
- **11ty (Eleventy)** - Générateur de site statique
|
||||||
- **adapter-static** — pré-rendu intégral, aucun serveur Node requis
|
- **Nunjucks** - Moteur de templates
|
||||||
- **vite-imagetools** — images AVIF/WebP responsives générées au build
|
- **CSS personnalisé** - Sans framework
|
||||||
- **vite-plugin-pwa** — service worker + shell hors-ligne
|
- **JavaScript Vanilla** - Interactions et animations
|
||||||
- **CSS vanilla** — tokens de la charte OKI (`src/lib/styles/oki-tokens.css`), aucun framework
|
- **Apache `.htaccess`** - Headers de sécurité et redirection HTTPS
|
||||||
- **Polices self-hébergées** — Archivo (600-900) et Inter (400-800) en woff2 (`static/fonts/`)
|
|
||||||
- **Zéro service tiers** — aucune requête vers un CDN, Google Fonts ou autre domaine externe
|
## Structure du projet
|
||||||
|
|
||||||
|
```
|
||||||
|
o-k-i.net-V2/
|
||||||
|
├── src/
|
||||||
|
│ ├── _data/ # Données JSON (services, projets, valeurs, etc.)
|
||||||
|
│ │ └── i18n/ # Fichiers de traduction FR/EN
|
||||||
|
│ ├── _includes/
|
||||||
|
│ │ ├── layouts/ # Layouts de base
|
||||||
|
│ │ └── partials/ # Composants réutilisables
|
||||||
|
│ ├── assets/
|
||||||
|
│ │ ├── css/ # Feuilles de style
|
||||||
|
│ │ ├── js/ # Scripts JavaScript
|
||||||
|
│ │ └── images/ # Images (logos, clients, etc.)
|
||||||
|
│ ├── .htaccess # Headers de sécurité et rewrite rules
|
||||||
|
│ ├── index.njk # Page d'accueil
|
||||||
|
│ └── mentions-legales.njk
|
||||||
|
├── _site/ # Site généré (git ignoré)
|
||||||
|
├── eleventy.config.js # Configuration 11ty
|
||||||
|
└── package.json
|
||||||
|
```
|
||||||
|
|
||||||
|
## Installation
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# Cloner le dépôt
|
||||||
|
git clone https://labola.o-k-i.net/ORGANISATION-KA-INTERNATIONALE/o-k-i.net.git
|
||||||
|
cd o-k-i.net
|
||||||
|
|
||||||
|
# Installer les dépendances
|
||||||
|
npm install
|
||||||
|
```
|
||||||
|
|
||||||
## Développement
|
## Développement
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
npm install
|
# Lancer le serveur de développement avec hot reload
|
||||||
npm run dev # serveur de développement
|
npm start
|
||||||
npm run build # build de production → build/
|
|
||||||
npm run preview # prévisualisation du build
|
# Le site sera disponible sur http://localhost:8080
|
||||||
npm run check # svelte-check (types + a11y)
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Structure
|
## Build de production
|
||||||
|
|
||||||
```
|
```bash
|
||||||
src/
|
# Générer le site statique
|
||||||
app.html # coquille HTML (thème anti-FOUC, fonts, manifest)
|
npm run build
|
||||||
hooks.server.ts # attribut lang fr/en selon la route
|
|
||||||
lib/
|
# Les fichiers seront dans le dossier _site/
|
||||||
styles/ # oki-tokens.css (charte), base.css (primitives)
|
|
||||||
i18n/ # bundles FR/EN (contenu éditorial, repris de la V2)
|
|
||||||
assets/images/ # sources images (optimisées au build)
|
|
||||||
components/ # Seo, Nav, Footer, sections/, motion/, icons/
|
|
||||||
motion/tokens.ts # gate reduced-motion, stagger syncopé gwoka
|
|
||||||
routes/
|
|
||||||
+layout.svelte # skip-link, ScrollProgressBar, Nav, Footer, View Transitions
|
|
||||||
+page.svelte # accueil FR en/+page.svelte # accueil EN
|
|
||||||
dons/ # dons FR en/donate/ # dons EN
|
|
||||||
presse/ # presse FR en/press/ # presse EN
|
|
||||||
mentions-legales/ # légal FR en/legal-notice/ # légal EN
|
|
||||||
offline/ # page hors-ligne (cible navigateFallback du SW)
|
|
||||||
+error.svelte # 404/erreurs designée (microcopy KA)
|
|
||||||
static/
|
|
||||||
fonts/ icons.svg images/ assets/press/ theme.js lang-redirect.js
|
|
||||||
manifest.webmanifest 404.html robots.txt sitemap.xml _headers .htaccess
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Internationalisation
|
## Personnalisation
|
||||||
|
|
||||||
FR par défaut, EN sous `/en/`. Les bundles JSON de `src/lib/i18n/{fr,en}/` alimentent les composants via `getBundle(locale)`. Les correspondances d'URLs FR↔EN (hreflang, bascule de langue) sont dans `alternatePath()` (`src/lib/i18n/index.ts`).
|
### Modifier les données
|
||||||
|
|
||||||
## Sécurité & déploiement
|
Les données du site sont organisées dans `src/_data/i18n/fr/` et `src/_data/i18n/en/` :
|
||||||
|
|
||||||
Headers de sécurité (CSP stricte `default-src 'self'`, HSTS, `X-Frame-Options: DENY`, `nosniff`, `Referrer-Policy`, `Permissions-Policy`) livrés en deux formats : `static/.htaccess` (Apache/o2switch) et `static/_headers` (Cloudflare Pages). Voir **DEPLOY.md**.
|
- `site.json` - Informations générales du site
|
||||||
|
- `services.json` - Services hébergés (BOKANTE, GADE, NIYAJ, KUTE)
|
||||||
|
- `projects.json` - Projets web (PAWOL.NU, GONG.GP, FEDIVERSE.OKI)
|
||||||
|
- `partners.json` - Partenaires (Joukawouvè, cyber-mawonaj, Aktivist Vybz #AKV)
|
||||||
|
- `clients.json` - Clients / organisations ayant fait confiance à OKI
|
||||||
|
- `values.json` - Valeurs de l'organisation
|
||||||
|
- `contact.json` - Informations de contact (groupées par section)
|
||||||
|
- `navigation.json` - Liens de navigation
|
||||||
|
|
||||||
## Charte et documents de référence
|
### Images et CDN
|
||||||
|
|
||||||
Ces documents de travail sont **locaux** (non versionnés, voir `.gitignore`) :
|
Les images locales placées dans `src/assets/images/` sont automatiquement copiées dans `_site/assets/images/`. Le filtre `| cdn` appliqué dans les templates préfixe les chemins commençant par `/` avec l'URL du pull zone BunnyCDN définie dans `src/_data/cdn.json`.
|
||||||
|
|
||||||
- **`charte-oki-design-system.md`** — marque canonique : couleurs, typographie, motion (cadences gwoka), iconographie SVG (zéro emoji en interface), voix. Prime pour tout ce qui est marque.
|
### Modifier les styles
|
||||||
- **`recette-sveltekit-playbook-agent.md`** — méthode technique : principes, budgets performance, règles motion, DoD (sa version longue : `recette-sveltekit-15-sites-awwwards.md`).
|
|
||||||
- **`AGENTS.md`** — point d'entrée pour les agents de code : impose l'usage de l'outillage Svelte MCP.
|
|
||||||
- **`svelte-5_code_writer.md`** — commandes `@sveltejs/mcp` (doc Svelte 5 + `svelte-autofixer`, à passer sur tout composant modifié).
|
|
||||||
- **`svelte_core_bestpractices.md`** — conventions runes Svelte 5 ($state/$derived/$effect, events, snippets, styles).
|
|
||||||
- **`DEPLOY.md`** — déploiement o2switch (Apache) et Cloudflare Pages (versionné, lui).
|
|
||||||
|
|
||||||
Thème sombre par défaut, thème clair en opt-in persisté (`localStorage['oki-theme']`).
|
Les styles sont dans `src/assets/css/styles.css`. La charte graphique est basée sur les couleurs du logo officiel d'OKI :
|
||||||
|
|
||||||
|
```css
|
||||||
|
:root {
|
||||||
|
/* Couleurs du logo OKI */
|
||||||
|
--or-oki: #E8A625; /* Orange/Or du logo */
|
||||||
|
--noir-oki: #000000; /* Noir du logo */
|
||||||
|
--vert-oki: #00A854; /* Vert émeraude du logo */
|
||||||
|
--rouge-oki: #ED1C4C; /* Rouge/Rose du logo */
|
||||||
|
--blanc-creme: #F7F7F2; /* Blanc crème */
|
||||||
|
|
||||||
|
/* Couleurs dérivées pour le design */
|
||||||
|
--noir-profond: #1A1A1A;
|
||||||
|
--gris-sombre: #2A2A2A;
|
||||||
|
--or-clair: #F5BD4F;
|
||||||
|
--vert-clair: #00C569;
|
||||||
|
--rouge-clair: #FF2D5F;
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
## Fonctionnalités
|
||||||
|
|
||||||
|
- ✅ Design responsive et moderne
|
||||||
|
- ✅ Bilingue FR/EN
|
||||||
|
- ✅ Animations fluides
|
||||||
|
- ✅ Navigation mobile
|
||||||
|
- ✅ Scroll smooth
|
||||||
|
- ✅ Effets hover interactifs
|
||||||
|
- ✅ Easter egg Konami Code
|
||||||
|
- ✅ Performance optimisée
|
||||||
|
- ✅ Logo et favicon intégrés
|
||||||
|
- ✅ Charte graphique basée sur le logo officiel
|
||||||
|
- ✅ Headers de sécurité HTTP (CSP, HSTS, XFO, etc.)
|
||||||
|
- ✅ Redirection automatique HTTP → HTTPS
|
||||||
|
- ✅ Année du footer générée automatiquement
|
||||||
|
|
||||||
|
### SEO & Référencement
|
||||||
|
- ✅ Meta tags Open Graph (Facebook, LinkedIn)
|
||||||
|
- ✅ Twitter / X Cards
|
||||||
|
- ✅ JSON-LD Structured Data (Schema.org)
|
||||||
|
- ✅ Sitemap.xml
|
||||||
|
- ✅ Robots.txt
|
||||||
|
- ✅ Balises canonical
|
||||||
|
- ✅ Hreflang FR/EN
|
||||||
|
- ✅ Meta description personnalisées
|
||||||
|
- ✅ Mots-clés pertinents
|
||||||
|
|
||||||
|
## Sections du site
|
||||||
|
|
||||||
|
1. **Hero** - Présentation de l'organisation avec accroche percutante
|
||||||
|
2. **Solutions** - Segmentation par public (associations, entreprises, citoyens)
|
||||||
|
3. **Services hébergés** - Alternatives libres (BOKANTE, GADE, NIYAJ, KUTE)
|
||||||
|
4. **Projets Web** - Nos projets (PAWOL.NU, GONG.GP, FEDIVERSE.OKI)
|
||||||
|
5. **Mission** - Valeurs et objectifs avec message anti-GAFAM
|
||||||
|
6. **Hébergement** - Services d'hébergement et infrastructure
|
||||||
|
7. **Support** - Options de dons (Stripe, Liberapay, Ko-fi)
|
||||||
|
8. **Partenaires** - Joukawouvè, cyber-mawonaj, Aktivist Vybz #AKV
|
||||||
|
9. **Ils nous ont fait confiance** - KA Ubuntu, KBM
|
||||||
|
10. **FAQ** - Questions fréquentes avec storytelling sur le nom "Ka"
|
||||||
|
11. **Engagement** - Appels à l'action
|
||||||
|
12. **Contact** - Email, WhatsApp, Discord, chaînes PAWOL.NU, Labola
|
||||||
|
|
||||||
|
## Contribution
|
||||||
|
|
||||||
|
Les contributions sont les bienvenues ! N'hésitez pas à ouvrir une issue ou une pull request sur [Labola](https://labola.o-k-i.net/ORGANISATION-KA-INTERNATIONALE/o-k-i.net).
|
||||||
|
|
||||||
## Licence
|
## Licence
|
||||||
|
|
||||||
AGPL-3.0 — voir `LICENSE`.
|
Ce projet est sous licence **GNU Affero General Public License v3.0 (AGPL-V3)**.
|
||||||
|
|
||||||
|
La licence AGPL-V3 est une licence de logiciel libre qui garantit :
|
||||||
|
- La liberté d'utiliser le logiciel à toute fin
|
||||||
|
- La liberté d'étudier et de modifier le code source
|
||||||
|
- La liberté de redistribuer des copies
|
||||||
|
- L'obligation de partager les modifications sous la même licence
|
||||||
|
- L'obligation de fournir le code source aux utilisateurs du service en ligne
|
||||||
|
|
||||||
|
Voir le fichier [LICENSE](LICENSE) pour plus de détails ou consultez : https://www.gnu.org/licenses/agpl-3.0.html
|
||||||
|
|
||||||
|
© 2026 ORGANISATION KA INTERNATIONALE
|
||||||
|
|
||||||
|
## Liens
|
||||||
|
|
||||||
|
- 🌐 [Site web](https://o-k-i.net)
|
||||||
|
- 📺 [GADE (PeerTube)](https://gade.o-k-i.net/)
|
||||||
|
- 🐘 [BOKANTE (Mastodon)](https://bokante.o-k-i.net/)
|
||||||
|
- ☁️ [NIYAJ (Nextcloud)](https://niyaj.o-k-i.net/)
|
||||||
|
- 🎙️ [KUTE (Castopod)](https://kute.o-k-i.net/)
|
||||||
|
- 💬 [Discord](https://discord.gg/DPvUCA8dD)
|
||||||
|
- 📱 [WhatsApp](https://wa.me/262692229740)
|
||||||
|
- 📢 [Chaîne WhatsApp PAWOL.NU](https://whatsapp.com/channel/0029VbCv7N9AjPXTxygrRu1w)
|
||||||
|
- ✈️ [Chaîne Telegram PAWOL.NU](https://t.me/OrganisationKA)
|
||||||
|
- 💻 [Labola (Gitea)](https://labola.o-k-i.net/ORGANISATION-KA-INTERNATIONALE)
|
||||||
|
- 📧 kontak@o-k-i.net
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
# Guide SEO - o-k-i.net
|
# Guide SEO - o-k-i.net
|
||||||
|
|
||||||
Ce document décrit l'optimisation SEO du site o-k-i.net (V3, SvelteKit statique).
|
Ce document décrit l'optimisation SEO mise en place sur le site o-k-i.net V2.
|
||||||
|
|
||||||
## 📋 Fichiers SEO
|
## 📋 Fichiers SEO
|
||||||
|
|
||||||
### 1. robots.txt
|
### 1. robots.txt
|
||||||
**Emplacement :** `static/robots.txt` (servi à `/robots.txt`)
|
**Emplacement :** `src/robots.txt`
|
||||||
|
|
||||||
Permet aux moteurs de recherche d'indexer tout le contenu du site et indique l'emplacement du sitemap.
|
Permet aux moteurs de recherche d'indexer tout le contenu du site et indique l'emplacement du sitemap.
|
||||||
|
|
||||||
@@ -16,116 +16,174 @@ Sitemap: https://o-k-i.net/sitemap.xml
|
|||||||
```
|
```
|
||||||
|
|
||||||
### 2. sitemap.xml
|
### 2. sitemap.xml
|
||||||
**Emplacement :** `static/sitemap.xml` (servi à `/sitemap.xml`)
|
**Emplacement :** `src/sitemap.xml`
|
||||||
|
|
||||||
Liste les 8 pages du site avec priorités et fréquences :
|
Liste toutes les pages du site avec leurs priorités et fréquences de mise à jour.
|
||||||
|
|
||||||
- `/` et `/en/` (priorité 1.0, hebdomadaire)
|
**Pages incluses :**
|
||||||
- `/dons/` et `/en/donate/` (0.6, mensuelle)
|
- Page d'accueil (priorité 1.0, hebdomadaire)
|
||||||
- `/presse/` et `/en/press/` (0.5, mensuelle)
|
- Mentions légales (priorité 0.3, mensuelle)
|
||||||
- `/mentions-legales/` et `/en/legal-notice/` (0.3, mensuelle)
|
|
||||||
|
|
||||||
**À mettre à jour :** lors de l'ajout de nouvelles pages.
|
**À mettre à jour :** Lors de l'ajout de nouvelles pages.
|
||||||
|
|
||||||
## 🏷️ Meta Tags
|
## 🏷️ Meta Tags
|
||||||
|
|
||||||
Tous les meta tags sont centralisés dans le composant **`src/lib/components/Seo.svelte`**, alimenté par `src/lib/i18n/{locale}/site.json`. Chaque page l'invoque avec ses props :
|
### Meta Tags de base
|
||||||
|
Définis dans `src/_includes/layouts/base.njk` :
|
||||||
|
|
||||||
```svelte
|
- **Title** : Dynamique selon la page
|
||||||
<Seo title="Titre de la page" description="Description spécifique" path="/ma-page/" locale="fr" />
|
- **Description** : Personnalisable par page via front matter
|
||||||
```
|
- **Keywords** : OKI, Fédiverse, PeerTube, Pleroma, Funkwhale, Castopod, Guadeloupe, logiciel libre, GAFAM
|
||||||
|
- **Author** : Organisation Ka Internationale
|
||||||
|
- **Canonical URL** : Évite le contenu dupliqué
|
||||||
|
|
||||||
- **Title** : `Titre | ORGANISATION KA INTERNATIONALE` (home : `… | OKI`)
|
### Open Graph (Facebook, LinkedIn)
|
||||||
- **Description** : par page, sinon `site.description`
|
|
||||||
- **Keywords** : `site.keywords` · **Author** : `site.name`
|
|
||||||
- **Canonical URL** : `https://o-k-i.net{path}` — évite le contenu dupliqué
|
|
||||||
- **Hreflang** : `fr`, `en`, `x-default`, calculés via `alternatePath()` (`src/lib/i18n/index.ts`)
|
|
||||||
|
|
||||||
### Open Graph (10 balises)
|
|
||||||
```html
|
```html
|
||||||
<meta property="og:type" content="website">
|
<meta property="og:type" content="website">
|
||||||
<meta property="og:url" content="https://o-k-i.net/…">
|
<meta property="og:url" content="https://o-k-i.net">
|
||||||
<meta property="og:title" content="…">
|
<meta property="og:title" content="...">
|
||||||
<meta property="og:description" content="…">
|
<meta property="og:description" content="...">
|
||||||
<meta property="og:image" content="https://o-k-i.net/images/logo-512x512.png">
|
<meta property="og:image" content="https://o-k-i.net/assets/images/logo-512x512.png">
|
||||||
<meta property="og:image:width" content="512">
|
|
||||||
<meta property="og:image:height" content="512">
|
|
||||||
<meta property="og:image:alt" content="…">
|
|
||||||
<meta property="og:locale" content="fr_FR">
|
<meta property="og:locale" content="fr_FR">
|
||||||
<meta property="og:site_name" content="ORGANISATION KA INTERNATIONALE">
|
|
||||||
```
|
```
|
||||||
|
|
||||||
### Twitter Cards
|
### Twitter Cards
|
||||||
`summary_large_image` + url, title, description, image, image:alt — self-hébergées comme tout le reste.
|
```html
|
||||||
|
<meta name="twitter:card" content="summary_large_image">
|
||||||
|
<meta name="twitter:title" content="...">
|
||||||
|
<meta name="twitter:description" content="...">
|
||||||
|
<meta name="twitter:image" content="...">
|
||||||
|
```
|
||||||
|
|
||||||
## 📊 Structured Data (JSON-LD)
|
## 📊 Structured Data (JSON-LD)
|
||||||
|
|
||||||
Deux blocs injectés par `Seo.svelte` sur toutes les pages :
|
### Organization Schema
|
||||||
|
Données structurées conformes à Schema.org pour améliorer l'affichage dans les résultats de recherche.
|
||||||
|
|
||||||
1. **Organization** : nom (OKI), URL, logo, description, adresse (36 Rue Lethière, Basse-Terre 97100, GP), contact (kontak@o-k-i.net), sameAs (niyaj, kute, labola, liberapay), `foundingDate: 2024`, `nonprofitStatus`.
|
**Type :** Organization
|
||||||
2. **MusicGroup** : DJANGOKAM (genres Reggae/Zouk/Konpa/K-pop, djangokam.pawol.nu, membre OKI).
|
|
||||||
|
|
||||||
## 🔍 Attributs lang
|
**Informations incluses :**
|
||||||
|
- Nom : ORGANISATION KA INTERNATIONALE
|
||||||
|
- Nom alternatif : OKI
|
||||||
|
- URL : https://o-k-i.net
|
||||||
|
- Logo
|
||||||
|
- Description
|
||||||
|
- Adresse physique (Basse-Terre, Guadeloupe)
|
||||||
|
- Email de contact
|
||||||
|
- Liens vers les plateformes sociales (GADE, BOKANTE, NIYAJ, KUTE, Discord, Labola, Liberapay)
|
||||||
|
- Statut : Organisation à but non lucratif
|
||||||
|
|
||||||
L'attribut `lang` du `<html>` est posé au prerender par `src/hooks.server.ts` (`fr` par défaut, `en` sous `/en/`), et `data-locale` pilote la redirection de langue (`static/lang-redirect.js`). Les microcopies en kréyòl (404, hors-ligne) portent `lang="gcf"`.
|
## 🔍 Optimisations par page
|
||||||
|
|
||||||
|
### Page d'accueil
|
||||||
|
- **Title :** "ORGANISATION KA INTERNATIONALE | OKI"
|
||||||
|
- **Description :** Reprend site.description
|
||||||
|
- **Keywords :** Fédiverse, logiciel libre, alternatives GAFAM, Guadeloupe
|
||||||
|
|
||||||
|
### Mentions légales
|
||||||
|
- **Title :** "Mentions Légales | ORGANISATION KA INTERNATIONALE"
|
||||||
|
- **Description :** "Mentions légales et informations juridiques de l'Organisation Ka Internationale (OKI) - Hébergement, RGPD, licence AGPL-V3"
|
||||||
|
|
||||||
## 🎯 Bonnes pratiques
|
## 🎯 Bonnes pratiques
|
||||||
|
|
||||||
### Ajouter une nouvelle page
|
### Ajouter une nouvelle page
|
||||||
1. Créer `src/routes/ma-page/+page.svelte` avec `<Seo>` renseigné
|
1. Créer le fichier `.njk` dans `src/`
|
||||||
2. Ajouter la paire FR↔EN dans `PATH_PAIRS` (`src/lib/i18n/index.ts`)
|
2. Ajouter le front matter avec title et description personnalisés
|
||||||
3. Mettre à jour `static/sitemap.xml`
|
3. Mettre à jour `src/sitemap.xml`
|
||||||
4. Ajouter un lien dans `src/lib/i18n/*/navigation.json` si nécessaire
|
4. Ajouter un lien dans la navigation si nécessaire
|
||||||
|
|
||||||
|
### Personnaliser les meta tags
|
||||||
|
Dans le front matter de la page :
|
||||||
|
```yaml
|
||||||
|
---
|
||||||
|
layout: layouts/base.njk
|
||||||
|
title: Titre de la page
|
||||||
|
description: Description spécifique à cette page
|
||||||
|
---
|
||||||
|
```
|
||||||
|
|
||||||
## 🚀 Tests et validation
|
## 🚀 Tests et validation
|
||||||
|
|
||||||
### Outils recommandés
|
### Outils recommandés
|
||||||
1. **Google Search Console** - Soumettre le sitemap
|
1. **Google Search Console** - Soumettre le sitemap
|
||||||
2. **Facebook Sharing Debugger** - https://developers.facebook.com/tools/debug/
|
2. **Facebook Sharing Debugger** - Tester les meta Open Graph
|
||||||
3. **Schema Markup Validator** - https://validator.schema.org/
|
- URL : https://developers.facebook.com/tools/debug/
|
||||||
4. **Google Rich Results Test** - https://search.google.com/test/rich-results
|
3. **Twitter Card Validator** - Tester les Twitter Cards
|
||||||
|
- URL : https://cards-dev.twitter.com/validator
|
||||||
|
4. **Schema Markup Validator** - Valider le JSON-LD
|
||||||
|
- URL : https://validator.schema.org/
|
||||||
|
5. **Google Rich Results Test** - Tester les données structurées
|
||||||
|
- URL : https://search.google.com/test/rich-results
|
||||||
|
|
||||||
### Commandes utiles (sur `npm run preview`)
|
### Commandes utiles
|
||||||
```bash
|
```bash
|
||||||
curl http://localhost:4173/robots.txt
|
# Vérifier robots.txt
|
||||||
curl http://localhost:4173/sitemap.xml
|
curl http://localhost:8080/robots.txt
|
||||||
curl http://localhost:4173/ | grep -oE '(property|name)="(og:|twitter:)[^"]*"'
|
|
||||||
|
# Vérifier sitemap.xml
|
||||||
|
curl http://localhost:8080/sitemap.xml
|
||||||
|
|
||||||
|
# Vérifier les meta tags
|
||||||
|
curl http://localhost:8080/ | grep -E "(og:|twitter:)"
|
||||||
```
|
```
|
||||||
|
|
||||||
## 📈 Suivi et amélioration
|
## 📈 Suivi et amélioration
|
||||||
|
|
||||||
|
### Métriques à surveiller
|
||||||
|
- Position dans les résultats de recherche Google
|
||||||
|
- Taux de clics (CTR) depuis les résultats de recherche
|
||||||
|
- Nombre de pages indexées
|
||||||
|
- Erreurs d'exploration
|
||||||
|
|
||||||
### Améliorations futures possibles
|
### Améliorations futures possibles
|
||||||
- [ ] Pages dédiées pour chaque service Fédiverse
|
- [ ] Ajouter un blog/actualités avec articles optimisés SEO
|
||||||
- [ ] FAQ avec Schema.org FAQPage
|
- [ ] Créer des pages dédiées pour chaque service Fédiverse
|
||||||
- [ ] Breadcrumbs avec données structurées
|
- [ ] Ajouter des FAQ avec Schema.org FAQPage
|
||||||
- [ ] Hreflang pour d'autres langues (créole…)
|
- [ ] Optimiser les images avec attributs alt descriptifs
|
||||||
|
- [ ] Ajouter breadcrumbs avec données structurées
|
||||||
|
- [ ] Implémenter AMP (Accelerated Mobile Pages) si nécessaire
|
||||||
|
- [ ] Ajouter hreflang pour versions multilingues (créole, anglais, etc.)
|
||||||
|
|
||||||
## 🌍 Mots-clés ciblés
|
## 🌍 Mots-clés ciblés
|
||||||
|
|
||||||
### Primaires
|
### Primaires
|
||||||
- Organisation Ka Internationale · OKI · Fédiverse Guadeloupe · Alternatives GAFAM
|
- Organisation Ka Internationale
|
||||||
|
- OKI
|
||||||
|
- Fédiverse Guadeloupe
|
||||||
|
- PeerTube Guadeloupe
|
||||||
|
- Alternatives GAFAM
|
||||||
|
|
||||||
### Secondaires
|
### Secondaires
|
||||||
- PeerTube / Mastodon / Nextcloud / Castopod Guadeloupe · Logiciel libre Antilles · Médias libres Caraïbes · Hébergement éthique · Langues créoles
|
- Pleroma
|
||||||
|
- Funkwhale
|
||||||
|
- Castopod
|
||||||
|
- Logiciel libre Antilles
|
||||||
|
- Médias libres Caraïbes
|
||||||
|
- Hébergement éthique
|
||||||
|
- Langues créoles
|
||||||
|
- Réseau social libre
|
||||||
|
|
||||||
### Longue traîne
|
### Longue traîne
|
||||||
- "alternative libre à YouTube Guadeloupe" · "hébergement PeerTube Martinique" · "réseau social décentralisé Antilles" · "promotion langues créoles numérique"
|
- "alternative libre à YouTube Guadeloupe"
|
||||||
|
- "hébergement PeerTube Martinique"
|
||||||
|
- "réseau social décentralisé Antilles"
|
||||||
|
- "promotion langues créoles numérique"
|
||||||
|
|
||||||
## 📝 Checklist SEO
|
## 📝 Checklist SEO
|
||||||
|
|
||||||
- [x] Robots.txt configuré
|
- [x] Robots.txt configuré
|
||||||
- [x] Sitemap.xml (8 URLs, dates à jour)
|
- [x] Sitemap.xml créé et soumis
|
||||||
- [x] Meta description sur toutes les pages
|
- [x] Meta description sur toutes les pages
|
||||||
- [x] Balises title optimisées
|
- [x] Balises title optimisées
|
||||||
- [x] URL canoniques
|
- [x] URL canoniques
|
||||||
- [x] Open Graph (10 balises, og:image self-hébergée)
|
- [x] Open Graph tags
|
||||||
- [x] Twitter Cards
|
- [x] Twitter Cards
|
||||||
- [x] JSON-LD Organization + MusicGroup
|
- [x] JSON-LD Organization
|
||||||
- [x] Logo haute résolution (512×512)
|
- [x] Logo haute résolution (512x512)
|
||||||
- [x] Images avec attributs alt
|
- [ ] Images avec attributs alt
|
||||||
- [x] Performance (Lighthouse mobile ≥ 90, mesuré à 91)
|
- [ ] Performance optimale (Lighthouse score)
|
||||||
- [x] Mobile-friendly (responsive, vérifié Lighthouse)
|
- [x] Mobile-friendly (déjà responsive)
|
||||||
- [x] HTTPS activé et HSTS configuré
|
- [x] HTTPS activé et HSTS configuré
|
||||||
- [x] Hreflang FR/EN/x-default
|
- [x] Hreflang FR/EN pour les versions multilingues
|
||||||
- [ ] Google Search Console configuré
|
- [ ] Google Search Console configuré
|
||||||
- [ ] Analytics installé (optionnel, respectueux RGPD — rester sans tiers)
|
- [ ] Analytics installé (optionnel, respectueux RGPD)
|
||||||
|
|||||||
@@ -0,0 +1,43 @@
|
|||||||
|
module.exports = function(eleventyConfig) {
|
||||||
|
// Locale-aware content: `t` resolves to the content bundle for the page's locale (fr by default)
|
||||||
|
eleventyConfig.addGlobalData("eleventyComputed", {
|
||||||
|
locale: (data) => data.locale || "fr",
|
||||||
|
t: (data) => data.i18n[data.locale || "fr"]
|
||||||
|
});
|
||||||
|
|
||||||
|
// Copy assets folders to output
|
||||||
|
eleventyConfig.addPassthroughCopy("src/assets");
|
||||||
|
|
||||||
|
// Copy SEO files
|
||||||
|
eleventyConfig.addPassthroughCopy("src/robots.txt");
|
||||||
|
eleventyConfig.addPassthroughCopy("src/sitemap.xml");
|
||||||
|
|
||||||
|
// Copy Apache security headers config to the site root
|
||||||
|
eleventyConfig.addPassthroughCopy({ "src/.htaccess": ".htaccess" });
|
||||||
|
|
||||||
|
// Watch CSS files for changes
|
||||||
|
eleventyConfig.addWatchTarget("src/assets/css/");
|
||||||
|
|
||||||
|
// Watch JS files for changes
|
||||||
|
eleventyConfig.addWatchTarget("src/assets/js/");
|
||||||
|
|
||||||
|
// Dynamic current-year shortcode for the footer
|
||||||
|
eleventyConfig.addShortcode("year", () => new Date().getFullYear().toString());
|
||||||
|
|
||||||
|
// Configure browser sync to reload on CSS changes
|
||||||
|
eleventyConfig.setBrowserSyncConfig({
|
||||||
|
files: ['_site/assets/css/**/*.css', '_site/assets/js/**/*.js']
|
||||||
|
});
|
||||||
|
|
||||||
|
return {
|
||||||
|
dir: {
|
||||||
|
input: "src",
|
||||||
|
output: "_site",
|
||||||
|
includes: "_includes",
|
||||||
|
data: "_data"
|
||||||
|
},
|
||||||
|
templateFormats: ["html", "md", "njk", "liquid"],
|
||||||
|
htmlTemplateEngine: "njk",
|
||||||
|
markdownTemplateEngine: "njk"
|
||||||
|
};
|
||||||
|
};
|
||||||
@@ -1,31 +1,16 @@
|
|||||||
{
|
{
|
||||||
"name": "o-k-i.net",
|
"name": "o-k-i.net-v2",
|
||||||
"version": "3.0.0",
|
"version": "1.0.0",
|
||||||
"private": true,
|
"description": "Applications web sur mesure pour associations et organisations militantes",
|
||||||
"license": "AGPL-3.0-only",
|
|
||||||
"type": "module",
|
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite dev",
|
"start": "eleventy --serve",
|
||||||
"build": "vite build",
|
"build": "eleventy",
|
||||||
"preview": "vite preview",
|
"clean": "rm -rf _site"
|
||||||
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
|
|
||||||
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch"
|
|
||||||
},
|
},
|
||||||
|
"keywords": ["application web", "associations", "organisations militantes", "développement sur mesure", "numérique éthique", "souveraineté numérique", "guadeloupe", "martinique", "caribbean", "open source"],
|
||||||
|
"author": "ORGANISATION KA INTERNATIONALE",
|
||||||
|
"license": "AGPL-3.0",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@sveltejs/adapter-static": "^3.0.10",
|
"@11ty/eleventy": "^3.1.2"
|
||||||
"@sveltejs/kit": "^2.70.1",
|
|
||||||
"@sveltejs/vite-plugin-svelte": "^7.2.0",
|
|
||||||
"svelte": "^5.56.7",
|
|
||||||
"svelte-check": "^4.7.3",
|
|
||||||
"typescript": "^6.0.3",
|
|
||||||
"vite": "^8.1.5",
|
|
||||||
"vite-imagetools": "^10.0.1",
|
|
||||||
"vite-plugin-pwa": "^1.3.0"
|
|
||||||
},
|
|
||||||
"dependencies": {
|
|
||||||
"@fontsource/archivo": "^5.3.0",
|
|
||||||
"@fontsource/inter": "^5.3.0",
|
|
||||||
"gsap": "^3.15.0",
|
|
||||||
"lenis": "^1.3.25"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,9 +7,6 @@
|
|||||||
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
|
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
|
||||||
# Page 404 designée (statique, autonome)
|
|
||||||
ErrorDocument 404 /404.html
|
|
||||||
|
|
||||||
<IfModule mod_headers.c>
|
<IfModule mod_headers.c>
|
||||||
# Force HTTPS for one year
|
# Force HTTPS for one year
|
||||||
Header always set Strict-Transport-Security "max-age=31536000"
|
Header always set Strict-Transport-Security "max-age=31536000"
|
||||||
@@ -27,24 +24,5 @@ ErrorDocument 404 /404.html
|
|||||||
Header always set Permissions-Policy "geolocation=(), microphone=(), camera=(), payment=(), usb=(), magnetometer=(), gyroscope=()"
|
Header always set Permissions-Policy "geolocation=(), microphone=(), camera=(), payment=(), usb=(), magnetometer=(), gyroscope=()"
|
||||||
|
|
||||||
# Content Security Policy (no unsafe-inline/unsafe-eval in script-src)
|
# Content Security Policy (no unsafe-inline/unsafe-eval in script-src)
|
||||||
# Toutes les ressources sont auto-hebergees : aucun domaine tiers.
|
Header always set Content-Security-Policy "default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; img-src 'self' https://organisationka.b-cdn.net; font-src 'self' https://fonts.gstatic.com; connect-src 'self'; frame-ancestors 'none'; base-uri 'self'; form-action 'self'; object-src 'none'"
|
||||||
Header always set Content-Security-Policy "default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data:; font-src 'self'; connect-src 'self'; frame-ancestors 'none'; base-uri 'self'; form-action 'self'; object-src 'none'"
|
|
||||||
</IfModule>
|
|
||||||
|
|
||||||
# Cache long pour les polices et images optimisees au build
|
|
||||||
<IfModule mod_expires.c>
|
|
||||||
ExpiresActive On
|
|
||||||
ExpiresByType font/woff2 "access plus 1 year"
|
|
||||||
ExpiresByType image/avif "access plus 1 month"
|
|
||||||
ExpiresByType image/webp "access plus 1 month"
|
|
||||||
</IfModule>
|
|
||||||
|
|
||||||
# Assets fingerprintes par Vite : cache immutable d'un an
|
|
||||||
<IfModule mod_headers.c>
|
|
||||||
<LocationMatch "^/_app/">
|
|
||||||
Header set Cache-Control "public, max-age=31536000, immutable"
|
|
||||||
</LocationMatch>
|
|
||||||
<LocationMatch "^/fonts/">
|
|
||||||
Header set Cache-Control "public, max-age=31536000, immutable"
|
|
||||||
</LocationMatch>
|
|
||||||
</IfModule>
|
</IfModule>
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
<svg viewBox="0 86.4 512 339.2" fill="currentColor" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><mask id="casto-face"><rect y="86.4" width="512" height="339.2" fill="#fff"/><path d="M372.7 159.7H139c-40.1 0-72.8 32.8-72.8 72.8S98.9 305 139 305h233.8c40.1 0 72.8-32.5 72.8-72.5.4-39.8-31.7-72.4-71.5-72.8zm-207.1 93.6s-10.7-7.9-25.8-7.9c-11.3 0-24.4 6.8-24.4 6.8-3.7-5.3-5.7-11.6-5.8-18.1 0-17.3 14-31.2 31.3-31.2s31.3 13.9 31.3 31.2c0 7.4-2.4 14-6.6 19.2m90.4 18c-34.3 0-33-26.3-33-26.3-.5-4.9 5.8-6.6 8-3.6 1.1 1.6 1.1 1.6 1.9 4.6 4.7 16.1 23.1 15.3 23.1 15.3s18.4 1.1 23.1-15.3c.8-2.7.8-3 1.9-4.6 2.2-2.7 8.5-1.4 8 3.6 0 .1 1.3 26.3-33 26.3m140.4-18.9s-13.2-6.8-24.5-6.8c-15.1 0-25.8 7.9-25.8 7.9-4.3-5.4-6.6-12.2-6.6-19.1 0-17.3 14-31.2 31.3-31.2s31.3 13.9 31.3 31.2c.2 6.5-1.8 12.9-5.7 18" fill="#000"/><path d="M107.4 129.1c-17.3-4.6-32.1 5.7-40.4 20-1.9 3.3-.6 6 1.4 7.1 2.8.8 4.7.3 7.7-4.1 6-10.7 16.2-16.7 27.7-14.5 0 0 8 2.5 9.1-2.7.8-3.4-2.2-5-5.5-5.8M417.2 140c-.3 5.2 8 5.2 8 5.2 11.5 1.1 18.7 6.3 21.4 18.3 1.6 5.2 3.3 6 6.3 6 2.2-.3 4.4-2.7 3.3-6.6-3.8-15.9-14-26.8-32.1-27.1-3.3-.2-6.6.7-6.9 4.2" fill="#000"/></mask><path d="M477.7 425.6h-89.3s-3.3-6.8-6.9-13.4-12.1-6.3-12.1-6.3H142s-8.2-1.1-12.4 6.3c-2.6 4.3-5 8.8-7.1 13.4H34.6C15.7 425.6 0 410.3 0 391.4V120.9C0 102 15.4 86.4 34.3 86.4h443.1c18.9 0 34.6 15.3 34.6 34.2v270.5c.3 18.9-15.4 34.5-34.3 34.5" mask="url(#casto-face)"/><path d="M371.1 203.2c-17.3 0-31.3 13.9-31.3 31.2 0 7.1 2.5 13.7 6.6 19.1 0 0 10.7-7.9 25.8-7.9 11.3 0 24.4 6.8 24.4 6.8 3.6-5.2 5.8-11.2 5.8-18.1 0-17.2-14-31.1-31.3-31.1m-230.2 0c-17.3 0-31.3 13.9-31.3 31.2 0 6.8 2.2 12.9 5.8 18.1 0 0 13.2-6.8 24.4-6.8 15.1 0 25.8 7.9 25.8 7.9 4.1-5.2 6.6-11.8 6.6-19.1 0-17.4-14-31.3-31.3-31.3"/></svg>
|
||||||
|
After Width: | Height: | Size: 1.7 KiB |
@@ -0,0 +1 @@
|
|||||||
|
<svg viewBox="0 0 126.644 96" fill="currentColor" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><path d="M81.15,0c-1.2376,2.1973-2.3489,4.4704-3.3591,6.794-9.5975-1.4396-19.3718-1.4396-28.9945,0-.985-2.3236-2.1216-4.5967-3.3591-6.794-9.0166,1.5407-17.8059,4.2431-26.1405,8.0568C2.779,32.5304-1.6914,56.3725.5312,79.8863c9.6732,7.1476,20.5083,12.603,32.0505,16.0884,2.6014-3.4854,4.8998-7.1981,6.8698-11.0623-3.738-1.3891-7.3497-3.1318-10.8098-5.1523.9092-.6567,1.7932-1.3386,2.6519-1.9953,20.281,9.547,43.7696,9.547,64.0758,0,.8587.7072,1.7427,1.3891,2.6519,1.9953-3.4601,2.0457-7.0718,3.7632-10.835,5.1776,1.97,3.8642,4.2683,7.5769,6.8698,11.0623,11.5419-3.4854,22.3769-8.9156,32.0509-16.0631,2.626-27.2771-4.496-50.9172-18.817-71.8548C98.9811,4.2684,90.1918,1.5659,81.1752.0505l-.0252-.0505ZM42.2802,65.4144c-6.2383,0-11.4159-5.6575-11.4159-12.6535s4.9755-12.6788,11.3907-12.6788,11.5169,5.708,11.4159,12.6788c-.101,6.9708-5.026,12.6535-11.3907,12.6535ZM84.3576,65.4144c-6.2637,0-11.3907-5.6575-11.3907-12.6535s4.9755-12.6788,11.3907-12.6788,11.4917,5.708,11.3906,12.6788c-.101,6.9708-5.026,12.6535-11.3906,12.6535Z"/></svg>
|
||||||
|
After Width: | Height: | Size: 1.1 KiB |
@@ -0,0 +1 @@
|
|||||||
|
<svg viewBox="0 0 24 24" fill="currentColor" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><path d="M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"/></svg>
|
||||||
|
After Width: | Height: | Size: 220 B |
@@ -0,0 +1 @@
|
|||||||
|
<svg viewBox="5.67 143.05 628.65 387.55" fill="currentColor" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><path d="M622.7,149.8c-4.1-4.1-9.6-4-9.6-4s-117.2,6.6-177.9,8c-13.3,0.3-26.5,0.6-39.6,0.7c0,39.1,0,78.2,0,117.2c-5.5-2.6-11.1-5.3-16.6-7.9c0-36.4-0.1-109.2-0.1-109.2c-29,0.4-89.2-2.2-89.2-2.2s-141.4-7.1-156.8-8.5c-9.8-0.6-22.5-2.1-39,1.5c-8.7,1.8-33.5,7.4-53.8,26.9C-4.9,212.4,6.6,276.2,8,285.8c1.7,11.7,6.9,44.2,31.7,72.5c45.8,56.1,144.4,54.8,144.4,54.8s12.1,28.9,30.6,55.5c25,33.1,50.7,58.9,75.7,62c63,0,188.9-0.1,188.9-0.1s12,0.1,28.3-10.3c14-8.5,26.5-23.4,26.5-23.4s12.9-13.8,30.9-45.3c5.5-9.7,10.1-19.1,14.1-28c0,0,55.2-117.1,55.2-231.1C633.2,157.9,624.7,151.8,622.7,149.8z M125.6,353.9c-25.9-8.5-36.9-18.7-36.9-18.7S69.6,321.8,60,295.4c-16.5-44.2-1.4-71.2-1.4-71.2s8.4-22.5,38.5-30c13.8-3.7,31-3.1,31-3.1s7.1,59.4,15.7,94.2c7.2,29.2,24.8,77.7,24.8,77.7S142.5,359.9,125.6,353.9z M425.9,461.5c0,0-6.1,14.5-19.6,15.4c-5.8,0.4-10.3-1.2-10.3-1.2s-0.3-0.1-5.3-2.1l-112.9-55c0,0-10.9-5.7-12.8-15.6c-2.2-8.1,2.7-18.1,2.7-18.1L322,273c0,0,4.8-9.7,12.2-13c0.6-0.3,2.3-1,4.5-1.5c8.1-2.1,18,2.8,18,2.8l110.7,53.7c0,0,12.6,5.7,15.3,16.2c1.9,7.4-0.5,14-1.8,17.2C474.6,363.8,425.9,461.5,425.9,461.5z"/><path d="M326.8,380.1c-8.2,0.1-15.4,5.8-17.3,13.8c-1.9,8,2,16.3,9.1,20c7.7,4,17.5,1.8,22.7-5.4c5.1-7.1,4.3-16.9-1.8-23.1l24-49.1c1.5,0.1,3.7,0.2,6.2-0.5c4.1-0.9,7.1-3.6,7.1-3.6c4.2,1.8,8.6,3.8,13.2,6.1c4.8,2.4,9.3,4.9,13.4,7.3c0.9,0.5,1.8,1.1,2.8,1.9c1.6,1.3,3.4,3.1,4.7,5.5c1.9,5.5-1.9,14.9-1.9,14.9c-2.3,7.6-18.4,40.6-18.4,40.6c-8.1-0.2-15.3,5-17.7,12.5c-2.6,8.1,1.1,17.3,8.9,21.3c7.8,4,17.4,1.7,22.5-5.3c5-6.8,4.6-16.3-1.1-22.6c1.9-3.7,3.7-7.4,5.6-11.3c5-10.4,13.5-30.4,13.5-30.4c0.9-1.7,5.7-10.3,2.7-21.3c-2.5-11.4-12.6-16.7-12.6-16.7c-12.2-7.9-29.2-15.2-29.2-15.2s0-4.1-1.1-7.1c-1.1-3.1-2.8-5.1-3.9-6.3c4.7-9.7,9.4-19.3,14.1-29c-4.1-2-8.1-4-12.2-6.1c-4.8,9.8-9.7,19.7-14.5,29.5c-6.7-0.1-12.9,3.5-16.1,9.4c-3.4,6.3-2.7,14.1,1.9,19.8C343.2,346.5,335,363.3,326.8,380.1z"/></svg>
|
||||||
|
After Width: | Height: | Size: 1.9 KiB |
@@ -0,0 +1 @@
|
|||||||
|
<svg viewBox="0 0 75 79" fill="currentColor" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><mask id="masto-m"><rect width="75" height="79" fill="#fff"/><path d="M61.2484 27.0263V48.114H52.8916V27.6475C52.8916 23.3388 51.096 21.1413 47.4437 21.1413C43.4287 21.1413 41.4177 23.7409 41.4177 28.8755V40.0782H33.1111V28.8755C33.1111 23.7409 31.0965 21.1413 27.0815 21.1413C23.4507 21.1413 21.6371 23.3388 21.6371 27.6475V48.114H13.2839V27.0263C13.2839 22.7176 14.384 19.2946 16.5843 16.7572C18.8539 14.2258 21.8311 12.926 25.5264 12.926C29.8036 12.926 33.0357 14.5705 35.1905 17.8559L37.2698 21.346L39.3527 17.8559C41.5074 14.5705 44.7395 12.926 49.0095 12.926C52.7013 12.926 55.6784 14.2258 57.9553 16.7572C60.1531 19.2922 61.2508 22.7152 61.2484 27.0263Z" fill="#000"/></mask><path d="M73.8393 17.4898C72.6973 9.00165 65.2994 2.31235 56.5296 1.01614C55.05 0.797115 49.4441 0 36.4582 0H36.3612C23.3717 0 20.585 0.797115 19.1054 1.01614C10.5798 2.27644 2.79399 8.28712 0.904997 16.8758C-0.00358524 21.1056 -0.100549 25.7949 0.0682394 30.0965C0.308852 36.2651 0.355538 42.423 0.91577 48.5665C1.30307 52.6474 1.97872 56.6957 2.93763 60.6812C4.73325 68.042 12.0019 74.1676 19.1233 76.6666C26.7478 79.2728 34.9474 79.7055 42.8039 77.9162C43.6682 77.7151 44.5217 77.4817 45.3645 77.216C47.275 76.6092 49.5123 75.9305 51.1571 74.7385C51.1797 74.7217 51.1982 74.7001 51.2112 74.6753C51.2243 74.6504 51.2316 74.6229 51.2325 74.5948V68.6416C51.2321 68.6154 51.2259 68.5896 51.2142 68.5661C51.2025 68.5426 51.1858 68.522 51.1651 68.5058C51.1444 68.4896 51.1204 68.4783 51.0948 68.4726C51.0692 68.4669 51.0426 68.467 51.0171 68.4729C45.9835 69.675 40.8254 70.2777 35.6502 70.2682C26.7439 70.2682 24.3486 66.042 23.6626 64.2826C23.1113 62.762 22.7612 61.1759 22.6212 59.5646C22.6197 59.5375 22.6247 59.5105 22.6357 59.4857C22.6466 59.4609 22.6633 59.4391 22.6843 59.422C22.7053 59.4048 22.73 59.3929 22.7565 59.3871C22.783 59.3813 22.8104 59.3818 22.8367 59.3886C27.7864 60.5826 32.8604 61.1853 37.9522 61.1839C39.1768 61.1839 40.3978 61.1839 41.6224 61.1516C46.7435 61.008 52.1411 60.7459 57.1796 59.7621C57.3053 59.7369 57.431 59.7154 57.5387 59.6831C65.4861 58.157 73.0493 53.3672 73.8178 41.2381C73.8465 40.7606 73.9184 36.2364 73.9184 35.7409C73.9219 34.0569 74.4606 23.7949 73.8393 17.4898Z" mask="url(#masto-m)"/></svg>
|
||||||
|
After Width: | Height: | Size: 2.3 KiB |
@@ -0,0 +1 @@
|
|||||||
|
<svg viewBox="14 34.5 122.5 57" fill="currentColor" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><path d="M75.091,35.685c-12.438,0-22.981,8.433-26.248,19.857-2.84-6.06-8.994-10.305-16.082-10.305-9.748,0-17.761,8.013-17.761,17.761s8.013,17.765,17.761,17.765c7.088,0,13.242-4.248,16.082-10.309,3.268,11.426,13.81,19.861,26.248,19.861,12.346,0,22.835-8.308,26.186-19.605,2.892,5.924,8.97,10.053,15.958,10.053,9.748,0,17.765-8.017,17.765-17.765s-8.017-17.761-17.765-17.761c-6.988,0-13.065,4.127-15.958,10.05-3.352-11.296-13.84-19.601-26.186-19.601h0ZM75.091,46.11c9.39,0,16.89,7.497,16.89,16.887s-7.501,16.89-16.89,16.89-16.887-7.501-16.887-16.89,7.497-16.887,16.887-16.887ZM32.762,55.663c4.114,0,7.338,3.221,7.338,7.335s-3.225,7.338-7.338,7.338-7.335-3.225-7.335-7.338,3.221-7.335,7.335-7.335ZM117.234,55.663c4.114,0,7.338,3.221,7.338,7.335s-3.225,7.338-7.338,7.338-7.335-3.225-7.335-7.338,3.221-7.335,7.335-7.335Z"/></svg>
|
||||||
|
After Width: | Height: | Size: 930 B |
@@ -0,0 +1 @@
|
|||||||
|
<svg viewBox="2799 -911 512 682.688" fill="currentColor" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><path d="m2799-911v341.344l256-170.656"/><path d="m2799-569.656v341.344l256-170.656"/><path d="m3055-740.344v341.344l256-170.656"/></svg>
|
||||||
|
After Width: | Height: | Size: 249 B |
@@ -0,0 +1 @@
|
|||||||
|
<svg viewBox="0 0 307 307" fill="currentColor" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" style="fill-rule:evenodd;clip-rule:evenodd;"><g transform="matrix(1,0,0,1,-757,-1483)"><g transform="matrix(1.432974,0,0,1.80298,-288.929017,-864.20063)"><g transform="matrix(0.629919,0,0,0.500647,539.407527,1110.972982)"><path d="M356.969,675.637C323.753,644.675 302.968,600.546 302.968,551.6C302.968,458.019 378.944,382.044 472.524,382.044C566.105,382.044 642.08,458.019 642.08,551.6C642.08,629.48 589.46,695.166 517.864,715.015C501.974,691.667 487.572,670.399 498.34,635.393C485.202,642.099 476.944,655.288 474.445,669.626C469.556,661.943 464.129,654.533 457.841,647.931C441.837,631.125 420.016,619.373 409.919,597.549C405.306,587.241 402.145,572.504 405.799,561.838C408.436,582.54 418.507,601.587 436.545,612.617C450.296,621.023 465.703,622.408 481.126,625.661C497.203,629.048 522.738,636.688 538.403,633.928C551.425,631.638 578.749,617.255 578.02,601.656C577.765,596.289 571.213,587.245 568.79,582.066C565.566,575.171 567.48,573.682 567.848,566.765C568.885,547.188 563.715,537.516 554.206,521.395C542.674,501.84 530.016,490.024 508.095,482.087C488.062,474.831 457.231,478.938 456.996,479.271C461.046,483.711 464.773,488.906 465.295,495.055C457.084,487.46 449.14,479.387 439.945,472.948C419.607,458.71 406.868,460.052 398.782,484.817C394.568,497.72 391.382,515.255 395.288,528.453C397.657,536.447 402.575,542.952 408.175,548.951C397.217,547.458 390.574,537.94 388.158,527.623C360.997,586.373 354.95,614.781 356.969,675.637ZM558.455,619.379L558.452,619.376C554.235,619.505 550.344,617.264 547.164,614.697C545.37,613.176 542.74,611.209 542.372,608.931C541.643,604.396 545.254,601.153 547.406,599.808C549.251,598.658 551.495,598.017 553.613,597.527C558.442,596.411 563.455,595.377 568.319,596.323C569.774,596.606 571.22,597.077 572.417,597.951C573.614,598.821 574.544,600.138 574.705,601.612C574.824,602.705 574.525,603.796 574.164,604.833C573.322,607.217 572.16,609.476 570.71,611.548C569.274,613.613 567.556,615.508 565.485,616.934C563.414,618.361 560.969,619.304 558.455,619.379ZM486.399,552.769C503.076,550.51 505.109,576.334 489.02,577.418C472.931,578.502 471.118,554.84 486.399,552.769ZM430.213,501.5C431.753,505.171 434.926,507.616 437.667,510.309C431.445,512.197 425.166,510.394 419.704,507.264C420.028,513.033 424.299,518.121 427.498,522.174C422.225,523.384 417.564,521.577 413.944,517.769C413.891,523.13 415.717,527.806 418.347,532.34C408.062,537.456 403.622,526.696 403.097,518.275C402.522,509.02 406.267,485.669 412.907,478.941C420.336,471.412 431.875,480.182 438.166,485.238C443.719,489.698 449.061,495.087 454.092,500.111C447.487,504.476 437.648,504.294 430.213,501.5ZM559.47,568.921C555.834,562.599 554.722,560.76 552.607,556.182C551.168,553.064 550.439,549.366 555.655,549.256C565.117,549.055 568.395,564.041 561.026,569.27C560.844,569.397 560.628,569.465 560.407,569.465C560.02,569.465 559.662,569.257 559.47,568.921ZM553.254,508.59C555.938,471.688 555.624,447.806 521.4,481.304C534.318,487.312 545.181,496.897 553.254,508.59Z"/></g></g></g></svg>
|
||||||
|
After Width: | Height: | Size: 3.0 KiB |
@@ -0,0 +1 @@
|
|||||||
|
<svg viewBox="181 296 556 462" fill="currentColor" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><path d="M226.328419,494.722069 C372.088573,431.216685 469.284839,389.350049 517.917216,369.122161 C656.772535,311.36743 685.625481,301.334815 704.431427,301.003532 C708.567621,300.93067 717.815839,301.955743 723.806446,306.816707 C728.864797,310.92121 730.256552,316.46581 730.922551,320.357329 C731.588551,324.248848 732.417879,333.113828 731.758626,340.040666 C724.234007,419.102486 691.675104,610.964674 675.110982,699.515267 C668.10208,736.984342 654.301336,749.547532 640.940618,750.777006 C611.904684,753.448938 589.856115,731.588035 561.733393,713.153237 C517.726886,684.306416 492.866009,666.349181 450.150074,638.200013 C400.78442,605.66878 432.786119,587.789048 460.919462,558.568563 C468.282091,550.921423 596.21508,434.556479 598.691227,424.000355 C599.00091,422.680135 599.288312,417.758981 596.36474,415.160431 C593.441168,412.561881 589.126229,413.450484 586.012448,414.157198 C581.598758,415.158943 511.297793,461.625274 375.109553,553.556189 C355.154858,567.258623 337.080515,573.934908 320.886524,573.585046 C303.033948,573.199351 268.692754,563.490928 243.163606,555.192408 C211.851067,545.013936 186.964484,539.632504 189.131547,522.346309 C190.260287,513.342589 202.659244,504.134509 226.328419,494.722069 Z"/></svg>
|
||||||
|
After Width: | Height: | Size: 1.3 KiB |
@@ -0,0 +1 @@
|
|||||||
|
<svg viewBox="15.6 11.4 17.1 19" fill="currentColor" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><path fill-rule="evenodd" clip-rule="evenodd" d="M25.5172 25.0575C25.4647 26.4295 24.3093 27.5306 22.8929 27.5306C22.5691 27.5306 22.2591 27.4729 21.9727 27.3675C22.2591 27.4729 22.5692 27.5306 22.893 27.5306C24.3094 27.5306 25.4648 26.4295 25.5174 25.0576L25.5224 12.8063H27.8124C28.0331 13.971 28.7405 14.9704 29.7205 15.5948C29.7208 15.5952 29.7212 15.5956 29.7215 15.596C30.4037 16.0305 31.2171 16.284 32.0903 16.284V16.9645C32.0903 16.9645 32.0903 16.9645 32.0904 16.9646V19.3405C30.4684 19.3405 28.9654 18.8334 27.7386 17.9728V24.1852C27.7386 27.2878 25.1559 29.8119 21.9812 29.8119C20.7545 29.8119 19.6169 29.4338 18.6818 28.7921C18.6813 28.7916 18.6808 28.791 18.6802 28.7905C17.1964 27.7717 16.224 26.0876 16.224 24.1846C16.224 21.0821 18.8067 18.5579 21.9814 18.5579C22.2448 18.5579 22.503 18.5791 22.7572 18.6128V19.337C19.861 19.4031 17.4865 21.5682 17.1713 24.3333C17.4868 21.5685 19.8611 19.4037 22.7571 19.3376V21.7342C22.5115 21.6591 22.2519 21.6154 21.9812 21.6154C20.5314 21.6154 19.3519 22.7683 19.3519 24.1852C19.3519 25.1719 19.9247 26.0292 20.7616 26.4596C20.7616 26.4597 20.7616 26.4597 20.7616 26.4597C21.1265 26.6474 21.541 26.7549 21.9811 26.7549C23.3975 26.7549 24.5529 25.6538 24.6055 24.2819L24.6105 12.0305H27.7385C27.7385 12.2955 27.7646 12.5545 27.8123 12.8063H25.5223L25.5172 25.0575Z"/></svg>
|
||||||
|
After Width: | Height: | Size: 1.4 KiB |
@@ -0,0 +1 @@
|
|||||||
|
<svg viewBox="0 0 720 720" fill="currentColor" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><path d="M360,0C161.18,0,0,161.18,0,360c0,65.41,17.45,126.75,47.94,179.61L0,720l187.02-44.21c51.34,28.18,110.28,44.21,172.98,44.21,198.82,0,360-161.18,360-360S558.82,0,360,0ZM360,655.52c-60.17,0-116.13-17.98-162.82-48.87l-110.49,28.14,30.99-105.61c-33.53-47.93-53.2-106.26-53.2-169.19,0-163.21,132.31-295.52,295.52-295.52s295.52,132.31,295.52,295.52-132.31,295.52-295.52,295.52Z"/><path d="M444.35,407.52l87.1,41.06c4,1.88,6.56,5.94,6.2,10.34-.94,11.46-5.54,34.43-26.13,55.02-58.12,58.12-162.49-7.64-166.74-10.18-25.67-13.79-50.06-32.24-73.19-55.36-23.12-23.12-41.58-47.52-55.37-73.19-2.55-4.24-68.31-108.61-10.18-166.74,20.59-20.59,43.56-25.19,55.02-26.13,4.41-.36,8.46,2.2,10.34,6.2l41.07,87.1c1.94,4.12,1.09,9.02-2.13,12.24l-30.61,30.61c-6.62,6.62-8.56,16.93-4,25.11,11.17,20.03,26.19,39.32,43.59,57.07,17.75,17.4,37.04,32.43,57.07,43.59,8.18,4.56,18.48,2.62,25.11-4l30.61-30.61c3.22-3.22,8.12-4.08,12.24-2.13Z"/></svg>
|
||||||
|
After Width: | Height: | Size: 1.0 KiB |
@@ -0,0 +1 @@
|
|||||||
|
<svg viewBox="0 0 1200 1227" fill="currentColor" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><path d="M714.163 519.284L1160.89 0H1055.03L667.137 450.887L357.328 0H0L468.492 681.821L0 1226.37H105.866L515.491 750.218L842.672 1226.37H1200L714.137 519.284H714.163ZM569.165 687.828L521.697 619.934L144.011 79.6944H306.615L611.412 515.685L658.88 583.579L1055.08 1150.3H892.476L569.165 687.854V687.828Z"/></svg>
|
||||||
|
After Width: | Height: | Size: 415 B |
@@ -0,0 +1,115 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="{{ locale }}" data-locale="{{ locale }}">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
|
||||||
|
<!-- Title & Description -->
|
||||||
|
<title>{% if title %}{{ title }} | {{ t.site.name }}{% else %}{{ t.site.name }} | {{ t.site.shortName }}{% endif %}</title>
|
||||||
|
<meta name="description" content="{{ description or t.site.description }}">
|
||||||
|
<meta name="keywords" content="{{ t.site.keywords }}">
|
||||||
|
<meta name="author" content="{{ t.site.name }}">
|
||||||
|
|
||||||
|
<!-- Canonical URL -->
|
||||||
|
<link rel="canonical" href="https://o-k-i.net{{ page.url or '/' }}">
|
||||||
|
|
||||||
|
<!-- Alternate languages -->
|
||||||
|
<link rel="alternate" hreflang="fr" href="https://o-k-i.net/">
|
||||||
|
<link rel="alternate" hreflang="en" href="https://o-k-i.net/en/">
|
||||||
|
<link rel="alternate" hreflang="x-default" href="https://o-k-i.net/">
|
||||||
|
|
||||||
|
<!-- Open Graph / Facebook -->
|
||||||
|
<meta property="og:type" content="website">
|
||||||
|
<meta property="og:url" content="https://o-k-i.net{{ page.url or '/' }}">
|
||||||
|
<meta property="og:title" content="{% if title %}{{ title }}{% else %}{{ t.site.name }} - {{ t.site.og_tagline }}{% endif %}">
|
||||||
|
<meta property="og:description" content="{{ description or t.site.description }}">
|
||||||
|
<meta property="og:image" content="https://o-k-i.net/assets/images/logo-512x512.png">
|
||||||
|
<meta property="og:image:width" content="512">
|
||||||
|
<meta property="og:image:height" content="512">
|
||||||
|
<meta property="og:image:alt" content="Logo {{ t.site.name }}">
|
||||||
|
<meta property="og:locale" content="{{ t.site.og_locale }}">
|
||||||
|
<meta property="og:site_name" content="{{ t.site.name }}">
|
||||||
|
|
||||||
|
<!-- Twitter Card -->
|
||||||
|
<meta name="twitter:card" content="summary_large_image">
|
||||||
|
<meta name="twitter:url" content="https://o-k-i.net{{ page.url or '/' }}">
|
||||||
|
<meta name="twitter:title" content="{% if title %}{{ title }}{% else %}{{ t.site.name }} - {{ t.site.og_tagline }}{% endif %}">
|
||||||
|
<meta name="twitter:description" content="{{ description or t.site.description }}">
|
||||||
|
<meta name="twitter:image" content="https://o-k-i.net/assets/images/logo-512x512.png">
|
||||||
|
<meta name="twitter:image:alt" content="Logo {{ t.site.name }}">
|
||||||
|
|
||||||
|
<!-- Favicons -->
|
||||||
|
<link rel="icon" type="image/x-icon" href="/assets/images/favicon.ico">
|
||||||
|
<link rel="icon" type="image/png" sizes="512x512" href="/assets/images/logo-512x512.png">
|
||||||
|
<link rel="apple-touch-icon" href="/assets/images/logo-512x512.png">
|
||||||
|
|
||||||
|
<!-- Fonts -->
|
||||||
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||||
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=Archivo:wght@600;700;800;900&family=Inter:wght@400;500;600;700;800&display=swap" rel="stylesheet">
|
||||||
|
|
||||||
|
<!-- Stylesheet -->
|
||||||
|
<link rel="stylesheet" href="/assets/css/styles.css">
|
||||||
|
|
||||||
|
<!-- JSON-LD Structured Data -->
|
||||||
|
<script type="application/ld+json">
|
||||||
|
{
|
||||||
|
"@context": "https://schema.org",
|
||||||
|
"@type": "Organization",
|
||||||
|
"name": "{{ t.site.name }}",
|
||||||
|
"alternateName": "{{ t.site.shortName }}",
|
||||||
|
"url": "https://o-k-i.net",
|
||||||
|
"logo": "https://o-k-i.net/assets/images/logo-512x512.png",
|
||||||
|
"description": "{{ t.site.description }}",
|
||||||
|
"address": {
|
||||||
|
"@type": "PostalAddress",
|
||||||
|
"streetAddress": "36 Rue Lethière",
|
||||||
|
"addressLocality": "Basse-Terre",
|
||||||
|
"postalCode": "97100",
|
||||||
|
"addressCountry": "GP"
|
||||||
|
},
|
||||||
|
"contactPoint": {
|
||||||
|
"@type": "ContactPoint",
|
||||||
|
"email": "kontak@o-k-i.net",
|
||||||
|
"contactType": "customer service"
|
||||||
|
},
|
||||||
|
"sameAs": [
|
||||||
|
"https://niyaj.o-k-i.net/",
|
||||||
|
"https://kute.o-k-i.net/",
|
||||||
|
"https://labola.o-k-i.net/",
|
||||||
|
"https://liberapay.com/OKI/donate"
|
||||||
|
],
|
||||||
|
"foundingDate": "2024",
|
||||||
|
"nonprofitStatus": "NonprofitANBI"
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<script type="application/ld+json">
|
||||||
|
{
|
||||||
|
"@context": "https://schema.org",
|
||||||
|
"@type": "MusicGroup",
|
||||||
|
"name": "DJANGOKAM",
|
||||||
|
"genre": ["Reggae", "Zouk", "Konpa", "K-pop"],
|
||||||
|
"url": "https://djangokam.pawol.nu",
|
||||||
|
"sameAs": ["https://djangokam.pawol.nu"],
|
||||||
|
"member": {
|
||||||
|
"@type": "Organization",
|
||||||
|
"name": "{{ t.site.name }}",
|
||||||
|
"url": "https://o-k-i.net"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<script src="/assets/js/theme.js"></script>
|
||||||
|
<script src="/assets/js/lang-redirect.js"></script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
{% include "partials/nav.njk" %}
|
||||||
|
|
||||||
|
{{ content | safe }}
|
||||||
|
|
||||||
|
{% include "partials/footer.njk" %}
|
||||||
|
|
||||||
|
<script src="/assets/js/main.js"></script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -0,0 +1,24 @@
|
|||||||
|
<section id="clients" class="partners">
|
||||||
|
<div class="section-container">
|
||||||
|
<h2>{{ t.clients.section_title }} <span class="accent-text">{{ t.clients.section_title_accent }}</span></h2>
|
||||||
|
<p class="section-subtitle">
|
||||||
|
{{ t.clients.section_subtitle }}
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<div class="partners-grid">
|
||||||
|
{% for client in t.clients.items %}
|
||||||
|
<a href="{{ client.url }}" target="_blank" rel="noopener noreferrer" class="partner-card">
|
||||||
|
<div class="partner-logo-container">
|
||||||
|
<img src="{{ client.logo }}" alt="Logo {{ client.name }}" class="partner-logo">
|
||||||
|
</div>
|
||||||
|
<h3>{{ client.name }}</h3>
|
||||||
|
<p class="project-domain">{{ client.domain }}</p>
|
||||||
|
<p class="partner-description">{{ client.description }}</p>
|
||||||
|
<span class="partner-link">
|
||||||
|
{{ t.clients.link_text }} →
|
||||||
|
</span>
|
||||||
|
</a>
|
||||||
|
{% endfor %}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
@@ -0,0 +1,33 @@
|
|||||||
|
<section class="contact" id="contact">
|
||||||
|
<div class="section-container">
|
||||||
|
<h2>{{ t.contact.title }}</h2>
|
||||||
|
<p class="contact-lede">
|
||||||
|
{{ t.contact.lede | safe }}
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
<div class="contact-socials">
|
||||||
|
{% for section in t.contact.sections %}
|
||||||
|
<div class="contact-socials-group">
|
||||||
|
<h3 class="contact-socials-title">{{ section.title }}</h3>
|
||||||
|
<div class="contact-socials-row">
|
||||||
|
{% for link in section.links %}
|
||||||
|
{% set lname = link.text.toLowerCase() %}
|
||||||
|
<a href="{{ link.url }}" title="{{ link.text }}"{% if link.url.startsWith('http') %} target="_blank" rel="noopener noreferrer"{% endif %} class="contact-social-link">
|
||||||
|
{% if 'kontak' in lname or 'mail' in lname %}
|
||||||
|
{% include "icons/email.svg" %}
|
||||||
|
{% elif 'whatsapp' in lname %}
|
||||||
|
{% include "icons/whatsapp.svg" %}
|
||||||
|
{% elif 'telegram' in lname %}
|
||||||
|
{% include "icons/telegram.svg" %}
|
||||||
|
{% elif 'discord' in lname %}
|
||||||
|
{% include "icons/discord.svg" %}
|
||||||
|
{% elif 'labola' in lname or 'gitea' in lname %}
|
||||||
|
{% include "icons/gitea.svg" %}
|
||||||
|
{% endif %}
|
||||||
|
</a>
|
||||||
|
{% endfor %}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{% endfor %}
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
@@ -0,0 +1,63 @@
|
|||||||
|
<section id="djangokam" class="djangokam">
|
||||||
|
<div class="section-container">
|
||||||
|
<p class="djangokam-surtitre">{{ t.djangokam.surtitre }}</p>
|
||||||
|
<h2>{{ t.djangokam.titre }} <span class="accent-text">{{ t.djangokam.titreAccent }}</span></h2>
|
||||||
|
<p class="section-subtitle">{{ t.djangokam.accroche }}</p>
|
||||||
|
|
||||||
|
<img src="/assets/images/djangokam-portrait.webp" alt="Portrait officiel de DJANGOKAM" class="djangokam-portrait" width="512" height="512" loading="lazy">
|
||||||
|
|
||||||
|
<blockquote class="djangokam-highlight">
|
||||||
|
{{ t.djangokam.message_cle }}
|
||||||
|
</blockquote>
|
||||||
|
|
||||||
|
<div class="djangokam-histoire-wrapper">
|
||||||
|
<div class="djangokam-histoire">
|
||||||
|
{% for paragraphe in t.djangokam.histoire %}
|
||||||
|
<p>{{ paragraphe }}</p>
|
||||||
|
{% endfor %}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<figure class="djangokam-duo">
|
||||||
|
<a href="{{ t.djangokam.duo.url }}" target="_blank" rel="noopener noreferrer">
|
||||||
|
<img src="{{ t.djangokam.duo.image }}" alt="{{ t.djangokam.duo.alt }}" loading="lazy">
|
||||||
|
<figcaption>{{ t.djangokam.duo.legende }}</figcaption>
|
||||||
|
</a>
|
||||||
|
</figure>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="djangokam-facts">
|
||||||
|
{% for fait in t.djangokam.faits %}
|
||||||
|
<div class="djangokam-fact-card">
|
||||||
|
<div class="djangokam-fact-icon">{{ fait.icon }}</div>
|
||||||
|
<h3>{{ fait.chiffre }}</h3>
|
||||||
|
<p>{{ fait.texte | safe }}</p>
|
||||||
|
</div>
|
||||||
|
{% endfor %}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="djangokam-clips">
|
||||||
|
{% for clip in t.djangokam.clips %}
|
||||||
|
<figure class="djangokam-clip">
|
||||||
|
<a href="{{ clip.url }}" target="_blank" rel="noopener noreferrer">
|
||||||
|
<img src="{{ clip.image }}" alt="{{ clip.alt }}" loading="lazy">
|
||||||
|
<figcaption>{{ clip.titre }}</figcaption>
|
||||||
|
</a>
|
||||||
|
</figure>
|
||||||
|
{% endfor %}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<p class="djangokam-instrument">{{ t.djangokam.ia_instrument | safe }}</p>
|
||||||
|
|
||||||
|
<div class="cta-buttons djangokam-buttons">
|
||||||
|
{% for bouton in t.djangokam.boutons %}
|
||||||
|
<a href="{{ bouton.url }}" target="_blank" rel="noopener noreferrer" class="btn {% if bouton.primary %}btn-primary{% else %}btn-secondary{% endif %}">
|
||||||
|
{{ bouton.text }} →
|
||||||
|
</a>
|
||||||
|
{% endfor %}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<p class="djangokam-presse">
|
||||||
|
{{ t.djangokam.presse.texte }} <a href="mailto:{{ t.djangokam.presse.email }}">{{ t.djangokam.presse.email }}</a>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
@@ -0,0 +1,19 @@
|
|||||||
|
<section id="engagement" class="engagement">
|
||||||
|
<div class="section-container">
|
||||||
|
<h2>{{ t.engagement.section_title }} <span class="accent-text">{{ t.engagement.section_title_accent }}</span></h2>
|
||||||
|
<p class="section-subtitle">
|
||||||
|
{{ t.engagement.section_subtitle }}
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<div class="engagement-options">
|
||||||
|
{% for card in t.engagement.cards %}
|
||||||
|
<div class="engagement-card">
|
||||||
|
<div class="engagement-icon">{{ card.icon }}</div>
|
||||||
|
<h3>{{ card.title }}</h3>
|
||||||
|
<p>{{ card.text }}</p>
|
||||||
|
<a href="#contact" class="btn btn-primary">{{ card.cta }}</a>
|
||||||
|
</div>
|
||||||
|
{% endfor %}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
@@ -0,0 +1,31 @@
|
|||||||
|
<section id="faq" class="faq">
|
||||||
|
<div class="section-container">
|
||||||
|
<h2>{{ t.faq.section_title }} <span class="accent-text">{{ t.faq.section_title_accent }}</span></h2>
|
||||||
|
<p class="section-subtitle">
|
||||||
|
{{ t.faq.section_subtitle }}
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<div class="faq-container">
|
||||||
|
{% for item in t.faq.items %}
|
||||||
|
<div class="faq-item">
|
||||||
|
<button class="faq-question">
|
||||||
|
<span>{{ item.question }}</span>
|
||||||
|
<span class="faq-icon">+</span>
|
||||||
|
</button>
|
||||||
|
<div class="faq-answer">
|
||||||
|
<p>{{ item.answer }}</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{% endfor %}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="faq-footer">
|
||||||
|
<p>
|
||||||
|
{{ t.faq.footer_text }}
|
||||||
|
</p>
|
||||||
|
<a href="#contact" class="btn btn-secondary">
|
||||||
|
{{ t.faq.footer_cta }} →
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
@@ -0,0 +1,24 @@
|
|||||||
|
<section id="services-libres" class="fediverse">
|
||||||
|
<div class="section-container">
|
||||||
|
<h2>{{ t.services.section_title }} <span class="accent-text">{{ t.services.section_title_accent }}</span></h2>
|
||||||
|
<p class="section-subtitle">
|
||||||
|
{{ t.services.section_subtitle }}
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<div class="services-grid">
|
||||||
|
{% for service in t.services.items %}
|
||||||
|
<div class="service-card">
|
||||||
|
<div class="service-icon">{% include "icons/" + (service.platform | lower) + ".svg" %}</div>
|
||||||
|
<h3>{{ service.name }}</h3>
|
||||||
|
<div class="service-platform">{{ service.platform }}</div>
|
||||||
|
<p class="service-description">
|
||||||
|
{{ service.description }}
|
||||||
|
</p>
|
||||||
|
<a href="{{ service.url }}" target="_blank" class="service-link">
|
||||||
|
{{ service.linkText }} →
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
{% endfor %}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
@@ -0,0 +1,30 @@
|
|||||||
|
<footer>
|
||||||
|
<div class="flag-bar"></div>
|
||||||
|
<div class="footer-content">
|
||||||
|
<p class="footer-name">
|
||||||
|
{{ t.site.name }}
|
||||||
|
</p>
|
||||||
|
<p class="footer-meta">
|
||||||
|
© {% year %} {{ t.site.name }} | {{ t.site.tagline }}
|
||||||
|
</p>
|
||||||
|
<p class="footer-legal">
|
||||||
|
<a href="{% if locale == 'en' %}/en/legal-notice/{% else %}/mentions-legales/{% endif %}">
|
||||||
|
{{ t.footer.legal_link }}
|
||||||
|
</a>
|
||||||
|
</p>
|
||||||
|
<div class="footer-socials">
|
||||||
|
<a href="mailto:kontak@o-k-i.net" title="Email" class="social-link">
|
||||||
|
{% include "icons/email.svg" %}
|
||||||
|
</a>
|
||||||
|
<a href="https://wa.me/262692229740" target="_blank" rel="noopener noreferrer" title="WhatsApp" class="social-link">
|
||||||
|
{% include "icons/whatsapp.svg" %}
|
||||||
|
</a>
|
||||||
|
<a href="https://discord.gg/DPvUCA8dD" target="_blank" rel="noopener noreferrer" title="Discord" class="social-link">
|
||||||
|
{% include "icons/discord.svg" %}
|
||||||
|
</a>
|
||||||
|
<a href="https://labola.o-k-i.net/ORGANISATION-KA-INTERNATIONALE/o-k-i.net" target="_blank" rel="noopener noreferrer" title="Code source sur Labola (Gitea)" class="social-link">
|
||||||
|
{% include "icons/gitea.svg" %}
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</footer>
|
||||||
@@ -0,0 +1,19 @@
|
|||||||
|
<section class="hero">
|
||||||
|
<div class="hero-content">
|
||||||
|
<h1>ORGANISATION KA</h1>
|
||||||
|
<h2 class="hero-subtitle">INTERNATIONALE</h2>
|
||||||
|
<p class="hero-tagline">
|
||||||
|
{{ t.site.tagline }}
|
||||||
|
</p>
|
||||||
|
<div class="hero-tags">
|
||||||
|
{% for tag in t.hero.tags %}
|
||||||
|
<span class="tag">{{ tag }}</span>
|
||||||
|
{% endfor %}
|
||||||
|
</div>
|
||||||
|
<p>{{ t.site.description }}</p>
|
||||||
|
<div class="cta-buttons">
|
||||||
|
<a href="#solutions" class="btn btn-primary">{{ t.hero.cta_primary }}</a>
|
||||||
|
<a href="#mission" class="btn btn-secondary">{{ t.hero.cta_secondary }}</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
@@ -0,0 +1,63 @@
|
|||||||
|
<section id="hebergement" class="hosting">
|
||||||
|
<div class="section-container">
|
||||||
|
<h2>{{ t.hosting.section_title }} <span class="accent-text">{{ t.hosting.section_title_accent }}</span></h2>
|
||||||
|
|
||||||
|
<p class="section-subtitle">
|
||||||
|
{{ t.hosting.section_subtitle }}
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<div class="hosting-banner">
|
||||||
|
<h3>{{ t.hosting.banner_title }}</h3>
|
||||||
|
<p>{{ t.hosting.banner_text }}</p>
|
||||||
|
|
||||||
|
<div class="hosting-features">
|
||||||
|
{% for feature in t.hosting.features %}
|
||||||
|
<div class="hosting-feature">
|
||||||
|
<span>✓</span> {{ feature }}
|
||||||
|
</div>
|
||||||
|
{% endfor %}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="services-offerings">
|
||||||
|
<h3>{{ t.hosting.offerings_title }}</h3>
|
||||||
|
|
||||||
|
<div class="offer-cards">
|
||||||
|
{% for card in t.hosting.offer_cards %}
|
||||||
|
<div class="offer-card{% if card.modifier %} offer-card--{{ card.modifier }}{% endif %}">
|
||||||
|
<h4>{{ card.title }}</h4>
|
||||||
|
{% if card.intro %}
|
||||||
|
<p class="offer-intro">{{ card.intro }}</p>
|
||||||
|
{% endif %}
|
||||||
|
<ul class="offer-list">
|
||||||
|
{% for item in card.items %}
|
||||||
|
<li>{{ item }}</li>
|
||||||
|
{% endfor %}
|
||||||
|
</ul>
|
||||||
|
<p class="offer-tagline">{{ card.tagline }}</p>
|
||||||
|
</div>
|
||||||
|
{% endfor %}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="hosting-note">
|
||||||
|
<h4>{{ t.hosting.note_title }}</h4>
|
||||||
|
<p>{{ t.hosting.note_intro }}</p>
|
||||||
|
<ul>
|
||||||
|
{% for item in t.hosting.note_items %}
|
||||||
|
<li>{{ item }}</li>
|
||||||
|
{% endfor %}
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="hosting-why">
|
||||||
|
<h4>{{ t.hosting.why_title }}</h4>
|
||||||
|
<p>
|
||||||
|
{{ t.hosting.why_text }}
|
||||||
|
</p>
|
||||||
|
<a href="#contact" class="btn btn-primary">
|
||||||
|
{{ t.hosting.why_cta }} →
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
@@ -0,0 +1,21 @@
|
|||||||
|
<section id="mission" class="mission">
|
||||||
|
<div class="section-container">
|
||||||
|
<h2>{{ t.mission.section_title }} <span class="accent-text">{{ t.mission.section_title_accent }}</span></h2>
|
||||||
|
<p class="mission-text">
|
||||||
|
{{ t.mission.paragraph_main }}
|
||||||
|
</p>
|
||||||
|
<p class="mission-text mission-text--secondary">
|
||||||
|
{{ t.mission.paragraph_secondary }}
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<div class="values-grid">
|
||||||
|
{% for value in t.values %}
|
||||||
|
<div class="value-card">
|
||||||
|
<div class="value-icon">{{ value.icon }}</div>
|
||||||
|
<h3>{{ value.title }}</h3>
|
||||||
|
<p>{{ value.description }}</p>
|
||||||
|
</div>
|
||||||
|
{% endfor %}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
@@ -0,0 +1,49 @@
|
|||||||
|
<nav>
|
||||||
|
<div class="nav-container">
|
||||||
|
<a href="/" class="logo">
|
||||||
|
<img src="/assets/images/logo-512x512.png" alt="{{ t.site.shortName }} Logo" class="logo-image">
|
||||||
|
<span>{{ t.site.shortName }}</span>
|
||||||
|
</a>
|
||||||
|
<ul class="nav-links">
|
||||||
|
{% for item in t.navigation %}
|
||||||
|
{% if item.children %}
|
||||||
|
<li class="has-dropdown">
|
||||||
|
<button type="button" class="nav-dropdown-trigger" aria-haspopup="true" aria-expanded="false">
|
||||||
|
{{ item.text }} <span class="dropdown-caret">▾</span>
|
||||||
|
</button>
|
||||||
|
<ul class="nav-dropdown">
|
||||||
|
{% for child in item.children %}
|
||||||
|
<li>
|
||||||
|
<a href="{{ child.url }}"{% if child.external %} target="_blank"{% endif %}>
|
||||||
|
{{ child.text }}
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
{% endfor %}
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
{% else %}
|
||||||
|
<li>
|
||||||
|
<a href="{{ item.url }}"{% if item.external %} target="_blank"{% endif %}>
|
||||||
|
{{ item.text }}
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
{% endif %}
|
||||||
|
{% endfor %}
|
||||||
|
</ul>
|
||||||
|
{% if locale == 'en' %}
|
||||||
|
<a href="#" class="lang-switch" data-lang="fr">{{ t.ui.lang_switch_label }}</a>
|
||||||
|
{% else %}
|
||||||
|
<a href="#" class="lang-switch" data-lang="en">{{ t.ui.lang_switch_label }}</a>
|
||||||
|
{% endif %}
|
||||||
|
<button id="theme-toggle" class="theme-toggle" aria-label="{{ t.ui.theme_toggle }}" title="{{ t.ui.theme_toggle }}">
|
||||||
|
<span class="theme-icon theme-icon-dark">🌙</span>
|
||||||
|
<span class="theme-icon theme-icon-light">☀️</span>
|
||||||
|
</button>
|
||||||
|
<div class="menu-toggle">
|
||||||
|
<span></span>
|
||||||
|
<span></span>
|
||||||
|
<span></span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="flag-bar"></div>
|
||||||
|
</nav>
|
||||||
@@ -0,0 +1,27 @@
|
|||||||
|
<section id="partenaires" class="partners">
|
||||||
|
<div class="section-container">
|
||||||
|
<h2>{{ t.partners.section_title }} <span class="accent-text">{{ t.partners.section_title_accent }}</span></h2>
|
||||||
|
<p class="section-subtitle">
|
||||||
|
{{ t.partners.section_subtitle }}
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<div class="partners-grid">
|
||||||
|
{% for partner in t.partners.items %}
|
||||||
|
<div class="partner-card">
|
||||||
|
<div class="partner-logo-container">
|
||||||
|
<img src="{{ partner.logo }}" alt="Logo {{ partner.name }}" class="partner-logo">
|
||||||
|
</div>
|
||||||
|
<h3>{{ partner.name }}</h3>
|
||||||
|
<p class="partner-description">{{ partner.description }}</p>
|
||||||
|
<div class="partner-links">
|
||||||
|
{% for link in partner.links %}
|
||||||
|
<a href="{{ link.url }}" target="_blank" rel="noopener noreferrer" class="partner-link">
|
||||||
|
{{ link.text }} →
|
||||||
|
</a>
|
||||||
|
{% endfor %}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{% endfor %}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
@@ -0,0 +1,19 @@
|
|||||||
|
<section id="projets" class="projects">
|
||||||
|
<div class="section-container">
|
||||||
|
<h2>{{ t.projects.section_title }} <span class="accent-text">{{ t.projects.section_title_accent }}</span></h2>
|
||||||
|
|
||||||
|
<div class="project-cards">
|
||||||
|
{% for project in t.projects.items %}
|
||||||
|
<a href="{{ project.url }}" target="_blank" rel="noopener noreferrer" class="project-card">
|
||||||
|
<div class="project-icon">{{ project.icon }}</div>
|
||||||
|
<h3>{{ project.name }}</h3>
|
||||||
|
<p class="project-domain">{{ project.domain }}</p>
|
||||||
|
<p>{{ project.description }}</p>
|
||||||
|
<span class="service-link project-card-link">
|
||||||
|
{{ t.projects.link_text }} →
|
||||||
|
</span>
|
||||||
|
</a>
|
||||||
|
{% endfor %}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
@@ -0,0 +1,40 @@
|
|||||||
|
<section id="solutions" class="publics">
|
||||||
|
<div class="section-container">
|
||||||
|
<h2>{{ t.publics.section_title }} <span class="accent-text">{{ t.publics.section_title_accent }}</span></h2>
|
||||||
|
<p class="section-subtitle">
|
||||||
|
{{ t.publics.section_subtitle }}
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<div class="publics-grid">
|
||||||
|
{% for public in t.publics.items %}
|
||||||
|
<div class="public-card">
|
||||||
|
<div class="public-icon">{{ public.icon }}</div>
|
||||||
|
<h3>{{ public.title }}</h3>
|
||||||
|
<p class="public-description">{{ public.description }}</p>
|
||||||
|
|
||||||
|
<div class="public-benefits">
|
||||||
|
<h4>{{ t.publics.benefits_label }}</h4>
|
||||||
|
<ul>
|
||||||
|
{% for benefit in public.benefits %}
|
||||||
|
<li>✓ {{ benefit }}</li>
|
||||||
|
{% endfor %}
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<a href="#contact" class="btn btn-primary public-cta">
|
||||||
|
{{ public.cta }} →
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
{% endfor %}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="publics-footer">
|
||||||
|
<p>
|
||||||
|
{{ t.publics.footer_line1 }}
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
{{ t.publics.footer_line2 }}
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
@@ -0,0 +1,94 @@
|
|||||||
|
<section id="dons" class="support">
|
||||||
|
<div class="section-container">
|
||||||
|
<h2>{{ t.support.section_title }} <span class="accent-text">{{ t.support.section_title_accent }}</span></h2>
|
||||||
|
<p class="support-lede">
|
||||||
|
{{ t.support.lede }}
|
||||||
|
</p>
|
||||||
|
<p class="support-lede-secondary">
|
||||||
|
{{ t.support.lede_secondary }}
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<div class="donation-panels">
|
||||||
|
|
||||||
|
<div class="support-panel support-panel--primary">
|
||||||
|
<h3>{{ t.support.one_time_title }}</h3>
|
||||||
|
|
||||||
|
<div class="donation-grid">
|
||||||
|
{% for d in donations.oneTime %}
|
||||||
|
<a href="{{ d.url }}" class="donation-amount" target="_blank" rel="noopener noreferrer">
|
||||||
|
{{ d.amount }}{{ t.support.one_time_suffix }}
|
||||||
|
</a>
|
||||||
|
{% endfor %}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div style="text-align: center;">
|
||||||
|
<label class="donation-form-label">{{ t.support.custom_amount_label }}</label>
|
||||||
|
<div class="custom-donation-form">
|
||||||
|
<input type="number" id="customAmountOneTime" placeholder="{{ t.support.custom_amount_placeholder }}" min="1" class="custom-amount-input">
|
||||||
|
<span class="currency-symbol">{{ t.support.one_time_suffix }}</span>
|
||||||
|
<button data-donation-type="oneTime" class="custom-donation-btn custom-donation-btn-primary">
|
||||||
|
{{ t.support.custom_amount_btn }}
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="support-panel support-panel--secondary">
|
||||||
|
<h3>{{ t.support.monthly_title }}</h3>
|
||||||
|
|
||||||
|
<div class="donation-grid">
|
||||||
|
{% for d in donations.monthly %}
|
||||||
|
<a href="{{ d.url }}" class="donation-amount monthly" target="_blank" rel="noopener noreferrer">
|
||||||
|
{{ d.amount }}{{ t.support.monthly_suffix }}
|
||||||
|
</a>
|
||||||
|
{% endfor %}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div style="text-align: center;">
|
||||||
|
<label class="donation-form-label">{{ t.support.custom_monthly_label }}</label>
|
||||||
|
<div class="custom-donation-form">
|
||||||
|
<input type="number" id="customAmountMonthly" placeholder="{{ t.support.custom_amount_placeholder }}" min="1" class="custom-amount-input custom-amount-input-monthly">
|
||||||
|
<span class="currency-symbol">{{ t.support.monthly_suffix }}</span>
|
||||||
|
<button data-donation-type="monthly" class="custom-donation-btn custom-donation-btn-secondary">
|
||||||
|
{{ t.support.custom_monthly_btn }}
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="alt-donation-section">
|
||||||
|
<h3 class="alt-donation-title">
|
||||||
|
{{ t.support.alt_title }}
|
||||||
|
</h3>
|
||||||
|
|
||||||
|
<div class="alt-donation-grid">
|
||||||
|
<a href="{{ donations.liberapay }}" target="_blank" rel="noopener noreferrer" class="alt-donation-card alt-donation-card--liberapay">
|
||||||
|
<div class="alt-donation-icon">💛</div>
|
||||||
|
<h4>{{ t.support.liberapay_title }}</h4>
|
||||||
|
<p>
|
||||||
|
{{ t.support.liberapay_text }}
|
||||||
|
</p>
|
||||||
|
</a>
|
||||||
|
|
||||||
|
<a href="{{ donations.kofi }}" target="_blank" rel="noopener noreferrer" class="alt-donation-card alt-donation-card--kofi">
|
||||||
|
<div class="alt-donation-icon">☕</div>
|
||||||
|
<h4>{{ t.support.kofi_title }}</h4>
|
||||||
|
<p>
|
||||||
|
{{ t.support.kofi_text }}
|
||||||
|
</p>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="security-note">
|
||||||
|
<p>
|
||||||
|
{{ t.support.security_stripe | safe }}
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
{{ t.support.security_alt }}
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
// See https://svelte.dev/docs/kit/types#app.d.ts
|
|
||||||
declare global {
|
|
||||||
namespace App {
|
|
||||||
// interface Error {}
|
|
||||||
// interface Locals {}
|
|
||||||
// interface PageData {}
|
|
||||||
// interface PageState {}
|
|
||||||
// interface Platform {}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
export {};
|
|
||||||
@@ -1,20 +0,0 @@
|
|||||||
<!doctype html>
|
|
||||||
<html lang="%lang%" data-locale="%lang%">
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8" />
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
||||||
<script src="/theme.js"></script>
|
|
||||||
<script src="/lang-redirect.js" defer></script>
|
|
||||||
<script src="/registerSW.js" defer></script>
|
|
||||||
<link rel="preload" href="/fonts/archivo-latin-700-normal.woff2" as="font" type="font/woff2" crossorigin />
|
|
||||||
<link rel="stylesheet" href="/fonts/fonts.css" />
|
|
||||||
<link rel="icon" href="/favicon.ico" sizes="48x48" />
|
|
||||||
<link rel="icon" href="/images/logo-512x512.png" type="image/png" />
|
|
||||||
<link rel="apple-touch-icon" href="/images/logo-512x512.png" />
|
|
||||||
<link rel="manifest" href="/manifest.webmanifest" />
|
|
||||||
%sveltekit.head%
|
|
||||||
</head>
|
|
||||||
<body data-sveltekit-preload-data="hover">
|
|
||||||
<div style="display: contents">%sveltekit.body%</div>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
|
Before Width: | Height: | Size: 341 KiB After Width: | Height: | Size: 341 KiB |
|
Before Width: | Height: | Size: 64 KiB After Width: | Height: | Size: 64 KiB |
|
Before Width: | Height: | Size: 45 KiB After Width: | Height: | Size: 45 KiB |
|
Before Width: | Height: | Size: 105 KiB After Width: | Height: | Size: 105 KiB |
|
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3.7 KiB |
|
Before Width: | Height: | Size: 108 KiB After Width: | Height: | Size: 108 KiB |
|
Before Width: | Height: | Size: 154 KiB After Width: | Height: | Size: 154 KiB |
|
Before Width: | Height: | Size: 121 KiB After Width: | Height: | Size: 121 KiB |
|
Before Width: | Height: | Size: 125 KiB After Width: | Height: | Size: 125 KiB |
|
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 4.2 KiB |
|
Before Width: | Height: | Size: 152 KiB After Width: | Height: | Size: 152 KiB |
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
@@ -0,0 +1,363 @@
|
|||||||
|
// Theme Management
|
||||||
|
(function() {
|
||||||
|
const themeToggle = document.getElementById('theme-toggle');
|
||||||
|
|
||||||
|
// Fonction pour obtenir le thème actuel
|
||||||
|
function getCurrentTheme() {
|
||||||
|
return document.documentElement.classList.contains('light-theme') ? 'light' : 'dark';
|
||||||
|
}
|
||||||
|
|
||||||
|
// Fonction pour changer de thème
|
||||||
|
function toggleTheme() {
|
||||||
|
const currentTheme = getCurrentTheme();
|
||||||
|
const newTheme = currentTheme === 'dark' ? 'light' : 'dark';
|
||||||
|
|
||||||
|
if (newTheme === 'light') {
|
||||||
|
document.documentElement.classList.add('light-theme');
|
||||||
|
} else {
|
||||||
|
document.documentElement.classList.remove('light-theme');
|
||||||
|
}
|
||||||
|
|
||||||
|
// Sauvegarder la préférence
|
||||||
|
localStorage.setItem('oki-theme', newTheme);
|
||||||
|
|
||||||
|
// Mettre à jour les styles de la nav en fonction du scroll actuel
|
||||||
|
const nav = document.querySelector('nav');
|
||||||
|
const currentScroll = window.pageYOffset;
|
||||||
|
const isLightTheme = newTheme === 'light';
|
||||||
|
|
||||||
|
if (currentScroll > 100) {
|
||||||
|
if (isLightTheme) {
|
||||||
|
nav.style.background = 'rgba(255, 248, 231, 0.98)';
|
||||||
|
nav.style.boxShadow = '0 2px 20px rgba(184, 122, 0, 0.3)';
|
||||||
|
} else {
|
||||||
|
nav.style.background = 'rgba(0, 0, 0, 0.98)';
|
||||||
|
nav.style.boxShadow = '0 2px 20px rgba(232, 166, 37, 0.3)';
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
if (isLightTheme) {
|
||||||
|
nav.style.background = 'rgba(255, 248, 231, 0.95)';
|
||||||
|
nav.style.boxShadow = '';
|
||||||
|
} else {
|
||||||
|
nav.style.background = 'rgba(0, 0, 0, 0.95)';
|
||||||
|
nav.style.boxShadow = '';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Écouter le changement de thème système
|
||||||
|
const darkModeMediaQuery = window.matchMedia('(prefers-color-scheme: dark)');
|
||||||
|
darkModeMediaQuery.addEventListener('change', (e) => {
|
||||||
|
// Ne changer automatiquement que si l'utilisateur n'a pas de préférence stockée
|
||||||
|
if (!localStorage.getItem('oki-theme')) {
|
||||||
|
if (e.matches) {
|
||||||
|
document.documentElement.classList.remove('light-theme');
|
||||||
|
} else {
|
||||||
|
document.documentElement.classList.add('light-theme');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
// Ajouter l'événement au bouton
|
||||||
|
themeToggle?.addEventListener('click', toggleTheme);
|
||||||
|
|
||||||
|
// Language switcher links
|
||||||
|
document.querySelectorAll('.lang-switch').forEach(function(link) {
|
||||||
|
link.addEventListener('click', function(e) {
|
||||||
|
e.preventDefault();
|
||||||
|
var lang = this.dataset.lang;
|
||||||
|
if (lang) {
|
||||||
|
localStorage.setItem('oki-lang-pref', lang);
|
||||||
|
switchLanguage(lang);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
});
|
||||||
|
})();
|
||||||
|
|
||||||
|
// Language switch with page mapping
|
||||||
|
function switchLanguage(lang) {
|
||||||
|
const currentPath = window.location.pathname;
|
||||||
|
let newPath;
|
||||||
|
|
||||||
|
if (lang === 'fr') {
|
||||||
|
// Switch to French
|
||||||
|
if (currentPath.startsWith('/en/')) {
|
||||||
|
newPath = currentPath.substring(3); // Remove '/en'
|
||||||
|
} else {
|
||||||
|
newPath = currentPath;
|
||||||
|
}
|
||||||
|
newPath = newPath.replace('/press/', '/presse/');
|
||||||
|
newPath = newPath.replace('/legal-notice/', '/mentions-legales/');
|
||||||
|
newPath = newPath.replace('/donate/', '/dons/');
|
||||||
|
} else {
|
||||||
|
// Switch to English
|
||||||
|
if (!currentPath.startsWith('/en/')) {
|
||||||
|
newPath = '/en' + currentPath;
|
||||||
|
} else {
|
||||||
|
newPath = currentPath;
|
||||||
|
}
|
||||||
|
newPath = newPath.replace('/presse/', '/press/');
|
||||||
|
newPath = newPath.replace('/mentions-legales/', '/legal-notice/');
|
||||||
|
newPath = newPath.replace('/dons/', '/donate/');
|
||||||
|
}
|
||||||
|
|
||||||
|
window.location.href = newPath;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Smooth scrolling (uniquement pour les ancres de la page courante)
|
||||||
|
document.querySelectorAll('a[href*="#"]').forEach(anchor => {
|
||||||
|
anchor.addEventListener('click', function (e) {
|
||||||
|
const url = new URL(this.href, window.location.href);
|
||||||
|
if (url.pathname !== window.location.pathname || !url.hash) return;
|
||||||
|
const target = document.querySelector(url.hash);
|
||||||
|
if (target) {
|
||||||
|
e.preventDefault();
|
||||||
|
target.scrollIntoView({
|
||||||
|
behavior: 'smooth',
|
||||||
|
block: 'start'
|
||||||
|
});
|
||||||
|
}
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
// Mobile menu toggle
|
||||||
|
const menuToggle = document.querySelector('.menu-toggle');
|
||||||
|
const navLinks = document.querySelector('.nav-links');
|
||||||
|
let menuOpen = false;
|
||||||
|
|
||||||
|
menuToggle?.addEventListener('click', () => {
|
||||||
|
menuOpen = !menuOpen;
|
||||||
|
navLinks.classList.toggle('mobile-open', menuOpen);
|
||||||
|
menuToggle.classList.toggle('open', menuOpen);
|
||||||
|
});
|
||||||
|
|
||||||
|
// Si la fenêtre est agrandie au-delà du breakpoint mobile pendant que le
|
||||||
|
// menu est ouvert, on réinitialise son état pour éviter qu'il reste caché
|
||||||
|
// ou en position absolue quand la nav desktop redevient visible.
|
||||||
|
window.addEventListener('resize', () => {
|
||||||
|
if (menuOpen && window.innerWidth > 1100) {
|
||||||
|
menuOpen = false;
|
||||||
|
navLinks.classList.remove('mobile-open');
|
||||||
|
menuToggle.classList.remove('open');
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
// Close mobile menu when clicking outside
|
||||||
|
document.addEventListener('click', (e) => {
|
||||||
|
if (menuOpen && !menuToggle.contains(e.target) && !navLinks.contains(e.target)) {
|
||||||
|
menuOpen = false;
|
||||||
|
navLinks.classList.remove('mobile-open');
|
||||||
|
menuToggle.classList.remove('open');
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
// Close mobile menu after clicking a nav link
|
||||||
|
navLinks?.querySelectorAll('a').forEach(link => {
|
||||||
|
link.addEventListener('click', () => {
|
||||||
|
if (menuOpen) {
|
||||||
|
menuOpen = false;
|
||||||
|
navLinks.classList.remove('mobile-open');
|
||||||
|
menuToggle.classList.remove('open');
|
||||||
|
}
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
// Nav dropdown ("Ressources") toggle for touch/keyboard
|
||||||
|
document.querySelectorAll('.nav-dropdown-trigger').forEach(trigger => {
|
||||||
|
trigger.addEventListener('click', () => {
|
||||||
|
const item = trigger.closest('.has-dropdown');
|
||||||
|
const isOpen = item.classList.toggle('open');
|
||||||
|
trigger.setAttribute('aria-expanded', isOpen);
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
document.addEventListener('click', (e) => {
|
||||||
|
document.querySelectorAll('.has-dropdown.open').forEach(item => {
|
||||||
|
if (!item.contains(e.target)) {
|
||||||
|
item.classList.remove('open');
|
||||||
|
item.querySelector('.nav-dropdown-trigger')?.setAttribute('aria-expanded', 'false');
|
||||||
|
}
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
// Scroll animations
|
||||||
|
const observerOptions = {
|
||||||
|
threshold: 0.15,
|
||||||
|
rootMargin: '0px 0px -50px 0px'
|
||||||
|
};
|
||||||
|
|
||||||
|
const observer = new IntersectionObserver((entries) => {
|
||||||
|
entries.forEach(entry => {
|
||||||
|
if (entry.isIntersecting) {
|
||||||
|
entry.target.classList.add('animate-in');
|
||||||
|
observer.unobserve(entry.target);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}, observerOptions);
|
||||||
|
|
||||||
|
// Observe all cards
|
||||||
|
document.querySelectorAll('.service-card, .project-card, .value-card, .partner-card, .public-card, .engagement-card').forEach(el => {
|
||||||
|
el.classList.add('fade-in-element');
|
||||||
|
observer.observe(el);
|
||||||
|
});
|
||||||
|
|
||||||
|
// Navbar scroll effect
|
||||||
|
let lastScroll = 0;
|
||||||
|
const nav = document.querySelector('nav');
|
||||||
|
|
||||||
|
window.addEventListener('scroll', () => {
|
||||||
|
const currentScroll = window.pageYOffset;
|
||||||
|
const isLightTheme = document.documentElement.classList.contains('light-theme');
|
||||||
|
|
||||||
|
if (currentScroll > 100) {
|
||||||
|
if (isLightTheme) {
|
||||||
|
nav.style.background = 'rgba(255, 248, 231, 0.98)';
|
||||||
|
nav.style.boxShadow = '0 2px 20px rgba(184, 122, 0, 0.3)';
|
||||||
|
} else {
|
||||||
|
nav.style.background = 'rgba(0, 0, 0, 0.98)';
|
||||||
|
nav.style.boxShadow = '0 2px 20px rgba(232, 166, 37, 0.3)';
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
if (isLightTheme) {
|
||||||
|
nav.style.background = 'rgba(255, 248, 231, 0.95)';
|
||||||
|
nav.style.boxShadow = '';
|
||||||
|
} else {
|
||||||
|
nav.style.background = 'rgba(0, 0, 0, 0.95)';
|
||||||
|
nav.style.boxShadow = '';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Hide/show navbar on scroll
|
||||||
|
if (currentScroll > lastScroll && currentScroll > 500) {
|
||||||
|
nav.style.transform = 'translateY(-100%)';
|
||||||
|
} else {
|
||||||
|
nav.style.transform = 'translateY(0)';
|
||||||
|
}
|
||||||
|
|
||||||
|
lastScroll = currentScroll;
|
||||||
|
});
|
||||||
|
|
||||||
|
// Network animation enhancement
|
||||||
|
function createNetworkLine() {
|
||||||
|
const nodes = document.querySelectorAll('.node');
|
||||||
|
const networkBg = document.querySelector('.network-bg');
|
||||||
|
|
||||||
|
if (nodes.length > 1 && networkBg) {
|
||||||
|
for (let i = 0; i < nodes.length - 1; i++) {
|
||||||
|
const line = document.createElement('div');
|
||||||
|
line.style.position = 'absolute';
|
||||||
|
line.style.height = '1px';
|
||||||
|
line.style.background = 'linear-gradient(90deg, transparent, #E8A625, transparent)';
|
||||||
|
line.style.opacity = '0.2';
|
||||||
|
line.style.animation = `pulse 4s infinite ${i * 0.5}s`;
|
||||||
|
|
||||||
|
const node1 = nodes[i];
|
||||||
|
const node2 = nodes[i + 1];
|
||||||
|
|
||||||
|
// Calculate line position and angle
|
||||||
|
const x1 = parseFloat(node1.style.left);
|
||||||
|
const y1 = parseFloat(node1.style.top);
|
||||||
|
const x2 = parseFloat(node2.style.left);
|
||||||
|
const y2 = parseFloat(node2.style.top);
|
||||||
|
|
||||||
|
const distance = Math.sqrt(Math.pow(x2 - x1, 2) + Math.pow(y2 - y1, 2));
|
||||||
|
const angle = Math.atan2(y2 - y1, x2 - x1) * 180 / Math.PI;
|
||||||
|
|
||||||
|
line.style.width = distance + '%';
|
||||||
|
line.style.left = x1 + '%';
|
||||||
|
line.style.top = y1 + '%';
|
||||||
|
line.style.transform = `rotate(${angle}deg)`;
|
||||||
|
line.style.transformOrigin = '0 0';
|
||||||
|
|
||||||
|
networkBg.appendChild(line);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Initialize network lines
|
||||||
|
createNetworkLine();
|
||||||
|
|
||||||
|
// Add hover effect to project cards with tilt
|
||||||
|
document.querySelectorAll('.project-card, .service-card').forEach(card => {
|
||||||
|
card.addEventListener('mousemove', (e) => {
|
||||||
|
const rect = card.getBoundingClientRect();
|
||||||
|
const x = e.clientX - rect.left;
|
||||||
|
const y = e.clientY - rect.top;
|
||||||
|
|
||||||
|
const centerX = rect.width / 2;
|
||||||
|
const centerY = rect.height / 2;
|
||||||
|
|
||||||
|
const rotateX = (y - centerY) / 20;
|
||||||
|
const rotateY = (centerX - x) / 20;
|
||||||
|
|
||||||
|
card.style.transform = `perspective(1000px) rotateX(${rotateX}deg) rotateY(${rotateY}deg) translateY(-5px)`;
|
||||||
|
});
|
||||||
|
|
||||||
|
card.addEventListener('mouseleave', () => {
|
||||||
|
card.style.transform = '';
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
// Easter egg: Konami code
|
||||||
|
const konamiCode = ['ArrowUp', 'ArrowUp', 'ArrowDown', 'ArrowDown', 'ArrowLeft', 'ArrowRight', 'ArrowLeft', 'ArrowRight', 'b', 'a'];
|
||||||
|
let konamiIndex = 0;
|
||||||
|
|
||||||
|
document.addEventListener('keydown', (e) => {
|
||||||
|
if (e.key === konamiCode[konamiIndex]) {
|
||||||
|
konamiIndex++;
|
||||||
|
if (konamiIndex === konamiCode.length) {
|
||||||
|
document.body.style.animation = 'pulse 1s';
|
||||||
|
setTimeout(() => {
|
||||||
|
alert('🎮 Félicitations! Vous avez trouvé le code secret! Bienvenue dans la résistance numérique!');
|
||||||
|
document.body.style.animation = '';
|
||||||
|
}, 1000);
|
||||||
|
konamiIndex = 0;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
konamiIndex = 0;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
// Progressive enhancement: Add loading states
|
||||||
|
// Disabled - not needed for external links
|
||||||
|
// document.querySelectorAll('.service-link, .project-card').forEach(link => {
|
||||||
|
// link.addEventListener('click', function(e) {
|
||||||
|
// if (this.href && this.href !== '#') {
|
||||||
|
// this.style.opacity = '0.6';
|
||||||
|
// this.innerHTML += ' ⌛';
|
||||||
|
// }
|
||||||
|
// });
|
||||||
|
// });
|
||||||
|
|
||||||
|
// Custom donation handler
|
||||||
|
function handleCustomDonation(type) {
|
||||||
|
const input = document.getElementById(type === 'oneTime' ? 'customAmountOneTime' : 'customAmountMonthly');
|
||||||
|
const amount = input.value;
|
||||||
|
|
||||||
|
if (!amount || amount < 1) {
|
||||||
|
alert('Veuillez entrer un montant valide');
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Redirect to custom amount Stripe URL
|
||||||
|
const stripeUrl = type === 'oneTime'
|
||||||
|
? 'https://don.o-k-i.net/b/6oE2aO94P88X9u8eV4' // Custom one-time donation
|
||||||
|
: 'https://don.o-k-i.net/b/6oE2aO94P88X9u8eV4'; // Uses same link for custom amounts
|
||||||
|
|
||||||
|
window.location.href = stripeUrl;
|
||||||
|
}
|
||||||
|
|
||||||
|
// FAQ accordion toggle
|
||||||
|
document.querySelectorAll('.faq-question').forEach(button => {
|
||||||
|
button.addEventListener('click', () => {
|
||||||
|
button.parentElement.classList.toggle('active');
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
// Custom donation buttons
|
||||||
|
document.querySelectorAll('.custom-donation-btn').forEach(button => {
|
||||||
|
button.addEventListener('click', () => {
|
||||||
|
const type = button.dataset.donationType;
|
||||||
|
if (type) handleCustomDonation(type);
|
||||||
|
});
|
||||||
|
});
|
||||||
@@ -1,14 +1,4 @@
|
|||||||
(function() {
|
(function() {
|
||||||
// Marqueur JS actif : les états initiaux cachés des animations
|
|
||||||
// (reveal, loader) ne s'appliquent que si JavaScript tourne.
|
|
||||||
document.documentElement.classList.add('js');
|
|
||||||
|
|
||||||
// Cérémonie d'entrée : première visite de la session seulement,
|
|
||||||
// jamais si l'utilisateur préfère réduire les animations.
|
|
||||||
if (!sessionStorage.getItem('oki-intro') && !window.matchMedia('(prefers-reduced-motion: reduce)').matches) {
|
|
||||||
document.documentElement.classList.add('intro-pending');
|
|
||||||
}
|
|
||||||
|
|
||||||
// Récupérer le thème stocké ou détecter le thème système
|
// Récupérer le thème stocké ou détecter le thème système
|
||||||
const storedTheme = localStorage.getItem('oki-theme');
|
const storedTheme = localStorage.getItem('oki-theme');
|
||||||
const systemPrefersDark = window.matchMedia('(prefers-color-scheme: dark)').matches;
|
const systemPrefersDark = window.matchMedia('(prefers-color-scheme: dark)').matches;
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
---
|
||||||
|
layout: layouts/base.njk
|
||||||
|
title: Dons
|
||||||
|
description: Soutenez ORGANISATION KA INTERNATIONALE par un don ponctuel ou mensuel via Stripe, Liberapay ou Ko-fi.
|
||||||
|
---
|
||||||
|
|
||||||
|
<section class="press-hero">
|
||||||
|
<h1>{{ t.support.section_title }} <span class="accent-text">{{ t.support.section_title_accent }}</span></h1>
|
||||||
|
<p class="press-lede">{{ t.support.lede }}</p>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
{% include "partials/support.njk" %}
|
||||||