Updated icon locations

This commit is contained in:
Liyas Thomas
2020-08-23 17:03:49 +05:30
parent c3d6343edb
commit 4ae8308663

View File

@@ -60,7 +60,7 @@ export default {
// Windows phone tile icon // Windows phone tile icon
{ {
name: "msapplication-TileImage", name: "msapplication-TileImage",
content: `/icons/icon-144x144.png`, content: `/icon.png`,
}, },
{ {
name: "msapplication-TileColor", name: "msapplication-TileColor",
@@ -72,24 +72,13 @@ export default {
}, },
], ],
link: [ link: [
{
rel: "icon",
type: "image/x-icon",
href: `/favicon.ico`,
},
// Home-screen icons (iOS)
{ {
rel: "apple-touch-icon", rel: "apple-touch-icon",
href: `/icons/icon-48x48.png`, href: "/icon.png",
}, },
{ {
rel: "apple-touch-startup-image", rel: "apple-touch-startup-image",
href: `/icons/icon-72x72.png`, href: "/icon.png",
},
{
rel: "apple-touch-icon",
sizes: "192x192",
href: `/icons/icon-192x192.png`,
}, },
], ],
}, },
@@ -152,15 +141,6 @@ export default {
"@nuxtjs/sitemap", "@nuxtjs/sitemap",
], ],
pwa: { pwa: {
manifest: {
name: options.name,
short_name: options.name,
start_url: `/`,
display: "standalone",
background_color: options.app.background,
description: options.shortDescription,
theme_color: options.app.background,
},
meta: { meta: {
ogHost: process.env.BASE_URL, ogHost: process.env.BASE_URL,
twitterCard: "summary_large_image", twitterCard: "summary_large_image",
@@ -169,6 +149,14 @@ export default {
description: options.shortDescription, description: options.shortDescription,
theme_color: options.app.background, theme_color: options.app.background,
}, },
manifest: {
name: options.name,
short_name: options.name,
description: options.shortDescription,
start_url: "/",
background_color: options.app.background,
theme_color: options.app.background,
},
}, },
toast: { toast: {
position: "bottom-center", position: "bottom-center",