diff --git a/docusaurus.config.js b/docusaurus.config.js index 3c43db5..e3d3207 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -113,7 +113,7 @@ const config = { ], }, ], - copyright: `Community content is available under CC-BY-SA unless otherwise noted. Built with Docusaurus.
magiquest.wiki v0.6.1 + 72`, + copyright: `Community content is available under CC-BY-SA unless otherwise noted. Built with Docusaurus.
magiquest.wiki v0.6.1 + 73`, }, prism: { theme: prismThemes.github, @@ -129,12 +129,12 @@ export default { [ '@docusaurus/plugin-pwa', { - debug: true, offlineModeActivationStrategies: [ 'appInstalled', 'standalone', 'queryString', ], + swRegister: true, pwaHead: [ { tagName: 'link', @@ -151,6 +151,37 @@ export default { name: 'theme-color', content: 'rgb(149, 255, 0)', }, + { + tagName: 'meta', + name: 'apple-mobile-web-app-capable', + content: 'yes', + }, + { + tagName: 'meta', + name: 'apple-mobile-web-app-status-bar-style', + content: '#000', + }, + { + tagName: 'link', + rel: 'apple-touch-icon', + href: '/img/site-assets/icon512_rounded.png', + }, + { + tagName: 'link', + rel: 'mask-icon', + href: 'img/site-assets/icon512_maskable.png', + color: 'rgb(62, 204, 94)', + }, + { + tagName: 'meta', + name: 'msapplication-TileImage', + content: 'img/site-assets/icon512_maskable.png', + }, + { + tagName: 'meta', + name: 'msapplication-TileColor', + content: '#000', + }, ], }, ], diff --git a/static/manifest.json b/static/manifest.json index c1291f5..dc7a2ad 100644 --- a/static/manifest.json +++ b/static/manifest.json @@ -2,13 +2,10 @@ "name":"MagiQuest Wiki", "short_name":"MQ Wiki", "description":"A standalone wiki mirror of magiquest.fandom.com!", - "lang":"en-US", "theme_color":"#95ff00", "background_color":"#424242", "display":"standalone", - "orientation":"any", "scope":"./", - "dir":"auto", "start_url":"https://magiquest.wiki/", "related_applications": [ { @@ -18,13 +15,11 @@ ], "icons": [ { - "purpose":"maskable", "sizes":"512x512", "src":"img/site-assets/icon512_maskable.png", "type":"image/png" }, { - "purpose":"any", "sizes":"512x512", "src":"img/site-assets/icon512_rounded.png", "type":"image/png"