MVA Global Fret static HTML site (mirror of GitHub MVA-Global-Fret/site-mva-global-fret) � deployed to VPS Falkenstein for mva-globalfret.com
Replaces EmailJS-based welcome-back (disabled in PR #6 because the EmailJS account is Melissa-only with obsolete '(c) 2025' footer) with a Worker action that delegates to Resend, ensuring same '\xc2\xa9 2026' footer as all other transactional emails. Worker side: - New action 'sendWelcomeBack' validates Turnstile + searches HubSpot contact by email (404 if not found, prevents spam to non-existing). - New function sendWelcomeBackViaResend: same navy/gold visual identity as other Resend emails. Subject includes existing ref (= 'Vous \xc3\xaates d\xc3\xa9j\xc3\xa0 inscrit chez MVA Global Fret \xe2\x80\x94 R\xc3\xa9f\xc3\xa9rence MVA-XXX'). Idempotent: zero HubSpot writes. Frontend (form-handler.js): - sendWelcomeBackEmail rewritten to POST Worker action sendWelcomeBack instead of emailjs.send. Reuses window.turnstileToken. - Re-enabled call inside showAlreadyRegistered. Smoke tests: - 400 'email requis' without email - 403 'Turnstile validation failed' without valid token - Full flow testable via browser only (= real Turnstile challenge). Refs: post-cutover polish, fixes Issue 1 footer 2025 from E2E retest. |
||
|---|---|---|
| .claude | ||
| .github/workflows | ||
| assets | ||
| cloudflare-worker | ||
| css | ||
| images | ||
| js | ||
| .gitignore | ||
| about.html | ||
| accueil.html | ||
| application.html | ||
| cgv.html | ||
| confirmation.html | ||
| contact.html | ||
| guide-envoi.html | ||
| index.html | ||
| mentions-legales.html | ||
| PNG MVA GLOBAL FRET.png | ||
| politique-confidentialite.html | ||
| reset-password.html | ||
| robots.txt | ||
| service-commande.html | ||
| sitemap.xml | ||
| tarifs.html | ||