Skip to content

Commit df797ed

Browse files
committed
Updates
1 parent edb6fbf commit df797ed

18 files changed

+29715
-7989
lines changed

gatsby-config.js

Lines changed: 33 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,36 @@ module.exports = {
44
siteMetadata: {
55
title: "useHooks",
66
description: "Easy to understand React Hook recipes",
7-
siteUrl: "https://usehooks.com"
7+
siteUrl: "https://usehooks.com",
88
},
99
plugins: [
10+
{
11+
resolve: `gatsby-plugin-manifest`,
12+
options: {
13+
name: `useHooks`,
14+
short_name: `useHooks`,
15+
start_url: `/`,
16+
background_color: `#ffffff`,
17+
theme_color: `#000000`,
18+
display: `standalone`,
19+
icon: "static/images/favicon/favicon-32x32.png",
20+
},
21+
},
1022
"gatsby-plugin-styled-components",
1123
"gatsby-plugin-react-helmet",
1224
{
1325
resolve: "gatsby-source-filesystem",
1426
options: {
1527
path: `${__dirname}/src/pages`,
16-
name: "pages"
17-
}
28+
name: "pages",
29+
},
1830
},
1931
{
2032
resolve: "gatsby-source-filesystem",
2133
options: {
2234
path: `${__dirname}/static/img`,
23-
name: "images"
24-
}
35+
name: "images",
36+
},
2537
},
2638
{
2739
resolve: `gatsby-transformer-remark`,
@@ -32,19 +44,19 @@ module.exports = {
3244
options: {
3345
theme: `Tomorrow Night Eighties`, // From package.json: contributes.themes[0].label
3446
extensions: [
35-
`${__dirname}/ms-vscode.Theme-TomorrowKit-0.1.4.vsix`
36-
]
37-
}
47+
`${__dirname}/ms-vscode.Theme-TomorrowKit-0.1.4.vsix`,
48+
],
49+
},
3850
},
3951
{
4052
resolve: "gatsby-remark-external-links",
4153
options: {
4254
target: "_blank",
43-
rel: null
44-
}
45-
}
46-
]
47-
}
55+
rel: null,
56+
},
57+
},
58+
],
59+
},
4860
},
4961
{
5062
resolve: `gatsby-plugin-feed`,
@@ -64,13 +76,13 @@ module.exports = {
6476
feeds: [
6577
{
6678
serialize: ({ query: { site, allMarkdownRemark } }) => {
67-
return allMarkdownRemark.edges.map(edge => {
79+
return allMarkdownRemark.edges.map((edge) => {
6880
return Object.assign({}, edge.node.frontmatter, {
6981
description: edge.node.excerpt,
7082
date: edge.node.frontmatter.date,
7183
url: site.siteMetadata.siteUrl + edge.node.fields.slug,
7284
guid: site.siteMetadata.siteUrl + edge.node.fields.slug,
73-
custom_elements: [{ "content:encoded": edge.node.html }]
85+
custom_elements: [{ "content:encoded": edge.node.html }],
7486
});
7587
});
7688
},
@@ -97,11 +109,11 @@ module.exports = {
97109
`,
98110
output: "/rss.xml",
99111
title: "useHooks",
100-
link: "https://usehooks.com"
101-
}
102-
]
103-
}
112+
link: "https://usehooks.com",
113+
},
114+
],
115+
},
104116
},
105-
`gatsby-plugin-catch-links`
106-
]
117+
`gatsby-plugin-catch-links`,
118+
],
107119
};

mailchimp/index.js

Lines changed: 0 additions & 36 deletions
This file was deleted.

mailchimp/package.json

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)