-
Notifications
You must be signed in to change notification settings - Fork 2
/
gatsby-config.js
72 lines (72 loc) · 1.92 KB
/
gatsby-config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
module.exports = {
siteMetadata: {
siteUrl: `https://www.pwa-shields.com`, // for gatsby-plugin-sitemap
title: `PWA Shields`,
description: `Personalize your app's README with custom, fun, PWA shields in SVG`,
},
plugins: [
`gatsby-plugin-react-helmet`,
`gatsby-transformer-sharp`,
`gatsby-plugin-sharp`,
`gatsby-plugin-sitemap`,
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `PWA Shields`,
short_name: `PWA Shields`,
start_url: `/`,
background_color: `#353A3F`,
theme_color: `#353A3F`,
display: `standalone`,
icon: `static/images/favicon.svg`,
description: `Personalize your app's README with custom, fun, PWA shields in SVG`,
features: [
"Create & customize shields",
"View documentation",
"No network connection needed",
],
screenshots: [
{
src:
"https://www.pwa-shields.com/images/screenshots/home-screen.png",
},
{
src: "https://www.pwa-shields.com/images/screenshots/series.png",
},
{
src: "https://www.pwa-shields.com/images/screenshots/create.png",
},
],
},
},
`gatsby-plugin-offline`,
{
resolve: "gatsby-plugin-google-analytics",
options: {
trackingId: "G-K9ZMDNM4F7",
},
},
{
resolve: "gatsby-plugin-google-tagmanager",
options: {
id: "GTM-WF9BBDH",
includeInDevelopment: false,
},
},
{
resolve: "gatsby-plugin-robots-txt",
options: {
host: "https://www.pwa-shields.com",
sitemap: "https://www.pwa-shields.com/sitemap.xml",
policy: [{ userAgent: "*", allow: "/" }],
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `images`,
path: `${__dirname}/src/images/`,
},
},
],
}