-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgatsby-config.js
60 lines (58 loc) · 1.76 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
/**
* Configure your Gatsby site with this file.
*
* See: https://www.gatsbyjs.com/docs/gatsby-config/
*/
require("dotenv").config({
path: `.env.${process.env.NODE_ENV}`,
})
module.exports = {
/* Your site config here */
siteMetadata: {
title: "Jane Moroz · Portfolio",
description:
"Jane Moroz is a web developer, who is passionate about technology, learning new things and creating truly beautiful, efficient and accessible digital products.",
author: {
name: "Jane Moroz",
minibio:
"<strong>Jane Moroz</strong> is a web developer, who is passionate about technology, learning new things and creating truly beautiful, efficient and accessible digital products. She's also interested in web design , and an advocate of building not only efficient but user-friendly and appealing websites and mobile apps.",
},
canonicalUrl: "https://jane-moroz-dev.netlify.app",
image: "/og.png",
social: {
twitter: "@jane_moroz",
},
},
plugins: [
`gatsby-plugin-smoothscroll`,
{ resolve: `gatsby-plugin-styled-components` },
`gatsby-plugin-image`,
`gatsby-plugin-sharp`,
`gatsby-transformer-sharp`,
{
resolve: `gatsby-plugin-google-fonts`,
options: {
fonts: [
`fascinate\:400`,
`montserrat\:300,400,500`, // you can also specify font weights and styles
],
display: "swap",
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `images`,
path: `${__dirname}/src/assets/images`,
},
},
{
resolve: `gatsby-source-contentful`,
options: {
spaceId: `8ob81zn6fpmb`,
accessToken: process.env.CONTENTFUL_API_KEY,
},
},
`gatsby-plugin-react-helmet`,
],
}