-
Notifications
You must be signed in to change notification settings - Fork 5
/
gatsby-config.js
159 lines (159 loc) · 5.33 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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
module.exports = {
siteMetadata: {
author: 'Greymass',
title: 'Greymass',
defaultLanguage: 'en',
description: 'An eosio block producer creating solutions for the age of the distributed ledger. Projects include Anchor, Fuel, ESR and more.',
officialEmail: '[email protected]',
officialAddress: 'Suite 1700 - 1185 West Georgia Street, Vancouver BC V6E 4E6, Canada',
localesWithBlog: ['en'],
links: {
github: 'https://github.com/greymass/',
twitter: 'https://twitter.com/greymass',
telegram: 'https://t.me/greymass',
forums: 'https://forums.eoscommunity.org/c/greymass/6',
devForums: 'https://forums.eoscommunity.org/c/eosio-development/anchor-link/7',
steem: 'https://steemit.com/@greymass',
reddit: 'https://www.reddit.com/user/greymass',
youtube: 'https://www.youtube.com/channel/UCKUIgioqwxJhZFUTdSPCAGA',
},
anchor: {
androidDownloadUrl: 'https://play.google.com/store/apps/details?id=com.greymass.anchor',
desktopReleaseDate: '2021/10/21',
desktopVersion: '1.3.2',
iosDownloadUrl: 'https://apps.apple.com/us/app/anchor-wallet/id1487410877',
iosReleaseDate: '2021/05/04',
iosVersion: '1.2.2',
linuxDownloadUrl: 'https://github.com/greymass/anchor/releases',
macDownloadUrl: 'https://github.com/greymass/anchor/releases/download/v1.3.2/mac-anchor-wallet-1.3.2-x64.dmg',
windowsDownloadUrl: 'https://github.com/greymass/anchor/releases/download/v1.3.2/win-anchor-wallet-1.3.2.exe',
}
},
plugins: [
{
resolve: 'gatsby-plugin-webfonts',
options: {
fonts: {
google: [
{
family: `Montserrat`,
variants: [`600`]
// subsets: [`latin`],
},
{
family: `Roboto`,
variants: [`400`, `700`],
// subsets: [`latin`],
},
{
family: `Poppins`,
variants: [`400`, `700`]
},
],
}
},
},
`gatsby-transformer-json`,
{
resolve: `gatsby-source-filesystem`,
options: {
path: `${__dirname}/src/data`,
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: 'blog',
path: `${__dirname}/src/pages/blog`,
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: 'website',
path: `${__dirname}/src/pages/website`,
},
},
{
resolve: `gatsby-transformer-remark`,
options: {
query: `
{
allMarkdownRemark(filter: { sourceInstanceName: { eq: "blog" } }) {
edges {
node {
fields {
slug,
langKey
}
}
}
}
}
`,
plugins: [
{
resolve: `gatsby-remark-images`,
options: {
maxWidth: 590,
},
},
{
resolve: `gatsby-remark-responsive-iframe`,
options: {
wrapperStyle: `margin-bottom: 1.0725rem`,
},
},
{
resolve: `gatsby-remark-vscode`,
options: {
theme: 'Dark (Visual Studio)', // Read on for list of included themes. Also accepts object and function forms.
wrapperClassName: '', // Additional class put on 'pre' tag. Also accepts function to set the class dynamically.
injectStyles: true, // Injects (minimal) additional CSS for layout and scrolling
extensions: [], // Third-party extensions providing additional themes and languages
languageAliases: {}, // Map of custom/unknown language codes to standard/known language codes
replaceColor: x => x, // Function allowing replacement of a theme color with another. Useful for replacing hex colors with CSS variables.
getLineClassName: ({ // Function allowing dynamic setting of additional class names on individual lines
content, // - the string content of the line
index, // - the zero-based index of the line within the code fence
language, // - the language specified for the code fence
meta // - any options set on the code fence alongside the language (more on this later)
}) => '',
logLevel: 'info' // Set to 'info' to debug if something looks wrong
}
}
],
},
},
{
resolve: `gatsby-plugin-intl`,
options: {
path: `${__dirname}/src/intl/build`,
languages: [
`en`,
// `fr`
],
defaultLanguage: `en`,
redirect: true,
redirectComponent: require.resolve(`./src/components/redirect.js`),
},
},
`gatsby-plugin-remove-serviceworker`,
{
resolve: `gatsby-source-filesystem`,
options: {
name: `images`,
path: `${__dirname}/src/images`,
},
},
`gatsby-plugin-sharp`,
`gatsby-transformer-sharp`,
`gatsby-plugin-react-helmet`,
// {
// resolve: `gatsby-plugin-typography`,
// options: {
// pathToConfigModule: `src/utils/typography`,
// },
// },
],
}