refactor(pricing): 3 Cloud en rangée + DictIA LOCAL bloc dédié 'Vous en êtes propriétaire'
Restructure _pricing_tiers.html : les 3 forfaits Cloud (Basic 189$/Essentiel 349$/Pro 549$ recommandé) sont maintenant en grid responsive 1/2/3 cols, et DictIA LOCAL est sorti de la grille principale pour devenir un bloc large dédié 'propriété' avec : - badge 'Au Québec · par InnovA AI' (SVG map-pin, sans emoji 🇨🇦) - H3 'Vous en êtes propriétaire.' avec grad-text - 5 bullets checkmark (PC+GPU RTX, 100 % local, assemblé QC, installation incluse, achat direct < 34 700 $) - CTA 'Voir les serveurs disponibles' → /contact?plan=dictia-local - mockup serveur à droite (SVG rack + 6 specs : Interface web, PC gaming, RTX 5070 Ti 16 Go, WhisperX+Mistral, DictIA pré-installé, Votre propriété) - pricing tagline visible '5 998 $ An 1 · 500 $/an dès An 2' - decorative orbs background (b1 + b3) pour distinguer du grid Cloud Aussi mis à jour /tarifs (H1 'Trois forfaits Cloud + DictIA LOCAL' au lieu de 'Quatre forfaits') et tests pour refléter le nouveau slug /contact?plan=dictia-local (au lieu du /checkout/dictia-local d'avant). Conserve V3 radii (rounded-none/rounded/rounded-full), palette brand (b1/b2/b3/navy), OQLF NBSP, ARIA WCAG, zéro emoji. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -34,7 +34,7 @@ def test_tarifs_has_h1_with_anchor():
|
||||
|
||||
|
||||
def test_tarifs_renders_4_pricing_cards_v7():
|
||||
"""Tarifs page renders the v7.0 4 forfaits + Pro+ chip."""
|
||||
"""Tarifs page renders the v7.0 3 Cloud forfaits + DictIA LOCAL dedicated block + Pro+ chip."""
|
||||
client = app.test_client()
|
||||
body = client.get('/tarifs').data.decode('utf-8')
|
||||
for tier in ['Cloud BASIC', 'Cloud ESSENTIEL', 'Cloud PRO', 'DictIA LOCAL']:
|
||||
@@ -45,11 +45,15 @@ def test_tarifs_renders_4_pricing_cards_v7():
|
||||
assert '549 $' in body
|
||||
assert '485 $' in body # Cloud Pro onboarding
|
||||
assert '5 998 $' in body # DictIA Local An 1
|
||||
# Checkout slugs
|
||||
# 3 Cloud forfaits use checkout slugs
|
||||
assert 'href="/checkout/cloud-basic"' in body
|
||||
assert 'href="/checkout/cloud-essentiel"' in body
|
||||
assert 'href="/checkout/cloud-pro"' in body
|
||||
assert 'href="/checkout/dictia-local"' in body
|
||||
# DictIA LOCAL has its own dedicated block with a contact CTA (no /checkout slug)
|
||||
assert '/contact?plan=dictia-local' in body, "Missing DictIA LOCAL block contact CTA"
|
||||
assert 'Vous en êtes' in body or 'Vous en êtes' in body, \
|
||||
"Missing DictIA LOCAL block headline 'Vous en êtes propriétaire'"
|
||||
assert 'Serveur DictIA' in body, "Missing DictIA LOCAL block server visual mockup label"
|
||||
# Pro+ chip with /contact link
|
||||
assert 'Pro+' in body
|
||||
assert '/contact?pro-plus=1' in body
|
||||
|
||||
Reference in New Issue
Block a user