diff --git a/src/images/favicons/favicon.svg b/src/images/favicons/favicon.svg new file mode 100644 index 0000000..aa62a43 --- /dev/null +++ b/src/images/favicons/favicon.svg @@ -0,0 +1 @@ + diff --git a/src/images/favicons/icon_512.png b/src/images/favicons/icon_512.png new file mode 100644 index 0000000..8119db2 Binary files /dev/null and b/src/images/favicons/icon_512.png differ diff --git a/src/index.html b/src/index.html index a6b1b2d..685253d 100644 --- a/src/index.html +++ b/src/index.html @@ -22,15 +22,10 @@ Blobble - - + + - + diff --git a/src/manifest.json b/src/manifest.json index 10467aa..c3e3770 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -11,6 +11,25 @@ "theme_color": "#373647", "shortcuts": [], "categories": ["games", "entertainment", "education"], - "icons": [], + "icons": [ + { + "src": "favicon.svg", + "type": "image/svg+xml", + "sizes": "any", + "purpose": "any" + }, + { + "src": "icon_512.png", + "type": "image/png", + "sizes": "512x512 192x192", + "purpose": "any" + }, + { + "src": "icon_512.png", + "type": "image/png", + "sizes": "512x512", + "purpose": "maskable" + } + ], "screenshots": [] } diff --git a/webpack.config.js b/webpack.config.js index 361ec08..6f22a40 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -20,6 +20,8 @@ module.exports = (env, argv) => { patterns: [ {from: "./src/manifest.json", to: "./assets/manifest.json"}, {from: "./src/privacy.html", to: "./privacy.html"}, + {from: "./src/images/favicons/favicon.svg", to: "./assets/favicon.svg"}, + {from: "./src/images/favicons/icon_512.png", to: "./assets/icon_512.png"}, ], options: { concurrency: 100,