Sfoglia il codice sorgente

fix(pwa) improve upon pwa specs

master
Tudor-Ovidiu Avram 4 anni fa
parent
commit
3125345793
3 ha cambiato i file con 10 aggiunte e 0 eliminazioni
  1. 4
    0
      index.html
  2. BIN
      static/pwa/icons/iconMask.png
  3. 6
    0
      static/pwa/manifest.json

+ 4
- 0
index.html Vedi File

4
     <meta charset="utf-8">
4
     <meta charset="utf-8">
5
     <meta http-equiv="content-type" content="text/html;charset=utf-8">
5
     <meta http-equiv="content-type" content="text/html;charset=utf-8">
6
     <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
     <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
+    <meta name="theme-color" content="#2A3A4B">
7
     <!--#include virtual="base.html" -->
8
     <!--#include virtual="base.html" -->
8
 
9
 
9
     <link rel="apple-touch-icon" href="images/apple-touch-icon.png">
10
     <link rel="apple-touch-icon" href="images/apple-touch-icon.png">
167
     <!--#include virtual="static/settingsToolbarAdditionalContent.html" -->
168
     <!--#include virtual="static/settingsToolbarAdditionalContent.html" -->
168
   </head>
169
   </head>
169
   <body>
170
   <body>
171
+    <noscript>
172
+        <div>JavaScript is disabled. </br>For this site to work you have to enable JavaScript.</div>
173
+    </noscript>
170
     <!--#include virtual="body.html" -->
174
     <!--#include virtual="body.html" -->
171
     <div id="react"></div>
175
     <div id="react"></div>
172
   </body>
176
   </body>

BIN
static/pwa/icons/iconMask.png Vedi File


+ 6
- 0
static/pwa/manifest.json Vedi File

19
       "src": "icons/icon512.png",
19
       "src": "icons/icon512.png",
20
       "type": "image/png",
20
       "type": "image/png",
21
       "sizes": "512x512"
21
       "sizes": "512x512"
22
+    },
23
+    {
24
+      "src": "icons/iconMask.png",
25
+      "sizes": "196x196",
26
+      "type": "image/png",
27
+      "purpose": "any maskable"
22
     }
28
     }
23
   ],
29
   ],
24
   "start_url": "/",
30
   "start_url": "/",

Loading…
Annulla
Salva