Added manifest, icons and screenshots

This commit is contained in:
Dmitriy Shishkov 2021-08-09 15:35:03 +03:00
parent fa38e0054b
commit 599342f78b
No known key found for this signature in database
GPG Key ID: 14358F96FCDD8060
8 changed files with 16 additions and 15 deletions

BIN
public/images/icons-128.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

BIN
public/images/icons-192.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

BIN
public/images/icons-512.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 599 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 102 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 120 KiB

View File

@ -4,7 +4,7 @@
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" /> <link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
<!-- <link rel="manifest" href="manifest.json" /> --> <link rel="manifest" href="manifest.json" />
<title>Publite</title> <title>Publite</title>
</head> </head>

View File

@ -2,6 +2,11 @@
"short_name": "Publite", "short_name": "Publite",
"name": "Publite: eBook reader", "name": "Publite: eBook reader",
"icons": [ "icons": [
{
"src": "images/icons-128.png",
"type": "image/png",
"sizes": "128x128"
},
{ {
"src": "/images/icons-192.png", "src": "/images/icons-192.png",
"type": "image/png", "type": "image/png",
@ -14,30 +19,26 @@
} }
], ],
"start_url": "/", "start_url": "/",
"background_color": "#000000", "background_color": "#ffffff",
"display": "standalone", "display": "standalone",
"scope": "/", "scope": "/",
"theme_color": "#000000", "theme_color": "#000000",
"shortcuts": [
{
"name": "How's weather today?",
"short_name": "Today",
"description": "View weather information for today",
"url": "/today?source=pwa",
"icons": [{ "src": "/images/today.png", "sizes": "192x192" }]
}
],
"description": "eBook reader supporting EPUB and FB2 files", "description": "eBook reader supporting EPUB and FB2 files",
"screenshots": [ "screenshots": [
{ {
"src": "/images/screenshot1.png", "src": "/images/screenshot1.jpg",
"type": "image/png", "type": "image/jpg",
"sizes": "540x720" "sizes": "1080x2400"
}, },
{ {
"src": "/images/screenshot2.jpg", "src": "/images/screenshot2.jpg",
"type": "image/jpg", "type": "image/jpg",
"sizes": "540x720" "sizes": "1080x2400"
},
{
"src": "/images/screenshot3.jpg",
"type": "image/jpg",
"sizes": "1080x2400"
} }
] ]
} }