feat: manifest

This commit is contained in:
2021-01-15 21:34:31 +00:00
parent 3462c3e584
commit 4089eca614
4 changed files with 72 additions and 1 deletions

View File

@@ -2,7 +2,7 @@ const path = require("path");
module.exports = { module.exports = {
siteMetadata: { siteMetadata: {
title: `Abc Project Design`, title: `ABC Project Design`,
description: `Easy as ABC`, description: `Easy as ABC`,
keywords: `Foo bar baz`, keywords: `Foo bar baz`,
navData: [ navData: [
@@ -61,6 +61,18 @@ module.exports = {
] ]
}, },
plugins: [ 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`, resolve: `gatsby-source-filesystem`,
options: { options: {

58
package-lock.json generated
View File

@@ -8735,6 +8735,64 @@
"micromatch": "^4.0.2" "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": { "gatsby-plugin-page-creator": {
"version": "2.7.2", "version": "2.7.2",
"resolved": "https://registry.npmjs.org/gatsby-plugin-page-creator/-/gatsby-plugin-page-creator-2.7.2.tgz", "resolved": "https://registry.npmjs.org/gatsby-plugin-page-creator/-/gatsby-plugin-page-creator-2.7.2.tgz",

View File

@@ -20,6 +20,7 @@
"@fontsource/cooper-hewitt": "^4.1.0", "@fontsource/cooper-hewitt": "^4.1.0",
"gatsby": "^2.29.3", "gatsby": "^2.29.3",
"gatsby-image": "^2.8.0", "gatsby-image": "^2.8.0",
"gatsby-plugin-manifest": "^2.10.0",
"gatsby-plugin-react-helmet": "^3.7.0", "gatsby-plugin-react-helmet": "^3.7.0",
"gatsby-plugin-react-svg": "^3.0.0", "gatsby-plugin-react-svg": "^3.0.0",
"gatsby-plugin-sharp": "^2.11.2", "gatsby-plugin-sharp": "^2.11.2",

BIN
src/images/icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB