-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgatsby-config.js
69 lines (67 loc) · 2.2 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
require("dotenv").config({
path: `.env.${process.env.NODE_ENV}`,
})
module.exports = {
siteMetadata: {
title: `Mission Ridge Range & Academy DFW | Plano Gun Range`,
description: `Mission Ridge Range & Academy in Plano, Texas is opening soon to the public! Sign up to stay updated on DFW’s premiere gun range for all shooters.`,
author: `Mission Ridge Gun Range`,
},
plugins: [
{
resolve: `gatsby-source-filesystem`,
options: {
name: `images`,
path: `${__dirname}/static/images`,
},
},
`gatsby-plugin-netlify`,
`gatsby-plugin-react-helmet`,
{
resolve: "gatsby-plugin-mailchimp",
options: {
endpoint: process.env.MAILCHIMP_POST, // string; add your MC list endpoint here; see instructions below
timeout: 3500, // number; the amount of time, in milliseconds, that you want to allow mailchimp to respond to your request before timing out. defaults to 3500
},
},
`gatsby-plugin-image`,
`gatsby-image`,
`gatsby-plugin-sharp`,
`gatsby-transformer-sharp`,
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `Mission Ridge DFW`,
short_name: `mission-ridge`,
start_url: `https://missionridgedfw.com/`,
background_color: `#663399`,
theme_color: `#FF54AC`,
display: `minimal-ui`,
icon: `static/images/favicon.ico`, // This path is relative to the root of the site.
},
},
`gatsby-plugin-sass`,
{
resolve: "gatsby-omni-font-loader",
options: {
enableListener: true,
preconnect: ["https://fonts.gstatic.com"],
/* Font loading mode */
mode: "async",
web: [
{
file: "https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&display=swap",
name: "Open Sans",
},
{
file: "https://use.typekit.net/ujo8xej.css",
name: "Industry",
},
],
},
},
// this (optional) plugin enables Progressive Web App + Offline functionality
// To learn more, visit: https://gatsby.dev/offline
`gatsby-plugin-offline`,
],
}