Commit 253a3aad authored by Majid Hajian's avatar Majid Hajian Committed by Evan You

Pwa improvement (#194)

* add 256 & 512 icons * skip to content snippet * remove user-scalable=no to enable zoom
parent c5f9a650
...@@ -17,10 +17,18 @@ ...@@ -17,10 +17,18 @@
"src": "/public/logo-192.png", "src": "/public/logo-192.png",
"sizes": "192x192", "sizes": "192x192",
"type": "image/png" "type": "image/png"
},{ }, {
"src": "/public/logo-256.png",
"sizes": "256x256",
"type": "image/png"
}, {
"src": "/public/logo-384.png", "src": "/public/logo-384.png",
"sizes": "384x384", "sizes": "384x384",
"type": "image/png" "type": "image/png"
}, {
"src": "/public/logo-512.png",
"sizes": "512x512",
"type": "image/png"
}], }],
"start_url": "/", "start_url": "/",
"background_color": "#f2f3f5", "background_color": "#f2f3f5",
......
...@@ -7,12 +7,17 @@ ...@@ -7,12 +7,17 @@
<meta name="apple-mobile-web-app-capable" content="yes"> <meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="default"> <meta name="apple-mobile-web-app-status-bar-style" content="default">
<link rel="apple-touch-icon" sizes="120x120" href="/public/logo-120.png"> <link rel="apple-touch-icon" sizes="120x120" href="/public/logo-120.png">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, minimal-ui"> <meta name="viewport" content="width=device-width, initial-scale=1, minimal-ui">
<link rel="shortcut icon" sizes="48x48" href="/public/logo-48.png"> <link rel="shortcut icon" sizes="48x48" href="/public/logo-48.png">
<meta name="theme-color" content="#f60"> <meta name="theme-color" content="#f60">
<link rel="manifest" href="/manifest.json"> <link rel="manifest" href="/manifest.json">
<style>
#skip a { position:absolute; left:-10000px; top:auto; width:1px; height:1px; overflow:hidden; }
#skip a:focus { position:static; width:auto; height:auto; }
</style>
</head> </head>
<body> <body>
<div id="skip"><a href="#app">skip to content</a></div>
<!--vue-ssr-outlet--> <!--vue-ssr-outlet-->
</body> </body>
</html> </html>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment