Public Access
maj auto 1
This commit is contained in:
1 parent
e651049b4e
commit
db2b137d6b
9 files changed
+479
-410
No files matched your search
@@ -0,0 +1,18 @@
|
||||
# modules/paypal.py
|
||||
from fasthtml.common import *
|
||||
|
||||
def render_paypal_donation_widget():
|
||||
"""Génère le bouton de don PayPal pour l'interface sidebar."""
|
||||
# Remplacez l'URL ci-dessous par votre véritable lien ou bouton de don PayPal
|
||||
paypal_url = "https://www.paypal.com/donate?hosted_button_id=VOTRE_ID_PAYPAL"
|
||||
|
||||
return Div(
|
||||
A(
|
||||
"☕ Faire un don PayPal",
|
||||
href=paypal_url,
|
||||
target="_blank",
|
||||
cls="export-btn",
|
||||
style="text-align: center; color: #00e5ff; border-color: #00e5ff; display: block; text-decoration: none;"
|
||||
),
|
||||
style="margin-top: 10px;"
|
||||
)
|
||||
Reference in new issue
Block a user