-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgatsby-config.js
62 lines (62 loc) · 1.35 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
module.exports = {
siteMetadata: {
title: `Joseph Sintum`,
description: `My portfolio`,
author: `@josephsintum`,
siteUrl: `https://josephsintum.now.sh/`,
},
plugins: [
`gatsby-plugin-typescript`,
`gatsby-plugin-styled-components`,
`gatsby-plugin-react-helmet`,
{
resolve: `gatsby-source-filesystem`,
options: {
name: `images`,
path: `${__dirname}/src/images`,
},
},
`gatsby-transformer-sharp`,
`gatsby-plugin-sharp`,
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `Joseph Sintum`,
short_name: `porfolio`,
start_url: `/`,
background_color: `#3b5bdb`,
theme_color: `#3b5bdb`,
display: `minimal-ui`,
icon: `src/images/logo.png`,
},
},
{
resolve: `gatsby-plugin-sitemap`,
options: {
output: `/sitemap.xml`,
exclude: ["/404/*"],
},
},
{
resolve: `gatsby-plugin-google-analytics`,
options: {
trackingId: "XXXXXXXX",
head: false,
respectDNT: true,
},
},
{
resolve: `gatsby-plugin-google-fonts`,
options: {
fonts: [
`Space Mono\:400,400i,700,700i`,
`Nunito Sans\:300,300i,400,400i,600,600i,700,700i,800,800i,900,900i`,
],
display: "swap",
},
},
// this (optional) plugin enables Progressive Web App + Offline functionality
// To learn more, visit: https://gatsby.dev/offline
// `gatsby-plugin-offline`,
],
}