diff --git a/favicon/android-chrome-192x192.png b/favicon/android-chrome-192x192.png new file mode 100644 index 0000000..fe97872 Binary files /dev/null and b/favicon/android-chrome-192x192.png differ diff --git a/favicon/android-chrome-512x512.png b/favicon/android-chrome-512x512.png new file mode 100644 index 0000000..16d93c5 Binary files /dev/null and b/favicon/android-chrome-512x512.png differ diff --git a/favicon/apple-touch-icon.png b/favicon/apple-touch-icon.png new file mode 100644 index 0000000..ac43690 Binary files /dev/null and b/favicon/apple-touch-icon.png differ diff --git a/favicon/favicon-16x16.png b/favicon/favicon-16x16.png new file mode 100644 index 0000000..672c396 Binary files /dev/null and b/favicon/favicon-16x16.png differ diff --git a/favicon/favicon-32x32.png b/favicon/favicon-32x32.png new file mode 100644 index 0000000..09eb274 Binary files /dev/null and b/favicon/favicon-32x32.png differ diff --git a/favicon/favicon.ico b/favicon/favicon.ico new file mode 100644 index 0000000..4c85e9c Binary files /dev/null and b/favicon/favicon.ico differ diff --git a/index.html b/index.html index 686df82..f7cb27e 100644 --- a/index.html +++ b/index.html @@ -6,6 +6,9 @@ + + + Der Durstrechner diff --git a/manifest.json b/manifest.json index f8d4ff1..9be50f1 100644 --- a/manifest.json +++ b/manifest.json @@ -1,11 +1,20 @@ { - "name": "Produkt-Rechner", - "short_name": "Rechner", + "name": "Der Durstrechner", + "short_name": "Durstrechner", "start_url": "./", "display": "standalone", "background_color": "#ffffff", "theme_color": "#2196f3", "icons": [ - + { + "src": "favicon/android-chrome-192x192.png", + "sizes": "192x192", + "type": "image/png" + }, + { + "src": "favicon/android-chrome-512x512.png", + "sizes": "512x512", + "type": "image/png" + } ] } diff --git a/service-worker.js b/service-worker.js index ce63672..3f914b8 100644 --- a/service-worker.js +++ b/service-worker.js @@ -5,6 +5,12 @@ const FILES_TO_CACHE = [ '/manifest.json', '/service-worker.js', '/stylesheet.css', + '/favicon/android-chrome-192x192.png', + '/favicon/android-chrome-512x512.png', + '/favicon/apple-touch-icon.png', + '/favicon/favicon-16x16.png', + '/favicon/favicon-32x32.png', + '/favicon/favicon.ico', ]; self.addEventListener('install', event => {