]> git.immae.eu Git - github/bastienwirtz/homer.git/commitdiff
Add missing icons
authorBastien Wirtz <bastien.wirtz@gmail.com>
Sun, 3 Jul 2022 20:43:01 +0000 (22:43 +0200)
committerBastien Wirtz <bastien.wirtz@gmail.com>
Sun, 3 Jul 2022 20:43:01 +0000 (22:43 +0200)
index.html
public/logo.png [new file with mode: 0644]
vite.config.js

index e908198052b4eeaadafd5916db435a778b6c0484..58f531ce5c0fdb35897b5ebbd4baed685315fd5f 100644 (file)
@@ -4,6 +4,7 @@
     <meta charset="UTF-8" />
     <link rel="icon" href="assets/favicon.ico" />
     <link rel="apple-touch-icon" href="assets/apple-touch-icon.png" sizes="180x180">
+    <link rel="mask-icon" href="assets/logo.svg" color="#FFFFFF">
     <meta name="theme-color" content="#3367D6">
     <meta name="viewport" content="width=device-width,initial-scale=1.0,viewport-fit=cover">
     <title>Homer</title>
diff --git a/public/logo.png b/public/logo.png
new file mode 100644 (file)
index 0000000..1834721
Binary files /dev/null and b/public/logo.png differ
index 262f3117a81d60f7c926c950a37822f22ecdfb03..b568fe6d96e065a2e257241738d68c68e3693867 100644 (file)
@@ -31,6 +31,12 @@ export default defineConfig({
             sizes: "512x512",
             type: "image/png",
           },
+          {
+            src: 'pwa-512x512.png',
+            sizes: '512x512',
+            type: 'image/png',
+            purpose: 'any maskable'
+          }
         ],
       },
     }),