Pass de modernisation visuelle : remplacement de TOUS les emojis Unicode dans les templates marketing/legal/billing/auth par des SVG inline (style heroicons) ou par du texte propre, pour un look SaaS pro à la Linear/Vercel/Stripe. Mapping principal : - ✓ / ✗ / ⚠ → SVG check / x / triangle (text-brand-b3 / red / amber) - → / ← / ↗ → SVG arrow-right / arrow-left / arrow-up-right - 🍁 / 🏛️ / ⚖️ / 🔓 → SVG map-pin / building / scale / code-brackets - 🎙️ / 👥 / 📝 / 💬 / 📄 / 🔌 → 6 SVG bento icons (microphone, users, doc, chat, export, plug) - ✉️ / ☎️ / 📬 → SVG envelope / phone / map-pin - ↺ → SVG refresh-counter-clockwise - ★ → SVG star (RECOMMANDÉ badge) - 🎯/🏢/📺/🤝/📰 → SVG target / office / play / handshake / news (raccourcis contact) - ⚖️/📊/🏛️ (testimonials) → SVG scale / bar-chart / building - ✦ (default bento icon) → SVG sparkle inline Tous les SVG utilisent stroke="currentColor" pour héritage Tailwind text-*. Les SVG informationnels du tableau comparatif portent un aria-label sémantique (Conforme/Non conforme/Partiel) ; les SVG décoratifs portent aria-hidden. Tests : - 18/18 legal pages passent (test_legal_pages.py) - test_comparatif_check_marks_consistently_mean_good ajusté pour asserter sur les aria-label SVG plutôt que les caractères ✓/✗ - 4 échecs pré-existants non liés (manque /blog dans nav, SOC 2 hedge dans conformite.html, gitea.innova-ai.ca url) — confirmés présents avant ce commit Fichiers modifiés (14) : - templates/macros/{bento,pricing_card}.html (sources de vérité) - templates/marketing/{base,_footer,landing,fonctionnalites,tarifs,conformite,contact}.html - templates/legal/{_layout,index}.html - templates/billing/{cancel,success}.html - tests/test_marketing_landing_template.py (assert sur aria-label) Audit final : 0 emoji restant dans les fichiers in-scope ; 0 emoji dans le HTML rendu de toutes les pages marketing/legal vérifiées. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
90 lines
4.6 KiB
HTML
90 lines
4.6 KiB
HTML
{% extends 'marketing/base.html' %}
|
|
|
|
{% block title %}{{ title or 'Paiement confirmé — DictIA' }}{% endblock %}
|
|
{% block description %}Paiement confirmé. Votre abonnement DictIA sera activé sous quelques minutes. Vous recevrez un courriel de confirmation.{% endblock %}
|
|
|
|
{% block content %}
|
|
|
|
{# ===== HERO ===== #}
|
|
<section class="bg-brand-navy text-white py-20" aria-labelledby="page-title">
|
|
<div class="max-w-[820px] mx-auto px-6 text-center">
|
|
<div class="w-20 h-20 grad-bg rounded-full mx-auto mb-6 flex items-center justify-center text-white shadow-cta" aria-hidden="true">
|
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" class="w-10 h-10"><path d="M5 13l4 4L19 7"/></svg>
|
|
</div>
|
|
<p class="eyebrow grad-text mb-4">PAIEMENT CONFIRMÉ</p>
|
|
<h1 id="page-title" class="text-[clamp(2.25rem,4vw,3.5rem)] font-black mb-4">
|
|
Merci ! Votre <span class="grad-text">paiement est confirmé</span>.
|
|
</h1>
|
|
<p class="text-lg text-white/80">
|
|
Votre abonnement sera activé sous quelques minutes. Vous recevrez un courriel de confirmation à l'adresse associée à votre compte.
|
|
</p>
|
|
</div>
|
|
</section>
|
|
|
|
{# ===== NEXT STEPS ===== #}
|
|
<section class="bg-brand-bg py-20" aria-labelledby="next-steps-title">
|
|
<div class="max-w-[820px] mx-auto px-6">
|
|
<h2 id="next-steps-title" class="text-[clamp(1.75rem,2.5vw,2.25rem)] font-black mb-8 text-brand-navy text-center">
|
|
Prochaines étapes.
|
|
</h2>
|
|
|
|
<ol class="space-y-6">
|
|
<li class="bg-white p-6 rounded border border-brand-border flex gap-4">
|
|
<span class="grad-bg text-white font-black w-10 h-10 rounded-full flex items-center justify-center flex-shrink-0 shadow-cta" aria-hidden="true">1</span>
|
|
<div>
|
|
<h3 class="font-bold text-brand-navy mb-1">Confirmation par courriel</h3>
|
|
<p class="text-sm text-brand-navy/80 leading-relaxed">
|
|
Vous recevrez un reçu détaillé (avec TPS et TVQ ventilées) dans les prochaines minutes. Vérifiez vos pourriels si rien n'arrive après 10 minutes.
|
|
</p>
|
|
</div>
|
|
</li>
|
|
|
|
<li class="bg-white p-6 rounded border border-brand-border flex gap-4">
|
|
<span class="grad-bg text-white font-black w-10 h-10 rounded-full flex items-center justify-center flex-shrink-0 shadow-cta" aria-hidden="true">2</span>
|
|
<div>
|
|
<h3 class="font-bold text-brand-navy mb-1">Activation de votre abonnement</h3>
|
|
<p class="text-sm text-brand-navy/80 leading-relaxed">
|
|
Votre statut d'abonnement sera mis à jour automatiquement dès que Stripe confirme la transaction (généralement sous 2 minutes). Aucune action requise de votre part.
|
|
</p>
|
|
</div>
|
|
</li>
|
|
|
|
<li class="bg-white p-6 rounded border border-brand-border flex gap-4">
|
|
<span class="grad-bg text-white font-black w-10 h-10 rounded-full flex items-center justify-center flex-shrink-0 shadow-cta" aria-hidden="true">3</span>
|
|
<div>
|
|
<h3 class="font-bold text-brand-navy mb-1">Mise en service</h3>
|
|
<p class="text-sm text-brand-navy/80 leading-relaxed">
|
|
Pour les forfaits <strong>DictIA Cloud</strong> : accès immédiat depuis votre tableau de bord.<br>
|
|
Pour les forfaits <strong>DictIA 8</strong> et <strong>DictIA 16</strong> (on-premise) : notre équipe vous contactera sous 1 jour ouvrable pour planifier l'installation (~2 semaines).
|
|
</p>
|
|
</div>
|
|
</li>
|
|
</ol>
|
|
|
|
{% if session_id %}
|
|
<p class="text-xs text-brand-navy/60 mt-8 text-center font-mono break-all">
|
|
Référence : {{ session_id }}
|
|
</p>
|
|
{% endif %}
|
|
</div>
|
|
</section>
|
|
|
|
{# ===== CTA ===== #}
|
|
<section class="bg-white py-16" aria-labelledby="cta-title">
|
|
<div class="max-w-[820px] mx-auto px-6 text-center">
|
|
<h2 id="cta-title" class="text-[clamp(1.5rem,2vw,2rem)] font-black mb-4 text-brand-navy">
|
|
Une question ?
|
|
</h2>
|
|
<p class="text-base text-brand-navy/80 mb-6">
|
|
Notre équipe est joignable à <a href="mailto:info@dictia.ca" class="grad-text font-semibold hover:underline">info@dictia.ca</a> ou au <a href="tel:+15819968471" class="grad-text font-semibold hover:underline">(581) 996-8471</a>.
|
|
</p>
|
|
<div class="flex flex-col sm:flex-row gap-4 justify-center">
|
|
{% from 'macros/button.html' import button %}
|
|
{{ button('Retour à l\'accueil', href='/', variant='ghost', size='lg') }}
|
|
{{ button('Voir les tarifs', href='/tarifs', variant='secondary', size='lg') }}
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
{% endblock %}
|