Skip to content

Commit 1e692b4

Browse files
committed
add favicon and needed plugin
1 parent 439b5c0 commit 1e692b4

File tree

4 files changed

+42
-7
lines changed

4 files changed

+42
-7
lines changed

gatsby-config.js

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,30 @@
11
module.exports = {
22
siteMetadata: {
3-
title: 'gatsby-starter-code-notes',
4-
description: `A starter for gatsby-theme-code-notes`,
5-
author: 'Zander',
3+
title: "Travis Ricks Code Notes",
4+
description: `Travis Ricks Code Notes`,
5+
author: "Travis Ricks",
66
},
77
plugins: [
88
{
9-
resolve: 'gatsby-theme-code-notes',
9+
resolve: "gatsby-theme-code-notes",
1010
options: {
11-
contentPath: 'notes',
12-
basePath: '/',
11+
contentPath: "notes",
12+
basePath: "/",
1313
showThemeInfo: true,
1414
showDescriptionInSidebar: true,
1515
},
1616
},
17+
{
18+
resolve: `gatsby-plugin-manifest`,
19+
options: {
20+
name: `Travis Ricks Code Notes`,
21+
short_name: `TRCode`,
22+
start_url: `/`,
23+
background_color: `#f7f0eb`,
24+
theme_color: `#a2466c`,
25+
display: `standalone`,
26+
icon: `static/logo.png`,
27+
},
28+
},
1729
],
18-
}
30+
};

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
},
1818
"dependencies": {
1919
"gatsby": "^2.23.4",
20+
"gatsby-plugin-manifest": "^2.4.12",
2021
"gatsby-theme-code-notes": "1.9.1",
2122
"react": "^16.13.1",
2223
"react-dom": "^16.13.1"

static/logo.png

19.2 KB
Loading

yarn.lock

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7003,6 +7003,18 @@ gatsby-core-utils@^1.3.5:
70037003
proper-lockfile "^4.1.1"
70047004
xdg-basedir "^4.0.0"
70057005

7006+
gatsby-core-utils@^1.3.6:
7007+
version "1.3.6"
7008+
resolved "https://registry.yarnpkg.com/gatsby-core-utils/-/gatsby-core-utils-1.3.6.tgz#5a001593276b0c1cc4a3c6c9a34da428e9374590"
7009+
integrity sha512-ptd//w6MX1/hUGO2KBffSUKSYIVU3SFRM2cKXN3CMmCQvn8ul2OHCjpNY8MyZQuluWk8nRtvhjEGrl+KJtcOnw==
7010+
dependencies:
7011+
ci-info "2.0.0"
7012+
configstore "^5.0.1"
7013+
fs-extra "^8.1.0"
7014+
node-object-hash "^2.0.0"
7015+
proper-lockfile "^4.1.1"
7016+
xdg-basedir "^4.0.0"
7017+
70067018
gatsby-graphiql-explorer@^0.4.5:
70077019
version "0.4.5"
70087020
resolved "https://registry.yarnpkg.com/gatsby-graphiql-explorer/-/gatsby-graphiql-explorer-0.4.5.tgz#63795dc891e0ddc25436f51495342f0f7a2a0a1f"
@@ -7044,6 +7056,16 @@ gatsby-plugin-local-search@^1.1.1:
70447056
lunr "^2.3.8"
70457057
pascalcase "^1.0.0"
70467058

7059+
gatsby-plugin-manifest@^2.4.12:
7060+
version "2.4.12"
7061+
resolved "https://registry.yarnpkg.com/gatsby-plugin-manifest/-/gatsby-plugin-manifest-2.4.12.tgz#b1b1bd3fb97cfdf5358b3989de85d85941b6ace8"
7062+
integrity sha512-QHT/dqxZr9Rev0pjEb45Ivh2MrV5E3EWhgHKJmtpTJ94BVSQetDHjr8kCcFtdQqXep8W8GtuHPMrz8Bt1SCVqA==
7063+
dependencies:
7064+
"@babel/runtime" "^7.10.2"
7065+
gatsby-core-utils "^1.3.6"
7066+
semver "^5.7.1"
7067+
sharp "^0.25.1"
7068+
70477069
gatsby-plugin-mdx@^1.2.15:
70487070
version "1.2.15"
70497071
resolved "https://registry.yarnpkg.com/gatsby-plugin-mdx/-/gatsby-plugin-mdx-1.2.15.tgz#359195813490873749fbcacc76151790b2db8451"

0 commit comments

Comments
 (0)