feat(compte): coquille de la section Abonnement (#73)

This commit is contained in:
Colin Maudry
2026-06-24 22:06:42 +02:00
parent 6144e3c18d
commit cce4d9873a
+25
View File
@@ -0,0 +1,25 @@
from dash import html, register_page
from src.pages._compte_shell import account_guard, account_shell
register_page(
__name__,
path="/compte/abonnement",
title="Abonnement | decp.info",
name="Abonnement",
description="Gestion de votre abonnement decp.info.",
)
def layout(**_):
guard = account_guard("/compte/abonnement", require_subscription=False)
if guard is not None:
return guard
contenu = html.Div(
[
html.H2("Abonnement"),
html.P("La gestion de l'abonnement arrive bientôt."),
]
)
return account_shell("abonnement", contenu)