forked from GDG-Nantes/Devfest2022
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gatsby-config.js
113 lines (112 loc) · 2.6 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
102
103
104
105
106
107
108
109
110
111
112
113
module.exports = {
siteMetadata: {
siteUrl: "https://devfest.gdgnantes.com",
title: "Devfest Nantes 2022",
image: "/images/social-share.jpg",
},
plugins: [
"gatsby-plugin-typescript",
"gatsby-theme-material-ui",
"gatsby-plugin-sass",
"gatsby-plugin-image",
"gatsby-plugin-graphql-config",
{
resolve: `gatsby-theme-i18n`,
options: {
defaultLang: `fr`,
configPath: require.resolve(`./locales/config.json`),
prefixDefault: false,
},
},
{
resolve: `gatsby-theme-i18n-react-i18next`,
options: {
locales: `./locales`,
i18nextOptions: {
ns: ["translation"],
},
},
},
{
resolve: "gatsby-plugin-google-gtag",
options: {
trackingIds: ["G-D66NP8CLV0"],
},
},
"gatsby-plugin-react-helmet",
"gatsby-plugin-sitemap",
{
resolve: "gatsby-plugin-manifest",
options: {
icon: "static/images/favicon.jpg",
icon_options: {
purpose: `any maskable`,
},
name: `Devfest Nantes 2022`,
short_name: `Devfest Nantes`,
start_url: `/`,
background_color: `#ffedbf`,
theme_color: `#ffedbf`,
display: `minimal-ui`,
description: `Informations générales sur le Devfest Nantes`,
lang: `fr`,
localize: [
{
start_url: `/en/`,
lang: `en`,
name: `Devfest Nantes 2022`,
short_name: `Devfest Nantes`,
description: `General informations about the Devfest Nantes.`,
},
],
},
},
"gatsby-plugin-offline",
{
resolve: `gatsby-plugin-mdx`,
options: {
defaultLayouts: {
default: require.resolve("./src/layout/mdx.tsx"),
},
},
},
{
resolve: "gatsby-plugin-page-creator",
options: {
path: `${__dirname}/src/pages`,
},
},
"gatsby-plugin-sharp",
"gatsby-transformer-sharp",
{
resolve: "gatsby-source-filesystem",
options: {
name: "images",
path: "./src/images/",
},
__key: "images",
},
{
resolve: "gatsby-source-filesystem",
options: {
name: "pages",
path: "./src/pages/",
},
__key: "pages",
},
`gatsby-transformer-yaml`,
{
resolve: `gatsby-source-filesystem`,
options: {
path: `./data/`,
},
},
// {
// resolve: `gatsby-plugin-remote-images`,
// options: {
// nodeType: "SpeakersYaml",
// imagePath: "photoUrl",
// },
// },
],
};