feat(maintenance.twig): Ajoute PWA en production pour la page de maintenance.

This commit is contained in:
Serreau Jovann
2026-01-21 14:17:09 +01:00
parent b09c4c669c
commit e3c42a7aa4

View File

@@ -5,10 +5,9 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Maintenance en cours - Ludik Event</title>
{{ vite_asset('reserve.js') }}
<style>
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700;900&display=swap');
body { font-family: 'Inter', sans-serif; }
</style>
{% if app.environment != 'dev' %}
{{ pwa(swAttributes={ 'nonce': csp_nonce('script') }) }}
{% endif %}
</head>
<body class="bg-slate-50 min-h-screen flex items-center justify-center p-6">