MVA Global Fret static HTML site (mirror of GitHub MVA-Global-Fret/site-mva-global-fret) � deployed to VPS Falkenstein for mva-globalfret.com
Go to file
MVA Global Fret eb5c4f1cee Email verification flow via Resend (Turnstile + click-to-confirm)
Architecture finale :

1. User remplit formulaire + passe Turnstile CAPTCHA → form-handler.js
2. form-handler.js POST au Worker avec action 'requestVerification'
3. Worker valide Turnstile, génère un token UUID, le stocke en KV (TTL 24h)
   avec firstname/email/reference_client, puis envoie un email via Resend
   avec un lien : confirmation.html?token=XXX
4. User reçoit email, clique 'Confirmer mon email'
5. confirmation.html lit le token de l'URL, POST au Worker avec action
   'verifyToken'
6. Worker valide le token, envoie le welcome email via Resend (avec ref +
   adresse Paris depuis env var), marque le token comme utilisé
7. confirmation.html affiche 'Inscription confirmée !'

Ainsi : ref + adresse Paris ne sortent JAMAIS avant validation email,
et les bots sont bloqués à l'étape 1 par Turnstile.

Setup Cloudflare requis (côté user) :
- RESEND_API_KEY  : clé API Resend (re_...)
- RESEND_FROM     : adresse expéditrice ('onboarding@resend.dev' pour test,
                    ou domain vérifié pour prod)
- SITE_URL        : optionnel, défaut https://mva-global-fret.github.io/site-mva-global-fret

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-06 10:59:26 +02:00
.claude Swap colorkey'd cloud for Microsoft Fluent 3D cloud emoji 2026-05-05 01:50:44 +02:00
.github/workflows Add Actions-based Pages deploy workflow 2026-05-05 17:05:13 +02:00
assets Switch parcel sprites to a real 3D parachute GLB with bound cargo 2026-05-05 13:32:48 +02:00
cloudflare-worker Email verification flow via Resend (Turnstile + click-to-confirm) 2026-05-06 10:59:26 +02:00
css Service Commande: redesign 'Et le transport ?' card 2026-05-06 08:40:14 +02:00
images/payment-logos Replace generic icons with real payment brand logos 2026-05-04 22:05:09 +02:00
js Email verification flow via Resend (Turnstile + click-to-confirm) 2026-05-06 10:59:26 +02:00
.gitignore Initial commit — Site MVA Global Fret 2026-05-02 22:23:48 +02:00
about.html Add cinematic parallax intro page as new landing 2026-05-04 22:18:02 +02:00
accueil.html Add cinematic parallax intro page as new landing 2026-05-04 22:18:02 +02:00
application.html Add cinematic parallax intro page as new landing 2026-05-04 22:18:02 +02:00
cgv.html Add cinematic parallax intro page as new landing 2026-05-04 22:18:02 +02:00
confirmation.html Add post-confirmation page that triggers welcome email after double opt-in 2026-05-05 23:03:19 +02:00
contact.html Email verification flow via Resend (Turnstile + click-to-confirm) 2026-05-06 10:59:26 +02:00
guide-envoi.html Add cinematic parallax intro page as new landing 2026-05-04 22:18:02 +02:00
index.html Switch parcel sprites to a real 3D parachute GLB with bound cargo 2026-05-05 13:32:48 +02:00
PNG MVA GLOBAL FRET.png Initial commit — Site MVA Global Fret 2026-05-02 22:23:48 +02:00
service-commande.html Service Commande: redesign 'Et le transport ?' card 2026-05-06 08:40:14 +02:00
tarifs.html Tarifs: 'Livraison en Province' = à partir de 6 000 Ar (FR/EN/MG) 2026-05-05 22:23:54 +02:00