Skip to content

Commit ee1442f

Browse files
committed
added favicon
1 parent e03f3dd commit ee1442f

File tree

5 files changed

+380
-334
lines changed

5 files changed

+380
-334
lines changed

.eslintrc.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
module.exports = {
2+
globals: {
3+
__PATH_PREFIX__: true
4+
},
5+
extends: `react-app`
6+
};

gatsby-config.js

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
module.exports = {
22
plugins: [
3-
`gatsby-plugin-sass`
3+
`gatsby-plugin-sass`,
4+
{
5+
resolve: `gatsby-plugin-manifest`,
6+
options: {
7+
name: `gatsby-starter-default`,
8+
short_name: `starter`,
9+
start_url: `/`,
10+
background_color: `#663399`,
11+
theme_color: `#663399`,
12+
display: `minimal-ui`,
13+
icon: `src/static/ap-icon.png` // This path is relative to the root of the site.
14+
}
15+
}
416
]
5-
};
17+
};

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"@fortawesome/free-brands-svg-icons": "^5.6.3",
1616
"@fortawesome/react-fontawesome": "^0.1.4",
1717
"gatsby": "^2.4.0",
18+
"gatsby-plugin-manifest": "^2.3.3",
1819
"react": "^16.8.6",
1920
"react-dom": "^16.8.6",
2021
"react-markdown": "^4.1.0"
@@ -27,6 +28,8 @@
2728
"@storybook/addons": "^4.0.0",
2829
"@storybook/react": "^4.0.0",
2930
"babel-loader": "^8.0.4",
31+
"eslint-config-react-app": "^5.1.0",
32+
"eslint-plugin-react-hooks": "^2.3.0",
3033
"gatsby-plugin-sass": "^2.0.2",
3134
"node-sass": "^4.9.4",
3235
"resolve-url-loader": "^3.0.0"

src/static/ap-icon.png

28.9 KB
Loading

0 commit comments

Comments
 (0)