Add PWA bundle config and pwa() Twig function in base template

- Create pwa.yaml with manifest: name, icons (favicon.png), theme color
- Add {{ pwa() }} before stylesheets in base.html.twig head

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Serreau Jovann
2026-03-20 18:54:11 +01:00
parent 689883b434
commit a794a10844
2 changed files with 15 additions and 0 deletions

View File

@@ -76,6 +76,7 @@
<meta property="og:image" content="https://ticket.e-cosplay.fr/logo.png">
{% endblock %}
{% endblock %}
{{ pwa() }}
{% block stylesheets %}{% endblock %}
{% block javascripts %}
{{ vite_asset('app.js') }}