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:
@@ -93,8 +93,8 @@ def layout(error: str | None = None, email: str | None = None, **kwargs):
|
||||
linkedin_button(),
|
||||
html.Div("ou", className="text-center text-muted my-2"),
|
||||
html.A(
|
||||
"Créer un compte avec mon adresse email",
|
||||
href="/inscription",
|
||||
"Pas encore de compte ? Voir les abonnements",
|
||||
href="/a-propos/abonnement",
|
||||
className="btn btn-primary w-100",
|
||||
),
|
||||
],
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user