Add PWA shit

This commit is contained in:
Mikko Ahlroth 2019-05-30 16:25:38 +03:00
parent f923283498
commit d346e6bc97
6 changed files with 34 additions and 0 deletions

View file

@ -4,6 +4,14 @@
<head>
<meta charset="utf-8" />
<title>Tiny Budget</title>
<link rel="manifest" href="/manifest.json">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="white">
<meta name="apple-mobile-web-app-title" content="TinyBudget">
<link rel="apple-touch-icon" href="/logo-192x192.png">
<meta name="description" content="A tiny budget application">
<meta name="theme-color" content="#fff">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

BIN
frontend/logo-192.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

BIN
frontend/logo-512.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

BIN
frontend/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.4 KiB

BIN
frontend/logo.xcf Normal file

Binary file not shown.

26
frontend/manifest.json Normal file
View file

@ -0,0 +1,26 @@
{
"short_name": "TinyBudget",
"name": "TinyBudget",
"icons": [
{
"src": "/logo-192.png",
"type": "image/png",
"sizes": "192x192"
},
{
"src": "/logo-512.png",
"type": "image/png",
"sizes": "512x512"
},
{
"src": "/logo.png",
"type": "image/png",
"sizes": "640x640"
}
],
"start_url": "/index.html",
"background_color": "#fff",
"display": "standalone",
"scope": "/",
"theme_color": "#fff"
}