Add manifest for pwa

This commit is contained in:
Mike Conrad
2024-10-21 12:44:33 -04:00
parent 0c44afc3b3
commit 2a734d4b8c
3 changed files with 26 additions and 1 deletions

View File

@ -6,6 +6,11 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="color-scheme" content="light dark" />
<title>Open Bible App (NKJV)</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="black-translucent">
<link rel="apple-touch-icon" href="/bible.svg">
</head>
<body>
<div id="app"></div>

View File

@ -20,5 +20,6 @@
},
"eslintConfig": {
"extends": "preact"
}
},
"packageManager": "yarn@1.22.21+sha1.1959a18351b811cdeedbd484a8f86c3cc3bbaf72"
}

19
public/manifest.json Normal file
View File

@ -0,0 +1,19 @@
{
"short_name": "OpenBible",
"name": "Open Bible App: Simple, free, private Bible app",
"icons": [
{
"src": "/bible.svg",
"type": "image/svg+xml",
"sizes": "512x512"
}
],
"id": "/?source=pwa",
"start_url": "/?source=pwa",
"background_color": "#3367D6",
"display": "standalone",
"scope": "/",
"theme_color": "#3367D6",
"description": "Weather forecast information"
}