-
Notifications
You must be signed in to change notification settings - Fork 0
/
gatsby-config.js
114 lines (113 loc) · 3.47 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
const path = require('path');
require('dotenv').config({
path: `.env`,
});
module.exports = {
siteMetadata: {
title: `nFront Ventures`,
siteUrl: `https://nfrontventures.com`,
description: `nFront Ventures - Provides capital and operational support to companies across various stages.`,
keywords: ``,
author: ``,
social: {
twitter: ``,
},
},
plugins: [
`gatsby-plugin-robots-txt`,
`gatsby-plugin-sitemap`,
{
resolve: `gatsby-source-filesystem`,
options: {
name: `team`,
path: `${__dirname}/src/images/team`,
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `testimonials`,
path: `${__dirname}/src/images/testimonials`,
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `art`,
path: `${__dirname}/src/images/art`,
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `logo`,
path: `${__dirname}/src/images/logos`,
},
},
// {
// resolve: `gatsby-source-filesystem`,
// options: {
// name: `slide`,
// path: `${__dirname}/src/images/slider`,
// },
// },
{
resolve: `gatsby-source-filesystem`,
options: {
name: `nfront`,
path: `${__dirname}/src/images/nfront`,
},
},
{
resolve: `gatsby-source-contentful`,
options: {
spaceId: process.env.CONTENTFUL_SPACE_ID,
accessToken: process.env.CONTENTFUL_ACCESS_TOKEN,
forceFullSync: true,
},
},
`gatsby-plugin-sass`,
`gatsby-plugin-svgr`,
`gatsby-plugin-styled-components`,
`gatsby-plugin-sharp`,
`gatsby-background-image`,
`gatsby-transformer-remark`,
`gatsby-transformer-sharp`,
{
resolve: `gatsby-plugin-typography`,
options: {
pathToConfigModule: `src/utils/typography`,
},
},
{
resolve: `gatsby-plugin-alias-imports`,
options: {
alias: {
'@components': path.resolve(__dirname, 'src/components'),
'@common': path.resolve(__dirname, 'src/components/common'),
'@images': path.resolve(__dirname, 'src/images'),
'@sections': path.resolve(
__dirname,
'src/components/sections'
),
'@styles': path.resolve(__dirname, 'src/styles/'),
'@utils': path.resolve(__dirname, 'src/utils/'),
'@static': path.resolve(__dirname, 'static/'),
},
},
},
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `nFront Ventures`,
short_name: `nFront`,
start_url: `/`,
background_color: `#0C1729`,
theme_color: `#0C1729`,
display: `minimal-ui`,
icon: `static/favicon.svg`,
},
},
'gatsby-plugin-offline',
],
};