use svg directly for favicon and PWA

This commit is contained in:
Simon Gardling
2022-06-02 01:33:51 -04:00
parent 157c835922
commit 7f55a5a3a3
8 changed files with 13 additions and 90 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 60 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

View File

@@ -10,6 +10,7 @@
<meta name="theme-color" media="(prefers-color-scheme: light)" content="white">
<meta name="theme-color" media="(prefers-color-scheme: dark)" content="#404040">
<link rel="manifest" href="./manifest.json">
<link rel="icon" href="./logo.svg" sizes="any" type="image/svg+xml">
<!--Register Service Worker-->
<script>

View File

@@ -3,14 +3,8 @@
"short_name": "ytbn-pwa",
"icons": [
{
"src": "./icon-256.png",
"sizes": "256x256",
"type": "image/png"
},
{
"src": "./icon-1024.png",
"sizes": "1024x1024",
"type": "image/png"
"src": "./logo.svg",
"sizes": "any"
}
],
"lang": "en-US",

View File

@@ -4,7 +4,7 @@ var filesToCache = [
'./index.html',
'./ytbn_graphing_software.js',
'./ytbn_graphing_software_bg.wasm',
"./favicon.ico"
"./logo.svg"
];
/* Start the service worker and cache all of the app's content */