BaobabVote
Browse filesCahier des Charges
Table of Contents
Cahier des Charges – BaobabVote (Version consolidée)
Version 1.1 – 2025-10-04
0. Résumé exécutif
• [But] Système sécurisé et multi-plateforme pour collecter, valider et consolider des résultats électoraux dans des zones à connectivité limitée.
• [Périmètre] App Flutter (Android/iOS/Web/Desktop), backend FastAPI/NestJS + PostgreSQL, synchronisation bidirectionnelle hors-ligne avec règle du plus récent (LWW) protégée par états, tableaux de bord par rôle.
• [Décisions clés] HLC (Hybrid Logical Clock) pour l’ordre des événements; TLS 1.3 + pinning; distribution MDM/Business Manager; stockage médias S3/MinIO; idempotence et tombstones; observabilité complète; SLO de synchro stricts.
________________________________________
1. Introduction
1.1 Contexte
• [Objectif] Collecte et consolidation des résultats pour présidentiel, sénatorial, législatif, municipal.
• [Contraintes] Connectivité limitée; hiérarchie zones: arrondissement → département → région → national.
1.2 Portée
• [Mobile] Flutter Android/iOS pour collecteurs et superviseurs.
• [Web/Desktop] Flutter pour superviseurs/administrateurs.
• [Backend] FastAPI (Python) ou NestJS (Node.js) + PostgreSQL.
• [Mode hors-ligne] SQLite + synchronisation bidirectionnelle.
________________________________________
2. Objectifs fonctionnels détaillés
2.1 Utilisateurs et rôles
• [Collecteur (CB)] Saisie des votes, édition jusqu’à validation; visualisations locales (histogrammes/camemberts).
• [Superviseur] Valide/signalement; suivi des arrondissements; dashboards.
• [Administrateur] Paramètre scrutins et utilisateurs; suivi national; rapports.
• [Restrictions] Pas de modification des votes d’autrui par CB; superviseur ne modifie pas le contenu, admin ne modifie pas le rôle des collecteurs hors zones attribuées.
2.2 Gestion des scrutins
• [Paramétrage] Type, date, nombre de sièges; champs optionnels (votes nuls, abstention, inscrits).
• [Flexibilité] Support présidentiel, sénatorial, législatif, municipal.
• [Mise en évidence] Gagnant par zone.
2.3 Collecte et saisie des résultats
• [Visualisations] Histogrammes proportionnels aux exprimés; camemberts pour répartition des sièges.
• [Edition] Par collecteur tant que non validé; synchronisation auto dès réseau.
________________________________________
3. Architecture technique
3.1 Backend
• [Stack] FastAPI/NestJS; PostgreSQL; API REST HTTPS.
• [Modules] Utilisateurs/rôles; scrutins/sièges; collecte/validation; reporting/stats; synchronisation.
• [Sécurité] TLS 1.3, HSTS, certificate pinning SPKI; OIDC+PKCE; rate limiting; WAF (nginx/Traefik).
• [Observabilité] Prometheus/Grafana, Loki/ELK, OpenTelemetry, Sentry.
• [Endpoints de synchro]
o GET /sync/pull?since={cursor}&limit={N}: delta CDC ordonné, paginé.
o POST /sync/push: batch mutations {entity,id,hlc,updated_at,client_tx_id,payload|tombstone}.
o POST /sync/ack: ACK du next_cursor.
o Entêtes: X-Client-Id, X-App-Version, X-Sync-Session-Id.
3.2 Frontend (Flutter)
• [Cibles] Android, iOS, Web, Desktop.
• [UI par rôle] Collecteur, Superviseur, Administrateur.
• [Widgets] Histogrammes, camemberts, dashboards; responsive fluide.
3.3 Mode hors-ligne et synchronisation (Bidirectionnelle LWW)
• [Principe] LWW au niveau enregistrement, ordonné par HLC; exceptions d’état: Locked > Validated > Submitted > Draft (non écrasables par des états inférieurs).
• [Tie-breakers] 1) Priorité d’état, 2) hlc, 3) server_received_at, 4) origin_role (superviseur > collecteur), 5) device_id.
• [Idempotence] client_tx_id unique (UUID v4); tombstones (deleted_at) pour effacements.
• [Granularité] LWW pour Tally/Votes et SeatAllocation; union contrôlée pour médias/notes.
• [Skew d’horloge] Alerte > 5 min; rejet souple > 10 min avec message correctif.
• [Batching] 200 items ou 2 MB par lot (le plus restrictif gagne), 2 flux parallèles, backoff exponentiel + jitter, compression gzip/br.
sequenceDiagram
participant App
participant API
App->>API: GET /sync/pull?since=CURSOR&limit=N
API-->>App: {changes[], next_cursor}
App->>API: POST /sync/push [{entity,id,hlc,payload,client_tx_id}]
API-->>App: {results:[{id, status: upsert|reject|conflict}]}
App->>API: POST /sync/ack {cursor: next_cursor}
API-->>App: 200 OK
3.4 Accès distant sécurisé
• [Réseau] VPN (OpenVPN/WireGuard) ou tunnel chiffré; TLS obligatoire; firewall IP en complément, pas en substitution de l’auth.
• [Intégrité] NTP/chrony; détection dérives; journaux d’audit chaînés (hash-chaining).
________________________________________
4. Base de données
4.1 Tables principales
• [Utilisateurs] grade, nom, prénom(s), unité (info), rôles, device binding.
• [Scrutins] type, date, nombre de sièges, options activées.
• [Votes/Tally] candidat/parti, exprimés, zone/station, statut validation, snapshot de config (version).
• [Sièges] répartition par zone/parti, méthode d’allocation (versionnée).
• [Candidats/Partis] logo, sigle, photo, affichage.
• [Historique actions] horodatage, utilisateur, modification, hash chaîné.
4.2 Relations et zones
• [Affectations] Collecteur ↔ arrondissement; Superviseur ↔ département/région; Admin ↔ national.
• [Hiérarchie zones] Zone(id, parent_id, type, code_officiel, name) + table de fermeture (closure table) pour agrégations.
4.3 Métadonnées de synchronisation
• [Colonnes standard] id, hlc, updated_at (UTC), server_received_at, client_id, client_tx_id UNIQUE, deleted_at, status.
• [Contrainte Tally] UNIQUE(zone_id, station_id, contest_id).
• [ChangeLog] ChangeLog(id, entity, entity_id, op, hlc, updated_at, payload_hash, actor_user_id, server_received_at) partitionné mensuellement; BRIN index temps.
• [Cursors] SyncCursor(client_id, last_cursor, updated_at).
4.4 Médias
• [Stockage] MinIO/S3 privé, chiffré au repos; liens présignés courts.
• [Schéma] Media(id, sha256, size, content_type, storage_url, created_at) + EntityMedia(entity, entity_id, media_id, kind, created_at).
________________________________________
5. UI/UX et ergonomie
• [Dashboards par rôle] métriques, cartes, états par zone.
• [Visualisations] histogrammes (exprimés), camemberts (sièges).
• [Sync visible] état: “À envoyer / En cours / Envoyé / Conflit / Rejeté”; écran de résolution de conflits (comparaison versions + justification).
• [Accessibilité terrain] gros boutons, contraste, mode sombre, langues locales, offline-first clair.
________________________________________
6. Déploiement
6.1 Serveur VM
• [Specs] Ubuntu/Windows Server; 4 vCPU, 16 Go RAM, SSD 250 Go (pilote). Conteneurs Docker, reverse proxy, autoscaling selon besoin.
• [Base] PostgreSQL; réplication/HA (Patroni/pgpool) à terme; NTP/chrony.
6.2 Distribution mobile
• [Android] Managed Google Play/MDM (Intune/WS1/Scalefusion).
• [iOS] Apple Business Manager/TestFlight supervisé.
• [Interdit] diffusion par messagerie (WhatsApp).
6.3 Sauvegarde et sécurité
• [Backups] dumps PostgreSQL + snapshots; tests de restauration réguliers (DRP).
• [Journaux] audit complet, immutabilité logique (hash-chain).
6.4 SLO/Observabilité
• [SLO synchro] p95: pull < 300 ms, push < 500 ms; p99: < 1 s.
• [Taux de succès] synchro > 99.5%, médias > 99%.
• [Conflits] < 2% scénario nominal.
________________________________________
7. Tests et validation
• [Unitaires] back/front, moteurs d’allocation de sièges (références).
• [Intégration] API ↔ mobile, auth, synchro, médias.
• [Charge] 360 collecteurs simultanés; rafales d’uploads (1 000 photos/10 min) avec reprise.
• [Hors-ligne] longues périodes en avion; conflits délibérés; dérives ±5/10 min vérifiées.
• [Sécurité] pinning TLS; détection root/jailbreak; rejets drifts extrêmes.
________________________________________
8. Plan de développement
• [P0]
o HLC + LWW avec exceptions d’état et tie-breakers.
o /sync/pull, /sync/push, /sync/ack; idempotence et tombstones.
o UI états de sync + résolution de conflits.
o TLS 1.3 + pinning; SQLCipher SQLite; OIDC+PKCE.
• [P1]
o Upload médias tus.io ou multipart S3/MinIO avec reprise et hash.
o Observabilité (metrics/traces) et dashboard ops.
o Allocation de sièges paramétrable et versionnée + tests de référence.
• [P2]
o Signatures numériques des envois; OCR PV; analytics avancés.
________________________________________
9. Évolutivité et modularité
• [Paramétrage] multi-scrutins simultanés; ajout de rôles/zones; i18n.
• [Extensibilité] moteurs d’allocation plug-in; export légal; intégration analytics.
________________________________________
- baobabvote.html +275 -0
- index.html +4 -4
|
@@ -0,0 +1,275 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="fr">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>BaobabVote - Système de Gestion Électorale</title>
|
| 7 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
+
<script src="https://unpkg.com/feather-icons"></script>
|
| 9 |
+
<script>
|
| 10 |
+
tailwind.config = {
|
| 11 |
+
theme: {
|
| 12 |
+
extend: {
|
| 13 |
+
colors: {
|
| 14 |
+
primary: '#1e40af',
|
| 15 |
+
secondary: '#059669',
|
| 16 |
+
accent: '#dc2626',
|
| 17 |
+
dark: '#1f2937'
|
| 18 |
+
},
|
| 19 |
+
fontFamily: {
|
| 20 |
+
sans: ['Inter var', 'system-ui', 'sans-serif'],
|
| 21 |
+
}
|
| 22 |
+
}
|
| 23 |
+
}
|
| 24 |
+
}
|
| 25 |
+
</script>
|
| 26 |
+
<style>
|
| 27 |
+
@keyframes fadeInUp {
|
| 28 |
+
from {
|
| 29 |
+
opacity: 0;
|
| 30 |
+
transform: translateY(30px);
|
| 31 |
+
}
|
| 32 |
+
to {
|
| 33 |
+
opacity: 1;
|
| 34 |
+
transform: translateY(0);
|
| 35 |
+
}
|
| 36 |
+
}
|
| 37 |
+
.fade-in-up {
|
| 38 |
+
animation: fadeInUp 0.6s ease-out;
|
| 39 |
+
}
|
| 40 |
+
.gradient-bg {
|
| 41 |
+
background: linear-gradient(135deg, #1e40af 0%, #059669 50%, #dc2626 100%);
|
| 42 |
+
}
|
| 43 |
+
.feature-card:hover {
|
| 44 |
+
transform: translateY(-5px);
|
| 45 |
+
box-shadow: 0 20px 40px rgba(0,0,0,0.1);
|
| 46 |
+
}
|
| 47 |
+
</style>
|
| 48 |
+
</head>
|
| 49 |
+
<body class="bg-gray-50 font-sans">
|
| 50 |
+
<!-- Navigation -->
|
| 51 |
+
<nav class="bg-white shadow-lg sticky top-0 z-50">
|
| 52 |
+
<div class="container mx-auto px-6 py-4">
|
| 53 |
+
<div class="flex items-center justify-between">
|
| 54 |
+
<a href="index.html" class="flex items-center space-x-3">
|
| 55 |
+
<i data-feather="home" class="text-primary w-6 h-6"></i>
|
| 56 |
+
<span class="text-xl font-bold text-gray-800">CodeCanvas</span>
|
| 57 |
+
</a>
|
| 58 |
+
<div class="flex items-center space-x-6">
|
| 59 |
+
<a href="index.html" class="text-gray-600 hover:text-primary transition-colors">Accueil</a>
|
| 60 |
+
<a href="generate.html" class="text-gray-600 hover:text-primary transition-colors">Générer</a>
|
| 61 |
+
<a href="baobabvote.html" class="text-primary font-medium border-b-2 border-primary">BaobabVote</a>
|
| 62 |
+
</div>
|
| 63 |
+
</div>
|
| 64 |
+
</div>
|
| 65 |
+
</nav>
|
| 66 |
+
|
| 67 |
+
<!-- Hero Section -->
|
| 68 |
+
<section class="gradient-bg text-white py-20">
|
| 69 |
+
<div class="container mx-auto px-6 text-center">
|
| 70 |
+
<div class="max-w-4xl mx-auto fade-in-up">
|
| 71 |
+
<h1 class="text-4xl md:text-6xl font-bold mb-6">BaobabVote</h1>
|
| 72 |
+
<p class="text-xl md:text-2xl mb-8 opacity-90">
|
| 73 |
+
Système sécurisé et multi-plateforme pour la collecte et consolidation des résultats électoraux
|
| 74 |
+
</p>
|
| 75 |
+
<div class="flex flex-col sm:flex-row gap-4 justify-center">
|
| 76 |
+
<button class="bg-white text-primary px-8 py-3 rounded-lg font-semibold hover:bg-gray-100 transition-colors">
|
| 77 |
+
Démo Interactive
|
| 78 |
+
</button>
|
| 79 |
+
<button class="border-2 border-white text-white px-8 py-3 rounded-lg font-semibold hover:bg-white hover:text-primary transition-colors">
|
| 80 |
+
Documentation
|
| 81 |
+
</button>
|
| 82 |
+
</div>
|
| 83 |
+
</div>
|
| 84 |
+
</div>
|
| 85 |
+
</section>
|
| 86 |
+
|
| 87 |
+
<!-- Features Overview -->
|
| 88 |
+
<section class="py-16 bg-white">
|
| 89 |
+
<div class="container mx-auto px-6">
|
| 90 |
+
<div class="text-center mb-12">
|
| 91 |
+
<h2 class="text-3xl md:text-4xl font-bold text-gray-900 mb-4">Fonctionnalités Principales</h2>
|
| 92 |
+
<p class="text-lg text-gray-600 max-w-2xl mx-auto">
|
| 93 |
+
Une solution complète adaptée aux zones à connectivité limitée
|
| 94 |
+
</p>
|
| 95 |
+
</div>
|
| 96 |
+
|
| 97 |
+
<div class="grid md:grid-cols-3 gap-8">
|
| 98 |
+
<!-- Feature 1 -->
|
| 99 |
+
<div class="feature-card bg-gray-50 p-6 rounded-xl transition-all duration-300">
|
| 100 |
+
<div class="w-12 h-12 bg-primary rounded-lg flex items-center justify-center mb-4">
|
| 101 |
+
<i data-feather="smartphone" class="text-white w-6 h-6"></i>
|
| 102 |
+
</div>
|
| 103 |
+
<h3 class="text-xl font-semibold mb-3">Multi-Plateforme</h3>
|
| 104 |
+
<p class="text-gray-600">Flutter Android/iOS/Web/Desktop avec synchronisation hors-ligne bidirectionnelle</p>
|
| 105 |
+
</div>
|
| 106 |
+
|
| 107 |
+
<!-- Feature 2 -->
|
| 108 |
+
<div class="feature-card bg-gray-50 p-6 rounded-xl transition-all duration-300">
|
| 109 |
+
<div class="w-12 h-12 bg-secondary rounded-lg flex items-center justify-center mb-4">
|
| 110 |
+
<i data-feather="shield" class="text-white w-6 h-6"></i>
|
| 111 |
+
</div>
|
| 112 |
+
<h3 class="text-xl font-semibold mb-3">Sécurité Renforcée</h3>
|
| 113 |
+
<p class="text-gray-600">TLS 1.3, certificate pinning, OIDC+PKCE et synchronisation LWW avec HLC</p>
|
| 114 |
+
</div>
|
| 115 |
+
|
| 116 |
+
<!-- Feature 3 -->
|
| 117 |
+
<div class="feature-card bg-gray-50 p-6 rounded-xl transition-all duration-300">
|
| 118 |
+
<div class="w-12 h-12 bg-accent rounded-lg flex items-center justify-center mb-4">
|
| 119 |
+
<i data-feather="bar-chart-2" class="text-white w-6 h-6"></i>
|
| 120 |
+
</div>
|
| 121 |
+
<h3 class="text-xl font-semibold mb-3">Tableaux de Bord</h3>
|
| 122 |
+
<p class="text-gray-600">Visualisations temps réel par rôle avec histogrammes et camemberts interactifs</p>
|
| 123 |
+
</div>
|
| 124 |
+
</div>
|
| 125 |
+
</div>
|
| 126 |
+
</section>
|
| 127 |
+
|
| 128 |
+
<!-- Architecture Section -->
|
| 129 |
+
<section class="py-16 bg-gray-100">
|
| 130 |
+
<div class="container mx-auto px-6">
|
| 131 |
+
<div class="grid lg:grid-cols-2 gap-12 items-center">
|
| 132 |
+
<div>
|
| 133 |
+
<h2 class="text-3xl md:text-4xl font-bold text-gray-900 mb-6">Architecture Technique</h2>
|
| 134 |
+
<div class="space-y-4">
|
| 135 |
+
<div class="flex items-start space-x-3">
|
| 136 |
+
<i data-feather="check-circle" class="text-primary w-5 h-5 mt-1 flex-shrink-0"></i>
|
| 137 |
+
<div>
|
| 138 |
+
<h4 class="font-semibold">Backend FastAPI/NestJS</h4>
|
| 139 |
+
<p class="text-gray-600 text-sm">PostgreSQL avec synchronisation CDC et observabilité complète</p>
|
| 140 |
+
</div>
|
| 141 |
+
</div>
|
| 142 |
+
<div class="flex items-start space-x-3">
|
| 143 |
+
<i data-feather="check-circle" class="text-primary w-5 h-5 mt-1 flex-shrink-0"></i>
|
| 144 |
+
<div>
|
| 145 |
+
<h4 class="font-semibold">Synchronisation Intelligente</h4>
|
| 146 |
+
<p class="text-gray-600 text-sm">LWW avec priorités d'état et résolution de conflits automatique</p>
|
| 147 |
+
</div>
|
| 148 |
+
</div>
|
| 149 |
+
<div class="flex items-start space-x-3">
|
| 150 |
+
<i data-feather="check-circle" class="text-primary w-5 h-5 mt-1 flex-shrink-0"></i>
|
| 151 |
+
<div>
|
| 152 |
+
<h4 class="font-semibold">Hiérarchie des Zones</h4>
|
| 153 |
+
<p class="text-gray-600 text-sm">Arrondissement → Département → Région → National avec agrégation automatique</p>
|
| 154 |
+
</div>
|
| 155 |
+
</div>
|
| 156 |
+
</div>
|
| 157 |
+
</div>
|
| 158 |
+
<div class="bg-white p-6 rounded-xl shadow-lg">
|
| 159 |
+
<img src="http://static.photos/technology/640x360/1" alt="Architecture BaobabVote" class="rounded-lg w-full">
|
| 160 |
+
</div>
|
| 161 |
+
</div>
|
| 162 |
+
</div>
|
| 163 |
+
</section>
|
| 164 |
+
|
| 165 |
+
<!-- Roles Section -->
|
| 166 |
+
<section class="py-16 bg-white">
|
| 167 |
+
<div class="container mx-auto px-6">
|
| 168 |
+
<div class="text-center mb-12">
|
| 169 |
+
<h2 class="text-3xl md:text-4xl font-bold text-gray-900 mb-4">Gestion des Rôles</h2>
|
| 170 |
+
<p class="text-lg text-gray-600">Séparation stricte des permissions selon la hiérarchie électorale</p>
|
| 171 |
+
</div>
|
| 172 |
+
|
| 173 |
+
<div class="grid md:grid-cols-3 gap-8">
|
| 174 |
+
<div class="text-center p-6 bg-blue-50 rounded-xl">
|
| 175 |
+
<div class="w-16 h-16 bg-blue-500 rounded-full flex items-center justify-center mx-auto mb-4">
|
| 176 |
+
<i data-feather="user" class="text-white w-8 h-8"></i>
|
| 177 |
+
</div>
|
| 178 |
+
<h3 class="text-xl font-semibold mb-3">Collecteur</h3>
|
| 179 |
+
<p class="text-gray-600">Saisie des votes, édition jusqu'à validation, visualisations locales</p>
|
| 180 |
+
</div>
|
| 181 |
+
|
| 182 |
+
<div class="text-center p-6 bg-green-50 rounded-xl">
|
| 183 |
+
<div class="w-16 h-16 bg-green-500 rounded-full flex items-center justify-center mx-auto mb-4">
|
| 184 |
+
<i data-feather="eye" class="text-white w-8 h-8"></i>
|
| 185 |
+
</div>
|
| 186 |
+
<h3 class="text-xl font-semibold mb-3">Superviseur</h3>
|
| 187 |
+
<p class="text-gray-600">Validation/signalement, suivi des arrondissements, dashboards départementaux</p>
|
| 188 |
+
</div>
|
| 189 |
+
|
| 190 |
+
<div class="text-center p-6 bg-red-50 rounded-xl">
|
| 191 |
+
<div class="w-16 h-16 bg-red-500 rounded-full flex items-center justify-center mx-auto mb-4">
|
| 192 |
+
<i data-feather="settings" class="text-white w-8 h-8"></i>
|
| 193 |
+
</div>
|
| 194 |
+
<h3 class="text-xl font-semibold mb-3">Administrateur</h3>
|
| 195 |
+
<p class="text-gray-600">Paramétrage scrutins, gestion utilisateurs, suivi national, rapports</p>
|
| 196 |
+
</div>
|
| 197 |
+
</div>
|
| 198 |
+
</div>
|
| 199 |
+
</section>
|
| 200 |
+
|
| 201 |
+
<!-- CTA Section -->
|
| 202 |
+
<section class="py-16 gradient-bg text-white">
|
| 203 |
+
<div class="container mx-auto px-6 text-center">
|
| 204 |
+
<h2 class="text-3xl md:text-4xl font-bold mb-6">Prêt à Démarrer ?</h2>
|
| 205 |
+
<p class="text-xl mb-8 opacity-90 max-w-2xl mx-auto">
|
| 206 |
+
Implémentez BaobabVote pour vos prochaines élections avec une solution éprouvée et sécurisée
|
| 207 |
+
</p>
|
| 208 |
+
<div class="flex flex-col sm:flex-row gap-4 justify-center">
|
| 209 |
+
<button class="bg-white text-primary px-8 py-3 rounded-lg font-semibold hover:bg-gray-100 transition-colors">
|
| 210 |
+
Contactez-nous
|
| 211 |
+
</button>
|
| 212 |
+
<button class="border-2 border-white text-white px-8 py-3 rounded-lg font-semibold hover:bg-white hover:text-primary transition-colors">
|
| 213 |
+
Voir la Démo
|
| 214 |
+
</button>
|
| 215 |
+
</div>
|
| 216 |
+
</div>
|
| 217 |
+
</section>
|
| 218 |
+
|
| 219 |
+
<!-- Footer -->
|
| 220 |
+
<footer class="bg-dark text-white py-12">
|
| 221 |
+
<div class="container mx-auto px-6">
|
| 222 |
+
<div class="grid md:grid-cols-4 gap-8">
|
| 223 |
+
<div>
|
| 224 |
+
<h4 class="text-lg font-semibold mb-4">BaobabVote</h4>
|
| 225 |
+
<p class="text-gray-400">Système de gestion électorale sécurisé pour zones à connectivité limitée</p>
|
| 226 |
+
</div>
|
| 227 |
+
<div>
|
| 228 |
+
<h4 class="text-lg font-semibold mb-4">Liens Rapides</h4>
|
| 229 |
+
<ul class="space-y-2 text-gray-400">
|
| 230 |
+
<li><a href="index.html" class="hover:text-white transition-colors">Accueil</a></li>
|
| 231 |
+
<li><a href="generate.html" class="hover:text-white transition-colors">Générateur</a></li>
|
| 232 |
+
<li><a href="baobabvote.html" class="hover:text-white transition-colors">BaobabVote</a></li>
|
| 233 |
+
</ul>
|
| 234 |
+
</div>
|
| 235 |
+
<div>
|
| 236 |
+
<h4 class="text-lg font-semibold mb-4">Technologies</h4>
|
| 237 |
+
<ul class="space-y-2 text-gray-400">
|
| 238 |
+
<li>Flutter Multi-Platform</li>
|
| 239 |
+
<li>FastAPI/NestJS</li>
|
| 240 |
+
<li>PostgreSQL</li>
|
| 241 |
+
<li>HLC Synchronization</li>
|
| 242 |
+
</ul>
|
| 243 |
+
</div>
|
| 244 |
+
<div>
|
| 245 |
+
<h4 class="text-lg font-semibold mb-4">Contact</h4>
|
| 246 |
+
<p class="text-gray-400">support@baobabvote.org</p>
|
| 247 |
+
<p class="text-gray-400">+33 1 23 45 67 89</p>
|
| 248 |
+
</div>
|
| 249 |
+
</div>
|
| 250 |
+
<div class="border-t border-gray-700 mt-8 pt-8 text-center text-gray-400">
|
| 251 |
+
<p>© 2024 BaobabVote. Tous droits réservés.</p>
|
| 252 |
+
</div>
|
| 253 |
+
</div>
|
| 254 |
+
</footer>
|
| 255 |
+
|
| 256 |
+
<script>
|
| 257 |
+
feather.replace();
|
| 258 |
+
|
| 259 |
+
// Animation on scroll
|
| 260 |
+
document.addEventListener('DOMContentLoaded', function() {
|
| 261 |
+
const observer = new IntersectionObserver((entries) => {
|
| 262 |
+
entries.forEach(entry => {
|
| 263 |
+
if (entry.isIntersecting) {
|
| 264 |
+
entry.target.classList.add('fade-in-up');
|
| 265 |
+
}
|
| 266 |
+
});
|
| 267 |
+
}, { threshold: 0.1 });
|
| 268 |
+
|
| 269 |
+
document.querySelectorAll('section').forEach(section => {
|
| 270 |
+
observer.observe(section);
|
| 271 |
+
});
|
| 272 |
+
});
|
| 273 |
+
</script>
|
| 274 |
+
</body>
|
| 275 |
+
</html>
|
|
@@ -69,10 +69,10 @@
|
|
| 69 |
<i data-feather="play" class="w-4 h-4 mr-2"></i>
|
| 70 |
Start Creating
|
| 71 |
</a>
|
| 72 |
-
<
|
| 73 |
-
<i data-feather="
|
| 74 |
-
|
| 75 |
-
</
|
| 76 |
</div>
|
| 77 |
<!-- Floating illustration -->
|
| 78 |
<div class="mt-16 relative">
|
|
|
|
| 69 |
<i data-feather="play" class="w-4 h-4 mr-2"></i>
|
| 70 |
Start Creating
|
| 71 |
</a>
|
| 72 |
+
<a href="baobabvote.html" class="px-6 py-3 bg-secondary hover:bg-secondary/90 text-white font-medium rounded-lg shadow-md hover:shadow-lg transition-all duration-300 flex items-center justify-center">
|
| 73 |
+
<i data-feather="shield" class="w-4 h-4 mr-2"></i>
|
| 74 |
+
BaobabVote
|
| 75 |
+
</a>
|
| 76 |
</div>
|
| 77 |
<!-- Floating illustration -->
|
| 78 |
<div class="mt-16 relative">
|