-
Notifications
You must be signed in to change notification settings - Fork 0
/
gatsby-config.js
89 lines (89 loc) · 2.61 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
module.exports = {
siteMetadata: {
title: `Adventure Photographer & Freelance Frontend Developer, Madrid - Sid Mantri`,
description: `Hi, I'm Siddharth Mantri! Based out of Madrid, I'm always interested in taking on new and interesting projects.
Design, Technology and Photography have always been the heart of all my interests.`,
author: `Siddharth Mantri`,
siteUrl: `https://www.sidmantri.com`,
},
plugins: [
`gatsby-plugin-typescript`,
`gatsby-plugin-react-helmet`,
`gatsby-plugin-styled-components`,
{
resolve: `gatsby-source-filesystem`,
options: {
name: `images`,
path: `${__dirname}/src/images`,
},
},
`gatsby-transformer-sharp`,
`gatsby-plugin-sharp`,
{
resolve: `gatsby-plugin-webfonts`,
options: {
fonts: {
google: [
{
family: `Montserrat`,
variants: [`400`, `500`, `700`, `900`],
},
{
family: `Hind`,
variants: [`400`, `500`, `600`, `700`],
},
{
family: `Merriweather`,
variants: [`400`, `700`, `900`],
},
],
},
},
},
{
resolve: `gatsby-plugin-google-analytics`,
options: {
// The property ID; the tracking code won't be generated without it
trackingId: "UA-163716709-1",
// Defines where to place the tracking script - `true` in the head and `false` in the body
head: false,
anonymize: true,
respectDNT: true,
exclude: ["http://localhost*"],
// Delays sending pageview hits on route update (in milliseconds)
pageTransitionDelay: 0,
cookieDomain: "sidmantri.com",
},
},
`gatsby-plugin-transition-link`,
{
resolve: `gatsby-source-instagram`,
options: {
type: `account`,
username: `siddharthmantri`,
},
},
`gatsby-plugin-sitemap`,
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `Freelance Frontend Developer & UI/UX Designer, Madrid - Sid Mantri`,
short_name: `Sid Mantri - Madrid`,
start_url: `/`,
background_color: `#ffffff`,
theme_color: `#ffffff`,
display: `standalone`,
icon: `src/images/favicon-32x32.png`,
},
},
{
resolve: `gatsby-plugin-offline`,
options: {
precachePages: [`/`, `/gallery`],
},
},
// this (optional) plugin enables Progressive Web App + Offline functionality
// To learn more, visit: https://gatsby.dev/offline
// `gatsby-plugin-offline`,
],
}