Skip to content
This repository was archived by the owner on May 5, 2021. It is now read-only.

Commit 9852591

Browse files
committed
Footer updated
1 parent a63df89 commit 9852591

File tree

5 files changed

+1335
-41
lines changed

5 files changed

+1335
-41
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oasis-dex",
3-
"version": "1.5.6",
3+
"version": "1.5.7",
44
"private": true,
55
"dependencies": {
66
"autoprefixer": "7.1.2",

public/OasisToS.pdf

129 KB
Binary file not shown.

src/containers/OasisFooter.jsx

+36-32
Original file line numberDiff line numberDiff line change
@@ -13,42 +13,46 @@ const propTypes = PropTypes && {
1313

1414

1515
const sections = [
16-
// {
17-
// header: "Information",
18-
// links: [
19-
// {
20-
// label: 'Documentation',
21-
// url: 'https://github.com/MakerDAO/maker-market/wiki',
22-
// },
23-
// {
24-
// label: 'Market Data',
25-
// url: 'https://makerdao.github.io/markets/',
26-
// },
27-
// ]
28-
// },
29-
// {
30-
// header: "MakerDAO",
31-
// links: [
32-
// {
33-
// label: 'Chat',
34-
// url: 'https://chat.makerdao.com/',
35-
// },
36-
// {
37-
// label: 'Reddit',
38-
// url: 'https://www.reddit.com/r/MakerDAO/',
39-
// },
40-
// ]
41-
// },
4216
{
43-
header: "OasisDex",
17+
// header: "Information",
4418
links: [
4519
{
46-
label: 'Report Issues',
47-
url: 'https://github.com/OasisDEX/oasis/issues/new',
20+
label: 'Project',
21+
url: 'https://github.com/OasisDEX/oasis-react',
4822
},
23+
// {
24+
// label: 'Documentation',
25+
// url: 'https://github.com/MakerDAO/maker-market/wiki',
26+
// },
27+
// {
28+
// label: 'Market Data',
29+
// url: 'https://makerdao.github.io/markets/',
30+
// },
31+
]
32+
},
33+
{
34+
// header: "MakerDAO",
35+
links: [
4936
{
50-
label: 'Project',
51-
url: 'https://github.com/OasisDEX/oasis/projects/1',
37+
label: 'Legal',
38+
url: '/OasisToS.pdf',
39+
},
40+
// {
41+
// label: 'Chat',
42+
// url: 'https://chat.makerdao.com/',
43+
// },
44+
// {
45+
// label: 'Reddit',
46+
// url: 'https://www.reddit.com/r/MakerDAO/',
47+
// },
48+
]
49+
},
50+
{
51+
// header: "OasisDex",
52+
links: [
53+
{
54+
label: 'Report Issues',
55+
url: 'https://github.com/OasisDEX/oasis-react/issues/new',
5256
},
5357
]
5458
},
@@ -63,7 +67,7 @@ export class OasisFooterWrapper extends PureComponent {
6367
<div key={index}>
6468
<div className="row">
6569
<div className={styles.LinksSection}>
66-
<h4 className={styles.Heading}>{section.header}</h4>
70+
{/*<h4 className={styles.Heading}>{section.header}</h4>*/}
6771
{
6872
section.links.map((link, index) =>
6973
<a

src/containers/__snapshots__/OasisFooter.test.js.snap

+33-8
Original file line numberDiff line numberDiff line change
@@ -11,24 +11,49 @@ exports[`(Container) OasisFooter should render 1`] = `
1111
className="row"
1212
>
1313
<div>
14-
<h4>
15-
OasisDex
16-
</h4>
1714
<a
18-
href="https://github.com/OasisDEX/oasis/issues/new"
15+
href="https://github.com/OasisDEX/oasis-react"
1916
key="0"
2017
rel="noopener noreferrer"
2118
target="_blank"
2219
>
23-
Report Issues
20+
Project
2421
</a>
22+
</div>
23+
</div>
24+
</div>
25+
<div
26+
key="1"
27+
>
28+
<div
29+
className="row"
30+
>
31+
<div>
2532
<a
26-
href="https://github.com/OasisDEX/oasis/projects/1"
27-
key="1"
33+
href="/OasisToS.pdf"
34+
key="0"
2835
rel="noopener noreferrer"
2936
target="_blank"
3037
>
31-
Project
38+
Legal
39+
</a>
40+
</div>
41+
</div>
42+
</div>
43+
<div
44+
key="2"
45+
>
46+
<div
47+
className="row"
48+
>
49+
<div>
50+
<a
51+
href="https://github.com/OasisDEX/oasis-react/issues/new"
52+
key="0"
53+
rel="noopener noreferrer"
54+
target="_blank"
55+
>
56+
Report Issues
3257
</a>
3358
</div>
3459
</div>

0 commit comments

Comments
 (0)