```
✨ feat(templates): Ajoute badge Stripe Climate au pied de page et CSP
Ajoute les badges Stripe Climate pour afficher nos actions et met à jour la
CSP pour autoriser climate.stripe.com.
```
This commit is contained in:
@@ -17,7 +17,7 @@ www.e-cosplay.fr {
|
||||
header {
|
||||
-X-Robots-Tag
|
||||
Permissions-Policy "accelerometer=(), autoplay=(), encrypted-media=(), geolocation=(), gyroscope=(), magnetometer=(), midi=(), payment=(), publickey-credentials-get=(), usb=(), screen-wake-lock=(), xr-spatial-tracking=(), bluetooth=(), gamepad=()"
|
||||
Content-Security-Policy "base-uri 'self'; default-src 'self'; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; script-src 'self' 'unsafe-inline' https://www.e-cosplay.fr https://datas.e-cosplay.fr https://app.chatwoot.com https://*.cloudflareinsights.com https://storage.googleapis.com https://*.trustpilot.com; font-src 'self' https://fonts.gstatic.com;connect-src https://*.e-cosplay.fr https://*.cloudflareinsights.com https://fonts.googleapis.com https://widget.trustpilot.com/ https://challenges.cloudflare.com https://app.chatwoot.com; frame-src 'self' https://*.trustpilot.com https://app.chatwoot.com; worker-src 'self' blob:;"
|
||||
Content-Security-Policy "base-uri 'self'; default-src 'self'; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; script-src 'self' 'unsafe-inline' https://www.e-cosplay.fr https://datas.e-cosplay.fr https://app.chatwoot.com https://*.cloudflareinsights.com https://storage.googleapis.com https://*.trustpilot.com https://climate.stripe.com; font-src 'self' https://fonts.gstatic.com;connect-src https://*.e-cosplay.fr https://*.cloudflareinsights.com https://fonts.googleapis.com https://widget.trustpilot.com/ https://challenges.cloudflare.com https://app.chatwoot.com; frame-src 'self' https://*.trustpilot.com https://app.chatwoot.com https://climate.stripe.com; worker-src 'self' blob:;"
|
||||
Cross-Origin-Embedder-Policy ""
|
||||
Cross-Origin-Opener-Policy ""
|
||||
Cross-Origin-Resource-Policy ""
|
||||
|
||||
@@ -419,7 +419,7 @@
|
||||
</div>
|
||||
|
||||
{# 2. Réseaux Sociaux #}
|
||||
<div>
|
||||
<div style="height: 200px">
|
||||
<h3 class="text-lg font-semibold mb-3 text-gray-900">{{ 'footer_follow_us_title'|trans }}</h3>
|
||||
<div class="flex space-x-4">
|
||||
<a href="https://www.facebook.com/assocationecosplay" target="_blank" rel="noopener noreferrer"
|
||||
@@ -434,6 +434,9 @@
|
||||
|
||||
</a>
|
||||
</div>
|
||||
<h3 class="text-lg font-semibold mb-3 text-gray-900 py-1">{{ 'footer_action_title'|trans }}</h3>
|
||||
<iframe width="380" height="38" style="border:0;" src="https://climate.stripe.com/badge/qrsnOf?theme=light&size=small&locale={{ app.request.locale }}-{{ app.request.locale|upper }}"></iframe>
|
||||
<iframe width="380" height="38" style="border:0;margin-top: 0.5rem" src="https://climate.stripe.com/badge/7oAh3V?theme=light&size=small&locale={{ app.request.locale }}-{{ app.request.locale|upper }}"></iframe>
|
||||
</div>
|
||||
|
||||
{# 3. Bloc Personnalisable (E-Cosplay mission) #}
|
||||
|
||||
@@ -667,3 +667,4 @@ adh_page_validate:
|
||||
breadcrumb: "签名已验证"
|
||||
success_message: "您的签名已成功记录并验证。您现在可以查看已签署的文件。"
|
||||
thanks: "感谢您的参与!"
|
||||
footer_action_title: "我们的行动"
|
||||
|
||||
@@ -735,3 +735,4 @@ adh_page_validate:
|
||||
breadcrumb: "Signature Validated"
|
||||
success_message: "Your signature has been successfully recorded and validated for the General Assembly. You can now view the signed document."
|
||||
thanks: "Thank you for your participation!"
|
||||
footer_action_title: "Our actions"
|
||||
|
||||
@@ -380,6 +380,7 @@ checkout_button: "Passer à la caisse"
|
||||
shipping_disclaimer: "Frais de port calculés à l'étape suivante."
|
||||
footer_contact_title: "Nous Contacter"
|
||||
footer_follow_us_title: "Nous Suivre"
|
||||
footer_action_title: "Nos Actions"
|
||||
footer_mission_description: |
|
||||
E-Cosplay est une association dédiée à la promotion et à l'organisation
|
||||
d'événements autour du cosplay en France. Notre mission est de fournir
|
||||
|
||||
Reference in New Issue
Block a user