-
Notifications
You must be signed in to change notification settings - Fork 0
/
gatsby-config.js
49 lines (48 loc) · 1.51 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
require('dotenv').config();
module.exports = {
siteMetadata: {
title: `Ten Brushes Gallery`,
description: `An art gallery demoing the use of Gatsby-Transformer-Cloudinary`,
author: `William Imoh`,
},
plugins: [
`gatsby-plugin-react-helmet`,
{
resolve: `gatsby-source-filesystem`,
options: {
name: `cloudinary-images`,
path: `${__dirname}/src/cloudinary-images`,
}
},
{
resolve: 'gatsby-transformer-cloudinary',
options: {
cloudName: process.env.CLOUDINARY_CLOUD_NAME,
apiKey: process.env.CLOUDINARY_API_KEY,
apiSecret: process.env.CLOUDINARY_API_SECRET,
uploadFolder: 'gtc-art-gallery',
},
},
{
resolve: `gatsby-plugin-chakra-ui`,
options: {
isUsingColorMode: true,
}
},
`gatsby-transformer-sharp`,
`gatsby-plugin-sharp`,
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `Ten Brushes Gallery`,
short_name: `Ten Brushes`,
start_url: `/`,
background_color: `#082254`,
theme_color: `#082254`,
display: `fullscreen`,
icon: `src/images/tbg-image.png`, // This path is relative to the root of the site.
},
},
`gatsby-plugin-offline`,
],
}