feat: add manifest and icons
This commit is contained in:
parent
827841f9e6
commit
c682ca2893
21
static/app.webmanifest
Normal file
21
static/app.webmanifest
Normal 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
BIN
static/icon_x512.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 237 KiB |
BIN
static/maskable_icon_x512.png
Normal file
BIN
static/maskable_icon_x512.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 124 KiB |
@ -9,6 +9,8 @@
|
||||
rel="stylesheet"
|
||||
/>
|
||||
<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 %}
|
||||
</head>
|
||||
<body>
|
||||
|
Loading…
Reference in New Issue
Block a user