diff --git a/gatsby-config.js b/gatsby-config.js index 1329ae2..c6a4b1d 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -2,7 +2,7 @@ const path = require("path"); module.exports = { siteMetadata: { - title: `Abc Project Design`, + title: `ABC Project Design`, description: `Easy as ABC`, keywords: `Foo bar baz`, navData: [ @@ -61,6 +61,18 @@ module.exports = { ] }, plugins: [ + { + resolve: `gatsby-plugin-manifest`, + options: { + name: `ABC Project Design`, + short_name: `ABC`, + start_url: `/`, + icon: `src/images/icon.png`, + background_color: `#e5ffde`, + theme_color: `#9c0905`, + display: `standalone` + } + }, { resolve: `gatsby-source-filesystem`, options: { diff --git a/package-lock.json b/package-lock.json index b31052c..ec9e45d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8735,6 +8735,64 @@ "micromatch": "^4.0.2" } }, + "gatsby-plugin-manifest": { + "version": "2.10.0", + "resolved": "https://registry.npmjs.org/gatsby-plugin-manifest/-/gatsby-plugin-manifest-2.10.0.tgz", + "integrity": "sha512-usX07buWEjQiuDzs++UJQd3tUkoB7nAPQvK99K1qskLzBSCSasSbymAEqF27LSs4Q6agysKxZA2QE68JWYMQWw==", + "requires": { + "@babel/runtime": "^7.12.5", + "gatsby-core-utils": "^1.8.0", + "gatsby-plugin-utils": "^0.7.0", + "semver": "^7.3.2", + "sharp": "^0.27.0" + }, + "dependencies": { + "array-flatten": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-3.0.0.tgz", + "integrity": "sha512-zPMVc3ZYlGLNk4mpK1NzP2wg0ml9t7fUgDsayR5Y5rSzxQilzR9FGu/EH2jQOcKSAeAfWeylyW8juy3OkWRvNA==" + }, + "gatsby-core-utils": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/gatsby-core-utils/-/gatsby-core-utils-1.8.0.tgz", + "integrity": "sha512-MurWnytVVG9rOai0oAdcCsLODqj7P7Y9ndoAswHDk6hrlsWwiRMOsDS1kEyL7n2BM7lhgzZ+gz9OaOukqU1BhA==", + "requires": { + "ci-info": "2.0.0", + "configstore": "^5.0.1", + "fs-extra": "^8.1.0", + "node-object-hash": "^2.0.0", + "proper-lockfile": "^4.1.1", + "tmp": "^0.2.1", + "xdg-basedir": "^4.0.0" + } + }, + "gatsby-plugin-utils": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/gatsby-plugin-utils/-/gatsby-plugin-utils-0.7.0.tgz", + "integrity": "sha512-fClolFlWQvczukRQhLfdFtz9GXIehgf567HJbggC2oPkVT0NCwwNPAAjVq1CcmxQE8k/kcp7kxQVc86pVcWuzA==", + "requires": { + "joi": "^17.2.1" + } + }, + "sharp": { + "version": "0.27.0", + "resolved": "https://registry.npmjs.org/sharp/-/sharp-0.27.0.tgz", + "integrity": "sha512-II+YBCW3JuVWQZdpTEA2IBjJcYXPuoKo3AUqYuW+FK9Um93v2gPE2ihICCsN5nHTUoP8WCjqA83c096e8n//Rw==", + "requires": { + "array-flatten": "^3.0.0", + "color": "^3.1.3", + "detect-libc": "^1.0.3", + "node-addon-api": "^3.1.0", + "npmlog": "^4.1.2", + "prebuild-install": "^6.0.0", + "semver": "^7.3.4", + "simple-get": "^4.0.0", + "tar-fs": "^2.1.1", + "tunnel-agent": "^0.6.0" + } + } + } + }, "gatsby-plugin-page-creator": { "version": "2.7.2", "resolved": "https://registry.npmjs.org/gatsby-plugin-page-creator/-/gatsby-plugin-page-creator-2.7.2.tgz", diff --git a/package.json b/package.json index abca94a..e046e22 100644 --- a/package.json +++ b/package.json @@ -20,6 +20,7 @@ "@fontsource/cooper-hewitt": "^4.1.0", "gatsby": "^2.29.3", "gatsby-image": "^2.8.0", + "gatsby-plugin-manifest": "^2.10.0", "gatsby-plugin-react-helmet": "^3.7.0", "gatsby-plugin-react-svg": "^3.0.0", "gatsby-plugin-sharp": "^2.11.2", diff --git a/src/images/icon.png b/src/images/icon.png new file mode 100644 index 0000000..48cb106 Binary files /dev/null and b/src/images/icon.png differ