1
0
mirror of https://github.com/oceanprotocol/commons.git synced 2023-03-15 18:03:00 +01:00

prototype published assets section

This commit is contained in:
Matthias Kretschmann 2019-02-08 16:43:52 +01:00
parent 81614da13f
commit 3e85db09e0
Signed by: m
GPG Key ID: 606EEEF3C479A91F
3 changed files with 29 additions and 1 deletions

View File

@ -21,7 +21,7 @@
&,
small {
font-size: $font-size-small;
font-size: $font-size-mini;
}
a {

View File

@ -3,3 +3,21 @@
.home {
display: block;
}
.published {
margin-top: $spacer * 3;
margin-bottom: $spacer;
> div {
text-align: center;
margin-top: $spacer;
margin-bottom: $spacer;
}
}
.subTitle {
font-size: $font-size-h4;
color: $brand-grey-light;
border-bottom: 1px solid $brand-grey-lighter;
padding-bottom: $spacer / 2;
}

View File

@ -1,4 +1,5 @@
import React, { ChangeEvent, Component, FormEvent } from 'react'
import { Link } from 'react-router-dom'
import Button from '../components/atoms/Button'
import Form from '../components/atoms/Form/Form'
import Input from '../components/atoms/Form/Input'
@ -36,6 +37,15 @@ class Home extends Component<HomeProps, HomeState> {
group={<Button>Search</Button>}
/>
</Form>
<div className={styles.published}>
<h2 className={styles.subTitle}>Your Data Sets</h2>
<div>
<p>None yet.</p>
<Link to="/publish">+ Publish A Data Set</Link>
</div>
</div>
</Route>
)
}