feat(abonnement): CTA connexion vers /a-propos/abonnement

Remplace le CTA du bas de /connexion ("Créer un compte avec mon adresse
email" → "/inscription") par un lien vers l'offre d'abonnement ("Pas encore
de compte ? Voir les abonnements" → "/a-propos/abonnement").

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
Colin Maudry
2026-07-04 23:39:06 +02:00
parent 3b744d87f0
commit 315c500005
2 changed files with 9 additions and 2 deletions
+2 -2
View File
@@ -93,8 +93,8 @@ def layout(error: str | None = None, email: str | None = None, **kwargs):
linkedin_button(), linkedin_button(),
html.Div("ou", className="text-center text-muted my-2"), html.Div("ou", className="text-center text-muted my-2"),
html.A( html.A(
"Créer un compte avec mon adresse email", "Pas encore de compte ? Voir les abonnements",
href="/inscription", href="/a-propos/abonnement",
className="btn btn-primary w-100", className="btn btn-primary w-100",
), ),
], ],
+7
View File
@@ -0,0 +1,7 @@
def test_connexion_cta_points_to_abonnement():
from src.app import app # noqa: F401 # initializes Dash app
from src.pages import connexion
text = str(connexion.layout())
assert "/a-propos/abonnement" in text
assert "Voir les abonnements" in text