-
Notifications
You must be signed in to change notification settings - Fork 0
/
gatsby-config.js
58 lines (54 loc) · 1.43 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
require("dotenv").config({
path: `.env.${process.env.NODE_ENV}`,
})
/**
* Configure your Gatsby site with this file.
*
* See: https://www.gatsbyjs.com/docs/gatsby-config/
*/
module.exports = {
/* Your site config here */
siteMetadata: {
title: "肯恩象醫生 | Dr.Eleken",
description:
"針對每一個獨一無二的孩子,打造專屬的治療計畫。分析造成孩子發育不良的根本原因,制定方案,而不單只以口腔或是牙齒的情況去處理。",
img: "src/assets/img/favicon.png",
author: "@CLA",
},
plugins: [
`gatsby-plugin-material-ui`,
`gatsby-transformer-sharp`,
`gatsby-plugin-sharp`,
`gatsby-plugin-react-helmet`,
{
resolve: `gatsby-source-filesystem`,
options: {
name: `image`,
path: `${__dirname}/src/assets/img`,
},
},
{
resolve: `gatsby-plugin-google-fonts`,
options: {
fonts: [
`Roboto\:300,400,700`,
`sans-serif\:300,400,700`, // you can also specify font weights and styles
],
display: "swap",
},
},
{
resolve: `gatsby-source-contentful`,
options: {
spaceId: `2u6spopzyagl`,
accessToken: process.env.CONTENTFUL_ACCESS_TOKEN,
},
},
{
resolve: `gatsby-plugin-env-variables`,
options: {
allowList: ["EMAILJS_USER_ID", "EMAILJS_TEMPLATE_ID", "EMAILJS_SERVICE_ID"]
},
},
],
};