-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgatsby-config.js
91 lines (90 loc) · 2.19 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
module.exports = {
siteMetadata: {
title: `IWD-21`,
description: `International's Women's Day `,
author: `@WTM_Algiers`,
siteUrl: "https://iwd21.wtmalgiers.org",
keywords: [
"WTM",
"IWD",
"Algiers",
"Algeria",
"Dev",
"Development",
"Technology",
"Technologies",
"Web",
"Mobile",
"Machine Learning",
"Information",
],
},
plugins: [
{
resolve: "gatsby-plugin-web-font-loader",
options: {
google: {
families: ["Cairo", "Open Sans", "Roboto", "Montserrat"],
},
},
},
`gatsby-plugin-styled-components`,
`gatsby-plugin-next-seo`,
"gatsby-plugin-robots-txt",
{
resolve: `gatsby-source-filesystem`,
options: {
name: `images`,
path: `${__dirname}/src/images`,
},
},
"gatsby-plugin-postcss",
{
resolve: "gatsby-plugin-purgecss",
options: {
tailwind: true,
purgeOnly: ["src/css/index.css"],
},
},
`gatsby-plugin-typescript`,
`gatsby-transformer-sharp`,
`gatsby-plugin-sharp`,
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `gatsby-tailwind-styled-components`,
short_name: `tailwindsc`,
start_url: `/`,
background_color: `#191C48`,
theme_color: `#191C48`,
display: `standalone`,
icon: `docs/logo.svg`, // This path is relative to the root of the site.
},
},
{
resolve: "gatsby-plugin-eslint",
options: {
test: /\.ts$|\.tsx$/,
exclude: /(node_modules|.cache|public)/,
stages: ["develop", "build-javascript"],
options: {
emitWarning: true,
failOnError: false,
},
},
},
{
resolve: `gatsby-plugin-google-fonts`,
options: {
fonts: [
`Poppins\:300,400,800`,
`source sans pro\:300,400,400i,700`, // you can also specify font weights and styles
],
display: "swap",
},
},
// this (optional) plugin enables Progressive Web App + Offline functionality
// To learn more, visit: https://gatsby.dev/offline
// `gatsby-plugin-offline`,
],
}