-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy paththeme.config.js
More file actions
139 lines (135 loc) · 9.61 KB
/
theme.config.js
File metadata and controls
139 lines (135 loc) · 9.61 KB
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
import React from 'react'
import { useRouter } from 'next/router'
const Logo = ({ height }) => (
<svg height={height} viewBox="0 0 797 148" version="1.1">
<g
id="Artboard"
stroke="none"
strokeWidth="1"
fill="none"
fillRule="evenodd"
>
<g id="Empty-Set,-Black" transform="translate(8.000000, 7.000000)">
<path
d="M67.3,133.1 C30.6,133.1 0.8,103.3 0.8,66.6 C0.8,29.9 30.6,0.1 67.3,0.1 C104,0.1 133.8,29.9 133.8,66.6 C133.8,103.3 104,133.1 67.3,133.1 Z M67.3,12.9 C37.7,12.9 13.6,37 13.6,66.6 C13.6,96.2 37.7,120.3 67.3,120.3 C96.9,120.3 121,96.2 121,66.6 C121,37 96.9,12.9 67.3,12.9 Z"
id="Shape"
fill="#000000"
fillRule="nonzero"
></path>
<g id="Group" transform="translate(368.000000, 32.000000)">
<path
d="M35.6,12.4 C23.8,12.4 13.1,21.4 13.1,35.6 C13.1,50 24.8,58.3 35.6,58.3 C47.8,58.3 57.5,48.9 57.5,35.6 C57.4,22.3 47.8,12.4 35.6,12.4 Z"
id="Path"
></path>
<path
d="M10.6,0.7 L3.2,0.7 C1.8,0.7 0.7,1.8 0.7,3.2 L0.7,21.1 L0.7,90.5 C0.7,91.9 1.8,93 3.2,93 L10.6,93 C12,93 13.1,91.9 13.1,90.5 L13.1,65.1 C13.1,62.9 15.6,61.9 17.3,63.3 C22.3,67.7 29.4,70 36.9,70 C55.1,70 70,56.5 70,35.5 C70,14.6 54.9,0.8 36.7,0.8 C30.3,0.8 23.8,2.7 19,6.3 C16.6,8.1 13.1,6.3 13.1,3.3 L13.1,3.3 C13.1,1.8 12,0.7 10.6,0.7 Z M35.6,58.3 C24.8,58.3 13.1,49.9 13.1,35.6 C13.1,21.4 23.8,12.4 35.6,12.4 C47.8,12.4 57.5,22.3 57.5,35.6 C57.4,48.9 47.8,58.3 35.6,58.3 Z"
id="Shape"
fill="#000000"
fillRule="nonzero"
></path>
</g>
<path
d="M653.1,81.5 C653.1,87.2 650.6,92 645.6,96 C640.6,99.9 634.3,101.9 626.7,101.9 C620.1,101.9 614.3,100.2 609.3,96.7 C605.4,94 602.3,90.6 600.2,86.6 C599.2,84.8 600.1,82.4 602,81.6 L606.4,79.7 C608.1,79 610.1,79.7 611,81.3 C612.5,83.8 614.3,85.9 616.6,87.5 C619.7,89.7 623,90.8 626.7,90.8 C630.6,90.8 633.9,90 636.5,88.3 C639.1,86.6 640.5,84.6 640.5,82.3 C640.5,78.1 637.3,75 630.9,73.1 L619.6,70.3 C606.8,67.1 600.4,60.9 600.4,51.8 C600.4,45.8 602.8,41 607.7,37.4 C612.6,33.8 618.8,32 626.4,32 C632.2,32 637.5,33.4 642.1,36.2 C645.4,38.1 648,40.6 649.9,43.4 C651.2,45.3 650.4,47.9 648.3,48.8 L643.8,50.6 C642.3,51.2 640.6,50.8 639.6,49.5 C638.4,47.8 636.8,46.4 634.8,45.3 C632,43.7 628.8,43 625.4,43 C622.2,43 619.3,43.8 616.8,45.4 C614.3,47 613,49 613,51.3 C613,55.1 616.5,57.7 623.6,59.3 L633.5,61.8 C646.6,65 653.1,71.6 653.1,81.5 Z"
id="Path"
fill="#000000"
fillRule="nonzero"
></path>
<path
d="M205.1,101.7 C196.8,101.7 189.5,99.1 183,93.8 C180.7,92 178.7,89.8 177.1,87.5 C172.7,81.3 170.4,74.4 170.4,66.8 C170.4,58 173.3,50.3 179.2,43.5 C180.2,42.3 181.4,41.2 182.6,40.2 C189.2,34.7 196.7,32 205.1,32 C212.2,32 218.8,34.1 224.8,38.3 C227.3,40.1 229.6,42.2 231.5,44.5 C235.6,49.5 238.1,55.2 239.1,61.4 C239.6,63.7 239.8,65.9 239.7,67.9 C239.6,69.9 238,71.4 236.1,71.4 L183.1,71.4 C183.6,75.1 184.9,78.5 186.9,81.4 C188.9,84.3 191.6,86.5 194.7,88 C197.9,89.5 201.4,90.2 205.1,90.2 C209.1,90.2 212.9,89.4 216.5,87.6 C219.4,86.2 221.9,84.4 224,82.1 C224.9,81.1 226.2,80.8 227.5,81.1 L231.9,82.2 C234.4,82.8 235.5,85.8 233.9,87.9 C231.3,91.3 227.9,94.2 223.8,96.6 C217.9,100.1 211.7,101.7 205.1,101.7 Z M226.7,61.5 C226.2,58.2 224.9,55.1 222.9,52.3 C220.9,49.5 218.3,47.3 215.2,45.7 C212.1,44.1 208.7,43.3 204.9,43.3 C201.1,43.3 197.6,44.1 194.4,45.7 C191.3,47.3 188.7,49.5 186.7,52.3 C184.7,55.1 183.5,58.2 182.9,61.5 L226.7,61.5 Z"
id="Shape"
fill="#000000"
fillRule="nonzero"
></path>
<path
d="M696.3,101.9 C688,101.9 680.6,99.3 674.1,94 C671.8,92.2 669.8,90 668.1,87.6 C663.6,81.4 661.4,74.4 661.4,66.8 C661.4,58 664.3,50.2 670.2,43.4 C671.2,42.2 672.4,41.1 673.6,40.1 C680.3,34.6 687.8,31.8 696.2,31.8 C703.4,31.8 709.9,33.9 715.9,38.1 C718.4,39.9 720.7,42 722.6,44.4 C726.7,49.4 729.2,55.1 730.2,61.4 C730.7,63.7 730.9,65.9 730.8,68 C730.7,70 729.1,71.5 727.2,71.5 L674,71.5 C674.5,75.3 675.8,78.6 677.8,81.5 C679.8,84.4 682.5,86.6 685.7,88.1 C688.9,89.6 692.4,90.3 696.1,90.3 C700.1,90.3 703.9,89.4 707.5,87.7 C710.4,86.3 713,84.5 715,82.2 C715.9,81.2 717.2,80.9 718.5,81.2 L722.9,82.3 C725.4,82.9 726.5,85.9 724.9,88 C722.3,91.5 718.9,94.4 714.7,96.7 C709.1,100.3 702.9,101.9 696.3,101.9 Z M717.9,61.6 C717.4,58.3 716.1,55.2 714.1,52.4 C712.1,49.6 709.5,47.4 706.4,45.7 C703.3,44.1 699.8,43.3 696.1,43.3 C692.3,43.3 688.8,44.1 685.6,45.7 C682.4,47.3 679.9,49.5 677.9,52.4 C675.9,55.2 674.7,58.3 674.1,61.6 L717.9,61.6 Z"
id="Shape"
fill="#000000"
fillRule="nonzero"
></path>
<path
d="M327.8,32.7 C322.7,32.7 315.3,33.9 309.5,39.7 C306.9,42.3 302.7,42.2 300.1,39.6 C295.7,35.1 289.6,32.7 282.9,32.7 C276.8,32.7 271.1,34.6 266.9,37.8 C265,39.3 262.2,38 262.2,35.6 L262.2,35.5 C262.2,33.9 260.9,32.7 259.4,32.7 L252.7,32.7 C251.1,32.7 249.9,34 249.9,35.5 L249.9,97.5 C249.9,99.1 251.2,100.3 252.7,100.3 L259.4,100.3 C261,100.3 262.2,99 262.2,97.5 L262.2,61.8 C262.2,58.7 262.9,55.6 264.5,52.9 C268,47.1 274.1,44.6 280.3,44.6 C289.1,44.6 295.2,51.6 295.2,62.8 L295.2,97.6 C295.2,99.2 296.5,100.4 298,100.4 L304.7,100.4 C306.3,100.4 307.5,99.1 307.5,97.6 L307.5,66.7 C306.4,53.9 313.6,44.6 325.4,44.7 C335,44.7 341.1,51.8 341.1,62.9 L341.1,97.7 C341.1,99.3 342.4,100.5 343.9,100.5 L350.6,100.5 C352.2,100.5 353.4,99.2 353.4,97.7 L353.4,62.2 C353.4,43.5 344.4,32.7 327.8,32.7 Z"
id="Path"
fill="#000000"
fillRule="nonzero"
></path>
<g id="Group" transform="translate(735.000000, 9.000000)">
<path
d="M40.2,82 L39.1,81.4 C39.4,81.6 39.8,81.8 40.2,82 Z"
id="Path"
></path>
<path
d="M40.2,82 C39.3,79.4 37,80.3 37,80.3 L36.5,80.4 C35.5,80.6 34.5,80.8 33.4,80.8 C31.1,80.8 29.1,80 27.3,78.3 C25.5,76.6 24.6,73.5 24.6,68.8 L24.6,39.3 C24.6,37.9 25.8,36.7 27.2,36.7 L34.4,36.7 C35.8,36.7 37,35.5 37,34.1 L37,26.2 C37,24.8 35.8,23.6 34.4,23.6 L24.6,23.6 L24.6,22.1 L24.6,3.4 C24.6,2 23.4,0.8 22,0.8 L14.1,0.8 C12.7,0.8 11.5,2 11.5,3.4 L11.5,22.1 L11.5,23.6 L3,23.6 C1.6,23.6 0.4,24.8 0.4,26.2 L0.4,34.1 C0.4,35.5 1.6,36.7 3,36.7 L11.6,36.7 L11.6,37.1 L11.6,73 C11.7,79.3 13.6,84.1 17.4,87.6 C21.1,91.1 25.9,92.9 31.5,92.9 C34.9,92.9 38,92.6 40.7,91.9 C42.2,91.5 43,90 42.5,88.5 L40.2,82"
id="Path"
fill="#000000"
fillRule="nonzero"
></path>
</g>
<path
d="M552.9,32.8 C551.6,32.8 550.4,33.6 549.9,34.8 L531.3,80.9 L531,80.9 L512.9,37.2 C511.8,34.5 509.2,32.8 506.3,32.8 L506.3,32.8 L496.9,32.8 L473.2,32.8 L473.2,13.1 C473.2,11.3 471.7,9.8 469.9,9.8 L463.3,9.8 C461.5,9.8 460,11.3 460,13.1 L460,32.8 L449.2,32.8 C447.4,32.8 445.9,34.3 445.9,36.1 L445.9,42.6 C445.9,44.4 447.4,45.9 449.2,45.9 L456.7,45.9 C458.5,45.9 460,47.4 460,49.2 L460,81.8 C460.1,88.1 462,92.9 465.8,96.4 C469.5,99.9 474.3,101.7 479.9,101.7 C483,101.7 485.8,101.4 488.4,100.8 C490.3,100.4 491.3,98.4 490.7,96.5 L488.8,91.1 C488.2,89.5 486.6,88.6 485,89 L485,89 C484,89.2 483,89.4 481.9,89.4 C479.6,89.4 477.6,88.6 475.8,86.9 C474,85.2 473.1,82.1 473.1,77.4 L473.1,49.1 C473.1,47.3 474.6,45.8 476.4,45.8 L497.9,45.8 C500.7,45.8 503.3,47.5 504.4,50.1 L524,94.7 C524.4,95.6 524.4,96.5 524,97.4 L513.4,120.3 C512.4,122.5 514,124.9 516.4,124.9 L522.5,124.9 C523.8,124.9 525,124.1 525.5,122.9 L562.7,37.3 C563.6,35.1 562.1,32.7 559.7,32.7 L552.9,32.7 L552.9,32.8 Z"
id="Path"
fill="#000000"
fillRule="nonzero"
></path>
</g>
</g>
</svg>
)
const TITLE_WITH_TRANSLATIONS = {
'en-US': 'Decentralized, community-owned, collateral-efficient stablecoins',
'zh-CN': 'Decentralized, community-owned, collateral-efficient stablecoins',
'es-ES': 'Decentralized, community-owned, collateral-efficient stablecoins',
}
// theme.config.js
export default {
github: 'https://github.com/emptysetsquad/dollar', // link of the project repo
siteGithub: 'https://github.com/emptysetsquad/dollar-docs', // link of the docs repo path
titleSuffix: ' – Empty Set',
nextLinks: true,
prevLinks: true,
search: true,
customSearch: null, // <- customizable, you can use algolia for example
darkMode: true,
footer: true,
footerText: 'MIT 2020 ©',
footerEditOnGitHubLink: true, // will link to the docs repo
logo: () => {
const { locale } = useRouter()
return (
<>
<Logo height={30} />
<span style={{ paddingLeft: 10, marginBottom: -2 }}>
{TITLE_WITH_TRANSLATIONS[locale]}
</span>
</>
)
},
head: (
<React.Fragment>
<link rel="icon" type="image/png" sizes="16x16" href="/icon.png" />
<meta name="msapplication-TileColor" content="#ffffff" />
<meta name="theme-color" content="#ffffff" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta httpEquiv="Content-Language" content="en" />
<meta
name="description"
content="Documentation for the Empty Set protocol, a decentralized, community owned stablecoin for DeFi"
/>
<meta
name="og:description"
content="Documentation for the Empty Set protocol, a decentralized, community owned stablecoin for DeFi"
/>
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:site" content="@emptysetprotocol" />
<meta name="og:title" content="Empty Set - Documentation" />
<meta
name="apple-mobile-web-app-title"
content="Empty Set - Documentation"
/>
</React.Fragment>
),
i18n: [
{ locale: 'en-US', text: 'English' },
{ locale: 'es-ES', text: 'Español' },
{ locale: 'zh-CN', text: '简体中文' },
],
}