-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgatsby-config.ts
99 lines (96 loc) · 2.99 KB
/
gatsby-config.ts
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
import { GatsbyConfig } from 'gatsby';
const config: GatsbyConfig = {
siteMetadata: {
title: `xBank - Web3 and Cryptos All-In-One Portal`,
siteUrl: `https://www.xbank.plus`,
author: 'xBank',
description:
'xBank is the first Web3 and Crypto platform that takes you into the best Web3 projects & cryptos including NFT, Game, DAO, digital collectibles and Web3 community. ',
twitterUsername: `xBank_Official`,
keyword:
'best web 3 projects,web 3 benefits,web3 community,xbank3.0,xbank,xbank web3,xbank plus',
},
// More easily incorporate content into your pages through automatic TypeScript type generation and better GraphQL IntelliSense.
// If you use VSCode you can also use the GraphQL plugin
// Learn more at: https://gatsby.dev/graphql-typegen
graphqlTypegen: true,
plugins: [
'gatsby-plugin-styled-components',
'gatsby-plugin-image',
'gatsby-plugin-sharp',
'gatsby-transformer-sharp',
`gatsby-plugin-sass`,
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `xBank`,
short_name: `xBank`,
start_url: `/`,
background_color: `#f7f0eb`,
theme_color: `#a2466c`,
display: `standalone`,
icon: `src/images/favicon.png`,
},
},
{
resolve: `gatsby-alias-imports`,
options: {
aliases: {
'@': 'src',
},
},
},
{
resolve: 'gatsby-source-filesystem',
options: {
name: 'images',
path: './src/images/',
},
__key: 'images',
},
{
resolve: '@chakra-ui/gatsby-plugin',
options: {
/**
* @property {boolean} [resetCSS=true]
* if false, this plugin will not use `<CSSReset />
*/
resetCSS: true,
/**
* @property {boolean} [isUsingColorMode=true]
* if false, this plugin will not use <ColorModeProvider />
*/
isUsingColorMode: true,
// theme: theme,
},
},
// {
// resolve: `gatsby-source-filesystem`,
// options: {
// path: `${__dirname}/src/locales`,
// name: `locale`,
// },
// },
// {
// resolve: `gatsby-plugin-react-i18next`,
// options: {
// localeJsonSourceName: `locale`, // name given to `gatsby-source-filesystem` plugin.
// languages: [`en`, `zh`, `de`],
// defaultLanguage: `en`,
// // if you are using Helmet, you must include siteUrl, and make sure you add http:https
// // siteUrl: `https://example.com`,
// // if you are using trailingSlash gatsby config include it here, as well (the default is 'always')
// trailingSlash: 'always',
// // you can pass any i18next options
// i18nextOptions: {
// interpolation: {
// escapeValue: false, // not needed for react as it escapes by default
// },
// keySeparator: false,
// nsSeparator: false,
// },
// },
// },
],
};
export default config;