-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgatsby-config.js
75 lines (73 loc) · 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
70
71
72
73
74
75
require("dotenv").config();
const { spaceId, accessToken, snipcart, websiteId } = process.env;
module.exports = {
siteMetadata: {
title: `Wilson Biker Gear`,
description: `We've been in the business for over 40 years selling motorcycle rider's apparel, accessories and providing sewing services`,
author: `DanielJS`,
},
plugins: [
`gatsby-plugin-react-helmet-async`,
{
resolve: `gatsby-plugin-scroll-indicator`,
options: {
color: '#ffffff',
height: '3px',
zIndex: `9999`,
},
},
{
resolve: `gatsby-plugin-layout`,
options: {
component: require.resolve(`./src/components/layout.js`),
},
},
// {
// resolve: 'gatsby-plugin-crisp-chat',
// options: {
// websiteId,
// enableDuringDevelop: true, // Optional. Disables Crisp Chat during gatsby develop. Defaults to true.
// defer: true, // Optional. Sets the Crisp loading script to defer instead of async. Defaults to false.
// enableImprovedAccessibility: true // Optional. Sets aria-label attribute on pop-up icon for screen readers. Defaults to true.
// },
// },
{
resolve: `gatsby-source-filesystem`,
options: {
name: `images`,
path: `${__dirname}/src/images`,
},
},
`gatsby-transformer-sharp`,
`gatsby-plugin-sharp`,
`gatsby-transformer-remark`,
`gatsby-plugin-catch-links`,
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `Wilson Bike Supply`,
short_name: `Wilson Bike Supply`,
start_url: `/`,
background_color: `#000000`,
theme_color: `#000000`,
display: `minimal-ui`,
icon: `src/images/logo.png`,
},
},
{
resolve: "gatsby-source-contentful",
options: {
spaceId,
accessToken
}
},
{
resolve: "gatsby-plugin-snipcartv3",
options: {
apiKey: snipcart,
autopop: true,
language: null
},
},
],
}