-
Notifications
You must be signed in to change notification settings - Fork 0
/
gatsby-config.js
79 lines (77 loc) · 2.39 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
73
74
75
76
77
78
79
require("dotenv").config({
path: `.env.${process.env.NODE_ENV}`,
});
const theme = require("./theme")
module.exports = {
siteMetadata: {
title: `Chapter Three`,
description: `Why you want to work here We have a down-to-earth, unconventional company culture.
We embrace those with a passion for doing excellent work. Have a great idea?
We support team members who bring strong ideas to the table and run with them.
We’re looking for innovators who want to build their skills and grow with our Internet A-team.`,
author: ``,
twitterHandle:`@chapter_three`,
siteURL: `https://www.chapterthree.com/`,
twitter: `https://twitter.com/chapter_three`,
linkedin: `https://www.linkedin.com/company/chapter-three/`,
instagram: `https://www.instagram.com/chapter_three_sf/`,
facebook: `https://www.facebook.com/Ch.Three`,
},
plugins: [
{
resolve: 'gatsby-plugin-sass',
options: {
data: `@import "${__dirname}/src/css/global";`,
}
},
'gatsby-plugin-react-helmet',
'gatsby-plugin-react-svg',
`gatsby-transformer-sharp`,
`gatsby-plugin-catch-links`,
`gatsby-plugin-sharp`,
`gatsby-plugin-modal-routing`,
{
resolve: "gatsby-source-graphql",
options: {
typeName: "Drupal",
fieldName: "drupal",
url: `https://epic-gatsby-chapter-three-ci.pantheonsite.io/graphql/`
},
},
{
resolve: `gatsby-source-drupal`,
options: {
baseUrl: process.env.BASE_URL,
apiBase: `jsonapi`, // optional, defaults to `jsonapi`
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `images`,
path: `${__dirname}/src/images`,
},
},
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `Chapter Three`,
short_name: `chapterthree`,
start_url: `/`,
background_color: `#fff`,
theme_color: `#15616f`,
display: `minimal-ui`,
icon: `src/images/gatsby-icon.png`, // This path is relative to the root of the site.
},
},
{
resolve: 'gatsby-plugin-apollo',
options: {
uri: `https://epic-gatsby-chapter-three-ci.pantheonsite.io/graphql/`,
}
}
// this (optional) plugin enables Progressive Web App + Offline functionality
// To learn more, visit: https://gatsby.app/offline
// 'gatsby-plugin-offline',
],
}