-
Notifications
You must be signed in to change notification settings - Fork 2
/
gatsby-config.js
106 lines (106 loc) · 2.25 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
module.exports = {
siteMetadata: {
title: 'Millen Enterprises',
menu: [
{
key: 'home',
title: 'Home',
url: '#home',
},
{
key: 'about',
title: 'About',
url: '#about',
},
{
key: 'product',
title: 'Products',
url: '#products',
},
{
key: 'contact',
title: 'Contact',
url: '#contact',
},
],
},
plugins: [
'gatsby-plugin-react-helmet',
{
resolve: 'gatsby-plugin-sass',
options: {
cssLoaderOptions: {
camelCase: false,
},
},
},
'gatsby-plugin-sharp',
'gatsby-transformer-sharp',
'gatsby-transformer-remark',
{
resolve: 'gatsby-plugin-eslint',
options: {
test: /\.js$|\.jsx$/,
exclude: /(node_modules|cache|public)/,
options: {
emitWarning: true,
failOnError: false,
},
},
},
{
resolve: 'gatsby-source-filesystem',
options: {
name: 'banners',
path: `${__dirname}/src/assets/images/banners`,
},
},
{
resolve: 'gatsby-source-filesystem',
options: {
name: 'client-logos',
path: `${__dirname}/src/assets/images/clients`,
},
},
{
resolve: 'gatsby-source-filesystem',
options: {
name: 'products',
path: `${__dirname}/products`,
},
},
'gatsby-transformer-yaml',
{
resolve: 'gatsby-plugin-modal-routing',
options: {
modalProps: {
style: {
overlay: {
position: 'fixed',
top: 0,
left: 0,
right: 0,
bottom: 0,
backgroundColor: 'rgba(0, 0, 0, 0.75)',
zIndex: 99999,
},
content: {
position: 'absolute',
border: 'none',
background: 'none',
padding: 0,
top: 0,
bottom: 0,
right: 0,
left: 0,
overflow: 'auto',
WebkitOverflowScrolling: 'touch',
},
},
contentLabel: 'Modal',
},
},
},
],
pathPrefix: '/millenenterprises.com',
};