feat: add manifest and icons

This commit is contained in:
Mariano Riefolo 2024-09-15 16:41:48 +02:00
parent 827841f9e6
commit c682ca2893
4 changed files with 23 additions and 0 deletions

21
static/app.webmanifest Normal file
View File

@ -0,0 +1,21 @@
{
"id": "/",
"start_url": "/",
"scope": "/",
"name": "Orario Scolastico (ITET Cassandro Fermi Nervi)",
"short_name": "Orario ITET",
"display": "standalone",
"icons": [
{
"src": "icon_x512.png",
"sizes": "512x512",
"type": "image/png"
},
{
"src": "maskable_icon_x512.png",
"sizes": "512x512",
"type": "image/png",
"purpose": "maskable"
}
]
}

BIN
static/icon_x512.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 237 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 124 KiB

View File

@ -9,6 +9,8 @@
rel="stylesheet" rel="stylesheet"
/> />
<link rel="icon" type="image/png" href="/static/favicon.png" /> <link rel="icon" type="image/png" href="/static/favicon.png" />
<link rel="manifest" href="/static/app.webmanifest" />
<script async src="https://cdn.jsdelivr.net/npm/pwacompat" crossorigin="anonymous"></script>
{% block head %}{% endblock %} {% block head %}{% endblock %}
</head> </head>
<body> <body>