Add PWA PNG icons

This commit is contained in:
rucki
2026-08-22 17:15:09 +02:00
parent 2b6056ae85
commit 345b30bbb8
4 changed files with 14 additions and 1 deletions
+1 -1
View File
@@ -11,7 +11,7 @@
<meta name="apple-mobile-web-app-title" content="my2dos"> <meta name="apple-mobile-web-app-title" content="my2dos">
<link rel="manifest" href="{% static 'manifest.webmanifest' %}"> <link rel="manifest" href="{% static 'manifest.webmanifest' %}">
<link rel="icon" href="{% static 'icon.svg' %}" type="image/svg+xml"> <link rel="icon" href="{% static 'icon.svg' %}" type="image/svg+xml">
<link rel="apple-touch-icon" href="{% static 'icon.svg' %}"> <link rel="apple-touch-icon" href="{% static 'icon-192.png' %}">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet"> <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet">
<script src="https://unpkg.com/htmx.org@1.9.12"></script> <script src="https://unpkg.com/htmx.org@1.9.12"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script>
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

+13
View File
@@ -1,4 +1,5 @@
{ {
"id": "/",
"name": "my2dos", "name": "my2dos",
"short_name": "my2dos", "short_name": "my2dos",
"description": "Notizen, Aufgaben, Links und Journal", "description": "Notizen, Aufgaben, Links und Journal",
@@ -8,6 +9,18 @@
"background_color": "#f7f7f4", "background_color": "#f7f7f4",
"theme_color": "#212529", "theme_color": "#212529",
"icons": [ "icons": [
{
"src": "/static/icon-192.png",
"sizes": "192x192",
"type": "image/png",
"purpose": "any maskable"
},
{
"src": "/static/icon-512.png",
"sizes": "512x512",
"type": "image/png",
"purpose": "any maskable"
},
{ {
"src": "/static/icon.svg", "src": "/static/icon.svg",
"sizes": "any", "sizes": "any",