This repository has been archived by the owner on Sep 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathgatsby-config.js
169 lines (166 loc) · 4.17 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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
module.exports = {
siteMetadata: {
title: `BioData Catalyst`,
shortTitle: `BDC`,
description: `BioData Catalyst serves as a cloud-based platform of tools, applications, and workflows to help NHLBI research investigators securely find, access, share, store, cross-link, and compute on large scale data sets,`,
author: `BioData Catalyst`,
keywords: [
"data",
"cloud",
"computing",
"research",
"platform",
"NIH",
"NHLBI",
"discovery",
"science",
"diagnostic tools",
"therapeutic options",
"prevention strategies",
"heart",
"lung",
"blood",
"sleep",
"disorders",
],
siteUrl: "https://biodatacatalyst.nhlbi.nih.gov/",
twitterUsername: "",
},
plugins: [
{
resolve: "gatsby-plugin-web-font-loader",
options: {
google: {
families: ["Montserrat:300,400,500,600"],
},
},
},
`gatsby-plugin-styled-components`,
`gatsby-plugin-react-helmet`,
`gatsby-transformer-json`,
{
resolve: `gatsby-source-filesystem`,
options: {
path: `${__dirname}/src/data/`,
},
},
`gatsby-transformer-yaml`,
{
resolve: `gatsby-source-filesystem`,
options: {
path: `${__dirname}/src/data/partners`,
name: "partners",
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
path: `${__dirname}/src/data/platforms`,
name: "platforms",
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
path: `./src/data/fellows`,
name: "fellows",
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
path: `./src/data/studies`,
name: "studies",
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
path: `./src/data/latest-updates`,
name: "latest-updates",
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
path: `./src/data/events`,
name: "events",
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
path: `./src/data/publications`,
name: "publications",
},
},
{ resolve: `gatsby-transformer-remark`,
options: {
plugins: [
{
resolve: `gatsby-remark-images`,
options: {
// 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: 1500,
},
},
]
}
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `images`,
path: `${__dirname}/src/images`,
},
},
`gatsby-transformer-sharp`,
`gatsby-plugin-sharp`,
{
resolve: "gatsby-plugin-react-svg",
options: {
rule: {
include: /service-ecosystem/,
},
},
},
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `biodata-catalyst`,
short_name: `bdc`,
start_url: `/`,
background_color: `#c1272d`,
theme_color: `#c1272d`,
display: `minimal-ui`,
icon: `src/images/favicon.png`, // This path is relative to the root of the site.
},
},
{
resolve: "gatsby-plugin-google-tagmanager",
options: {
id: "GTM-T5R9BX5J",
// Include GTM in development.
//
// Defaults to false meaning GTM will only be loaded in production.
includeInDevelopment: false,
// datalayer to be set before GTM is loaded
// should be an object or a function that is executed in the browser
//
// Defaults to null
defaultDataLayer: { platform: "gatsby" },
},
},
{
resolve: `gatsby-plugin-google-gtag`,
options: {
trackingIds: ["G-2M4JYYSBD3"],
},
},
// this (optional) plugin enables Progressive Web App + Offline functionality
// To learn more, visit: https://gatsby.dev/offline
// `gatsby-plugin-offline`,
],
};