-
Notifications
You must be signed in to change notification settings - Fork 0
/
gatsby-config.js
118 lines (117 loc) · 2.83 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
114
115
116
117
118
require(`dotenv`).config({
path: `.env`,
});
module.exports = {
siteMetadata: {
siteTitle: 'witoszek.dev',
siteTitleAlt: `Jonatan Witoszek personal website`,
siteDescription: 'Jonatan Witoszek personal website',
siteLanguage: 'en',
siteHeadline: 'Jonatan Witoszek personal website',
siteUrl: 'https://witoszek.dev',
author: '@witoszekdev',
siteAuthor: 'Jonatan Witoszek',
},
plugins: [
{
resolve: `@lekoarts/gatsby-theme-minimal-blog`,
options: {
navigation: [
{
title: `Blog`,
slug: `/blog`,
},
{
title: 'Projects',
slug: '/projects',
},
{
title: 'Contact Me',
slug: '/contact',
},
],
externalLinks: [
{
name: 'Github',
url: 'https://github.com/taniotanio7',
},
{
name: `Twitter`,
url: `https://twitter.com/witoszekdev`,
},
],
},
},
{
resolve: `gatsby-omni-font-loader`,
options: {
enableListener: true,
preconnect: [`https://fonts.gstatic.com`],
interval: 300,
timeout: 30000,
web: [
{
name: `IBM Plex Sans`,
file: `https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&display=swap`,
},
],
},
},
{
resolve: 'gatsby-source-filesystem',
options: {
name: 'projects',
path: `${__dirname}/content/projects`,
},
},
`gatsby-plugin-sitemap`,
`gatsby-plugin-theme-ui`,
`gatsby-plugin-offline`,
`gatsby-plugin-netlify`,
`gatsby-plugin-image`,
`gatsby-plugin-sharp`,
`gatsby-transformer-sharp`,
`gatsby-plugin-react-helmet`,
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `witoszek.dev – Jonatan Witoszek personal website`,
short_name: `witoszek.dev`,
description: `Personal blog of Jonatan Witoszek`,
start_url: `/`,
background_color: `#1A202C`,
theme_color: `#CBD5E0`,
display: `standalone`,
icon: 'static/favicon.svg',
icons: [
{
src: `/android-chrome-192x192.png`,
sizes: `192x192`,
type: `image/png`,
},
{
src: `/android-chrome-512x512.png`,
sizes: `512x512`,
type: `image/png`,
},
],
},
},
{
resolve: 'gatsby-plugin-mailgo',
options: {
mailgoConfig: {
dark: true,
},
},
},
{
resolve: 'gatsby-plugin-simple-analytics',
options: {
domain: 'sa.witoszek.dev',
trackPageViews: true,
},
},
// `gatsby-plugin-webpack-bundle-analyser-v2`,
],
};