-
Notifications
You must be signed in to change notification settings - Fork 79
/
gatsby-config.js
68 lines (66 loc) · 1.64 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
const defaultTheme = require("tailwindcss/defaultTheme");
const { theme } = require("./src/theme/theme");
const tailwindQueries = {
xs: `(max-width: ${defaultTheme.screens.xs})`,
sm: `(max-width: ${defaultTheme.screens.sm})`,
md: `(max-width: ${defaultTheme.screens.md})`,
lg: `(max-width: ${defaultTheme.screens.lg})`,
xl: `(max-width: ${defaultTheme.screens.xl})`,
portrait: "(orientation: portrait)",
};
module.exports = {
siteMetadata: {
siteUrl: `https://spacebudz.io`,
},
plugins: [
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `SpaceBudz`,
short_name: `SpaceBudz`,
description:
"Let's go on an adventure, where will your SpaceBudz take you?",
start_url: `/`,
background_color: `#ffffff`,
theme_color: theme.colors.primary,
display: `standalone`,
icon: "src/images/icon.png",
},
},
"gatsby-plugin-image",
"gatsby-plugin-react-helmet",
"gatsby-plugin-sitemap",
"gatsby-plugin-sharp",
"gatsby-transformer-sharp",
{
resolve: `gatsby-plugin-ts`,
options: {
codegen: false,
},
},
{
resolve: "gatsby-source-filesystem",
options: {
name: "images",
path: "./src/images/",
},
__key: "images",
},
`gatsby-plugin-postcss`,
{
resolve: "gatsby-plugin-breakpoints",
options: {
queries: tailwindQueries,
},
},
"gatsby-plugin-use-query-params",
`gatsby-transformer-json`,
{
resolve: `gatsby-source-filesystem`,
options: {
name: "data",
path: `./src/data/`,
},
},
],
};