This repository has been archived by the owner on Oct 26, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
gatsby-config.js
114 lines (113 loc) · 3.09 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
const proxy = require("http-proxy-middleware");
module.exports = {
siteMetadata: {
title: `Balance`,
description: `Welcome to the Open Financial System`,
longTitle: `Balance - The Open Financial System`,
author: `@balance_io`,
supportUrl: `http://support.balance.io/`,
managerUrl: `https://manager.balance.io/`,
appStoreUrl: `https://testflight.apple.com/join/02cARQQL`,
urls: [
{ url: "https://discord.gg/xCtf2wN", label: "Discord" },
{ url: "https://spectrum.chat/balance/meetups", label: "Meetups" },
{ url: "https://twitter.com/balance_io", label: "Twitter" },
{ url: "https://medium.com/balance-io", label: "Blog" },
{ url: "https://github.com/balance-io/", label: "GitHub" },
{ url: "https://spectrum.chat/balance", label: "Forum" }
],
tweets: [
"1106837450096164864",
"1025824390838136837",
"1080444794508361728",
"1059535647151517696",
"1025467226923528192"
],
integrations: [
{
name: "Maker Loans",
description:
"Track Collateralized Debt Positions you have opened to get a loan.",
link: "https://makerdao.com",
brand: "maker",
ready: true
},
{
name: "Compound Interest",
description: "See how much interest you have earned on your tokens.",
link: "https://compound.finance",
brand: "compound",
ready: true
},
{
name: "Dharma Loans",
description:
"See how much interest you are paying or earning with your debt.",
link: "https://dharma.io",
brand: "dharma",
ready: false
}
]
},
plugins: [
`gatsby-plugin-react-helmet`,
{
resolve: `gatsby-source-filesystem`,
options: {
name: `images`,
path: `${__dirname}/src/images`
}
},
{
resolve: `gatsby-plugin-google-analytics`,
options: {
trackingId: "UA-77954108-1",
head: true,
anonymize: true,
respectDNT: true,
cookieDomain: process.env.URL || "http://localhost:8000"
}
},
`gatsby-transformer-sharp`,
`gatsby-plugin-sharp`,
`gatsby-plugin-styled-components`,
{
resolve: `gatsby-plugin-mailchimp`,
options: {
endpoint: `https://balance.us11.list-manage.com/subscribe/post?u=a3f87e208a9f9896949b4f336&id=3985713da6`
}
},
{
resolve: `gatsby-plugin-intercom`,
options: {
appId: "j0fl7v0m",
includeInDevelopment: false
}
},
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `Balance`,
short_name: `Balance`,
start_url: `/`,
background_color: `#fff`,
theme_color: `#fff`,
display: `minimal-ui`,
icon: `src/images/balance-icon.png`
}
},
`gatsby-plugin-netlify-cache`,
`gatsby-plugin-netlify`
],
developMiddleware: app => {
app.use(
"/.netlify/functions/",
proxy({
target: "http://localhost:9000",
pathRewrite: {
"/.netlify/functions/": ""
}
})
);
}
};