diff --git a/gatsby-config.js b/gatsby-config.js index b82ad8e..c02ef07 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -60,36 +60,15 @@ module.exports = { } }, { - resolve: 'gatsby-plugin-favicon', + resolve: 'gatsby-plugin-manifest', options: { - logo: './src/images/favicon.png', - injectHTML: true, - - // WebApp Manifest Configuration - appName: title.toLowerCase(), - appDescription: `${title.toLowerCase()} { ${tagline.toLowerCase()} }`, - developerName: title, - developerURL: url, - dir: 'auto', - lang: 'en-US', - background: '#e7eef4', + name: title.toLowerCase(), + short_name: 'mk', + start_url: '/', + background_color: '#e7eef4', theme_color: '#88bec8', - display: 'standalone', - orientation: 'any', - start_url: '/?homescreen=1', - version: '1.0', - - icons: { - android: true, - appleIcon: true, - appleStartup: false, - coast: false, - favicons: true, - firefox: true, - twitter: false, - yandex: true, - windows: true - } + display: 'minimal-ui', + icon: 'src/images/favicon.png' } }, 'gatsby-plugin-react-helmet', diff --git a/package.json b/package.json index 13d5555..d784dbe 100644 --- a/package.json +++ b/package.json @@ -21,9 +21,9 @@ }, "dependencies": { "file-saver": "^1.3.8", - "gatsby": "^2.0.0-beta.71", + "gatsby": "^2.0.0-beta.72", "gatsby-image": "^2.0.0-beta.7", - "gatsby-plugin-favicon": "^3.1.2", + "gatsby-plugin-manifest": "^2.0.2-beta.3", "gatsby-plugin-matomo": "^0.5.0", "gatsby-plugin-offline": "^2.0.0-beta.6", "gatsby-plugin-react-helmet": "^3.0.0-beta.4", diff --git a/src/components/Layout.jsx b/src/components/Layout.jsx index 135ff75..2d9e2f7 100644 --- a/src/components/Layout.jsx +++ b/src/components/Layout.jsx @@ -60,9 +60,7 @@ const Layout = ({ children, location }) => {
-
- {children} -
+
{children}