-
Notifications
You must be signed in to change notification settings - Fork 0
/
gatsby-config.js
72 lines (69 loc) · 1.82 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
module.exports = {
siteMetadata: {
siteUrl: 'https://ltatarev.github.io/',
author: 'Lucija Tatarević',
title: 'Lucija Tatarević',
description: 'personal landing page built with gatsbyjs',
image:
'https://user-images.githubusercontent.com/38048916/200418641-5b4c86bb-d495-4367-8515-1bbe758b73d4.png',
},
plugins: [
'gatsby-plugin-sitemap',
'gatsby-plugin-image',
{
resolve: 'gatsby-source-filesystem',
options: {
name: 'images',
path: `${__dirname}/src/images`,
},
},
'gatsby-transformer-sharp',
{
resolve: 'gatsby-plugin-sharp',
options: {
defaults: {
formats: ['auto', 'webp'],
placeholder: 'blurred',
quality: 100,
breakpoints: [750, 1080, 1366, 1920],
backgroundColor: 'transparent',
tracedSVGOptions: {},
blurredOptions: {},
jpgOptions: {},
pngOptions: {},
webpOptions: {},
avifOptions: {},
},
},
},
{
resolve: 'gatsby-plugin-manifest',
options: {
icon: 'src/images/icon.png',
theme_color: '#ca718d',
},
},
{
resolve: 'gatsby-plugin-google-tagmanager',
options: {
id: 'GTM-P7LZB6D',
// Include GTM in development.
//
// Defaults to false meaning GTM will only be loaded in production.
includeInDevelopment: false,
// datalayer to be set before GTM is loaded
// should be an object or a function that is executed in the browser
//
// Defaults to null
defaultDataLayer: { platform: 'gatsby' },
},
},
{
resolve: 'gatsby-plugin-google-fonts',
options: {
fonts: ['DM Sans:300,400,400i,600,700,800'],
display: 'swap',
},
},
],
};