V2 sharper radii system aligned with Stripe Dashboard / Linear / Vercel
aesthetic — the v1 rounded-lg (8px) on buttons still felt too soft.
New scale:
- Buttons (CTA, submit, ghost, secondary): rounded-lg → rounded (4px)
- Form inputs (text/email/password/select/textarea): rounded-md → rounded (4px)
- Checkboxes: rounded-sm (2px) added explicitly to consent + remember-me
- Cards (pricing, bento, content panels): rounded-xl → rounded-lg (8px)
- Small icon tiles (w-10 h-10 / w-12 h-12 grad-bg squares): rounded-md → rounded
- Pills, badges, avatars, status orbs: rounded-full (KEPT)
- Inline code in legal CSS: rounded (4px) (KEPT)
- Legal blockquote/pre/draft-callout border-radius: 8px → 4px
Files modified (24):
- templates/macros/{button,bento,pricing_card}.html
- templates/marketing/{landing,tarifs,fonctionnalites,conformite,contact}.html
- templates/auth/{check_email,forgot_password,magic_link_request,
oauth_finish_signup,passkey_setup,reset_password,totp_setup,totp_verify,
verify_success}.html
- templates/billing/{success,cancel}.html
- templates/legal/{_layout,index}.html
- templates/{register,login}.html
- tests/test_marketing_landing_template.py (assertions updated to match v2)
Verification:
- 18/18 legal page tests pass (tests/_run_legal_pages_windows.py)
- 58/58 marketing landing tests pass
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
48 lines
2.4 KiB
HTML
48 lines
2.4 KiB
HTML
{% extends 'marketing/base.html' %}
|
|
|
|
{% block title %}{{ title or 'Paiement annulé — DictIA' }}{% endblock %}
|
|
{% block description %}Paiement annulé. Aucun montant n'a été prélevé. Vous pouvez reprendre votre inscription à tout moment.{% 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 bg-white/[0.06] border border-white/[0.12] rounded-full mx-auto mb-6 flex items-center justify-center text-3xl" aria-hidden="true">↺</div>
|
|
<p class="eyebrow grad-text mb-4">PAIEMENT ANNULÉ</p>
|
|
<h1 id="page-title" class="text-[clamp(2.25rem,4vw,3.5rem)] font-black mb-4">
|
|
Aucun problème — <span class="grad-text">aucun montant prélevé</span>.
|
|
</h1>
|
|
<p class="text-lg text-white/80">
|
|
Vous avez fermé la page de paiement avant de finaliser. Aucune carte n'a été débitée. Vous pouvez reprendre votre inscription à tout moment.
|
|
</p>
|
|
</div>
|
|
</section>
|
|
|
|
{# ===== INFO + NEXT STEPS ===== #}
|
|
<section class="bg-brand-bg py-20" aria-labelledby="info-title">
|
|
<div class="max-w-[820px] mx-auto px-6">
|
|
<h2 id="info-title" class="sr-only">Que faire ensuite</h2>
|
|
|
|
<div class="bg-white p-8 rounded-lg border border-brand-border mb-8">
|
|
<h3 class="text-lg font-bold mb-3 text-brand-navy">Pourquoi avoir hésité ?</h3>
|
|
<p class="text-sm text-brand-navy/80 leading-relaxed mb-4">
|
|
Si vous avez une question sur les forfaits, la conformité Loi 25 ou la mise en service, notre équipe peut vous accompagner sans pression commerciale.
|
|
</p>
|
|
<p class="text-sm text-brand-navy/80 leading-relaxed">
|
|
Écrivez-nous à <a href="mailto:info@dictia.ca" class="grad-text font-semibold hover:underline">info@dictia.ca</a> ou appelez le <a href="tel:+15819968471" class="grad-text font-semibold hover:underline">(581) 996-8471</a>. Réponse sous 2 jours ouvrables.
|
|
</p>
|
|
</div>
|
|
|
|
<div class="text-center">
|
|
<div class="flex flex-col sm:flex-row gap-4 justify-center">
|
|
{% from 'macros/button.html' import button %}
|
|
{{ button('Revoir les tarifs', href='/tarifs', variant='primary', size='lg') }}
|
|
{{ button('Retour à l\'accueil', href='/', variant='ghost', size='lg') }}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
{% endblock %}
|