Configure PWA: single pwa() call with favicon/theme injection, Imagick processor, remove duplicates
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
pwa:
|
||||
image_processor: SpomkyLabs\PwaBundle\ImageProcessor\ImagickImageProcessor
|
||||
manifest:
|
||||
name: E-Ticket
|
||||
short_name: E-Ticket
|
||||
|
||||
@@ -3,10 +3,8 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="icon" type="image/png" href="/favicon.png">
|
||||
<link rel="apple-touch-icon" href="/favicon.png">
|
||||
<meta name="theme-color" content="#fabf04">
|
||||
<title>{% block title %}{% endblock %}</title>
|
||||
{{ pwa(injectThemeColor: true, injectFavicons: true, injectSW: false, injectResourceHints: true, injectSpeculationRules: true) }}
|
||||
{% block meta %}
|
||||
<meta name="description" content="{% block description %}E-Ticket - Plateforme de vente de tickets evenementiels pour associations{% endblock %}">
|
||||
{% endblock %}
|
||||
@@ -76,7 +74,6 @@
|
||||
<meta property="og:image" content="https://ticket.e-cosplay.fr/logo.png">
|
||||
{% endblock %}
|
||||
{% endblock %}
|
||||
{{ pwa() }}
|
||||
{% block stylesheets %}{% endblock %}
|
||||
{% block javascripts %}
|
||||
{{ vite_asset('app.js') }}
|
||||
|
||||
Reference in New Issue
Block a user