-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathgatsby-config.js
67 lines (65 loc) · 1.63 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
/**
* Configure your Gatsby site with this file.
*
* See: https://www.gatsbyjs.org/docs/gatsby-config/
*/
require("dotenv").config({
path: `.env.${process.env.NODE_ENV}`,
})
module.exports = {
siteMetadata: {
title: `POW! — Take charge of your menstrual cycle`,
description: `Get to know your cycle, using your own words without worrying that the data will end up in the hands of Facebook.`,
twitter: "@raae",
image: "https://www.usepow.app/some.png",
},
plugins: [
`gatsby-plugin-react-helmet`,
{
resolve: `gatsby-plugin-material-ui`,
},
{
resolve: `gatsby-plugin-page-creator`,
options: {
path: `${__dirname}/src/pages`,
},
},
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `POW!`,
short_name: `POW!`,
start_url: `/`,
background_color: `#fafafa`,
theme_color: `#e53935`,
display: `standalone`,
icon: "static/icon.png",
},
},
{
resolve: `gatsby-plugin-netlify`,
options: {
headers: {
"/manifest.webmanifest": [
// Requirement of Blockstack
"Access-Control-Allow-Origin: *",
],
"/manifest.json": [
// Copy of manifest for Dappity
"Access-Control-Allow-Origin: *",
],
},
},
},
{
resolve: `@raae/gatsby-plugin-fathom`,
options: {
site: process.env.FATHOM_SITE,
includedDomains: process.env.FATHOM_INCLUDED_DOMAINS || "my.usepow.app",
loadType: "defer",
},
},
`gatsby-plugin-image`,
`gatsby-plugin-sharp`,
],
}