-
Notifications
You must be signed in to change notification settings - Fork 1
/
gatsby-config.js
108 lines (107 loc) · 3.42 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
/**
* Configure your Gatsby site with this file.
*
* See: https://www.gatsbyjs.com/docs/gatsby-config/
*/
module.exports = {
/* Site Metadata */
siteMetadata: {
title: `Greenlight`,
author: [
{
name: `Stephen Price`,
summary: `Fullstack Web Developer from Ecuador`,
github: `https://github.com/stephenlprice`,
portfolio: `https://stephenlprice.github.io/portfolio/index.html`,
},
{
name: `Trevor Smith`,
summary: `Fullstack Web Developer and Grammy nominated Musician`,
github: `https://github.com/trevorsmithbanjo`,
portfolio: `https://trevorsmithbanjo.github.io/#/`,
},
],
description: `A guerrilla data portal for analysts with deadlines.
Built with Gatsby and Tableau.`,
siteUrl: `https://api-guild.github.io/greenlight/`,
image: `/images/greenlight-sideways.png`,
siteLanguage: `en-US`,
},
pathPrefix: "/greenlight",
/* Your site config here */
plugins: [
{
resolve: `gatsby-source-filesystem`,
options: {
// important to change this path on your new site
path: `${__dirname}/content/docs/`,
},
},
'gatsby-plugin-svgr',
`gatsby-plugin-sass`,
{
resolve: `gatsby-source-filesystem`,
options: {
name: `docs`,
path: `${__dirname}/content/docs/`,
},
},
`gatsby-plugin-react-helmet`,
`gatsby-plugin-sharp`,
{
resolve: `gatsby-remark-images`,
// Known issue with .png files requires this plugin to be described twice
// https://github.com/gatsbyjs/gatsby/issues/25272#issuecomment-649571274
options: {
maxWidth: 700,
backgroundColor: `transparent`,
},
},
{
resolve: `gatsby-plugin-mdx`,
options: {
extensions: [`.mdx`, `.md`],
gatsbyRemarkPlugins: [
{
resolve: `gatsby-remark-images`,
options: {
backgroundColor: `transparent`,
// It's important to specify the maxWidth (in pixels) of
// the content container as this plugin uses this as the
// base for generating different widths of each image.
maxWidth: 700,
},
},
{
resolve: `gatsby-remark-vscode`,
options: {
theme: 'Monokai' // Or install your favorite theme from GitHub
}
},
],
},
},
`gatsby-plugin-sitemap`,
{
resolve: `gatsby-plugin-manifest`,
options: {
name: "Greenlight",
short_name: "Greenlight",
description: "Greenlight: a guerrilla data portal for analysts with deadlines",
start_url: "/",
background_color: "#0D0D0D",
theme_color: "#0DF2C1",
// Enables "Add to Homescreen" prompt and disables browser UI (including back button)
// see https://developers.google.com/web/fundamentals/web-app-manifest/#display
display: "minimal-ui",
icon: "src/assets/svg/greenlightFavicon.svg", // This path is relative to the root of the site.
// An optional attribute which provides support for CORS check.
// If you do not provide a crossOrigin option, it will skip CORS for manifest.
// Any invalid keyword or empty string defaults to `anonymous`
crossOrigin: `use-credentials`,
},
},
`gatsby-plugin-offline`,
`gatsby-plugin-fontawesome-css`,
],
}