forked from tomvej/vekzeleza-instruktori-cz
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gatsby-config.js
101 lines (100 loc) · 3.01 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
90
91
92
93
94
95
96
97
98
99
100
101
const sass = require('sass');
module.exports = {
siteMetadata: {
title: 'Věk železa',
description: 'Zažij 10 dní ve středověké vesničce',
author: 'Tvrz',
lang: 'cs',
year: 2021,
email: '[email protected]',
fbEvent: '760855861208372',
form: {
action: 'https://docs.google.com/forms/u/0/d/e/1FAIpQLSd2RZtTd8rq-lNkI2e2HtcjMCI3j_QlhbZyWEAsa9E454y2Ag/formResponse',
fields: {
name: 'entry.1094078680',
email: 'entry.1612418585',
message: 'entry.726464845',
}
},
summary: [
{label: 'Věk', value: '17\u201325'},
{label: 'Termín', value: '13.\u201322.\u00A08.\u00A02021'},
{label: 'Cena', value: '3500\u00A0Kč'},
],
},
plugins: [
{
resolve: `gatsby-plugin-google-gtag`,
options: {
// You can add multiple tracking ids and a pageview event will be fired for all of them.
trackingIds: [
'G-3YW3QH1VJT', // Google Analytics / GA
],
gtagConfig: {
anonymize_ip: true,
},
}
},
'gatsby-plugin-typegen',
'gatsby-plugin-react-helmet',
'gatsby-plugin-fontawesome-css',
'gatsby-transformer-sharp',
'gatsby-plugin-sharp',
{
resolve: 'gatsby-plugin-manifest',
options: {
name: 'Věk železa 13.\u201322.\u00A08.\u00A02021',
short_name: 'Věk železa',
description: 'Zažij 10 dní ve středověké vesničce',
start_url: '/',
background_color: '#f1d7b2',
theme_color: '#cd9b27',
display: 'minimal-ui',
icon: 'src/images/favicon.png',
},
},
{
resolve: 'gatsby-plugin-sass',
options: {
implementation: sass,
}
},
{
resolve: 'gatsby-transformer-remark',
options: {
plugins: ['remark-czech-preprocessor'],
},
},
{
resolve: 'gatsby-source-filesystem',
options: {
name: 'text',
path: `${__dirname}/src/text`,
},
},
{
resolve: 'gatsby-source-filesystem',
options: {
name: 'images',
path: `${__dirname}/src/images`,
},
},
{
resolve: 'gatsby-source-filesystem',
options: {
name: 'team',
path: `${__dirname}/src/team`,
},
},
{
resolve: 'gatsby-plugin-google-fonts',
options: {
fonts: [
'Proza Libre',
'MedievalSharp',
],
display: 'swap',
}
},
],
};