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

styling, AI Commons link

This commit is contained in:
Matthias Kretschmann 2019-05-15 14:47:57 +02:00
parent 22440827ca
commit e6fc7a9085
Signed by: m
GPG Key ID: 606EEEF3C479A91F
2 changed files with 33 additions and 7 deletions

View File

@ -57,3 +57,17 @@
}
}
}
.stats {
text-align: center;
margin-bottom: $spacer * $line-height;
font-size: $font-size-small;
p {
margin-bottom: $spacer / 4;
}
p:last-child {
margin-bottom: 0;
}
}

View File

@ -7,13 +7,25 @@ import meta from '../../data/meta.json'
const Footer = () => (
<footer className={styles.footer}>
<Market.Consumer>
{state =>
state.totalAssets > 0 && (
<Content wide>{state.totalAssets} total assets</Content>
)
}
</Market.Consumer>
<aside className={styles.stats}>
<Content wide>
<p>
Online since March 2019.
<Market.Consumer>
{state =>
state.totalAssets > 0 &&
` With a total of ${
state.totalAssets
} registered assets.`
}
</Market.Consumer>
</p>
<p>
Proud supporter of{' '}
<a href="https://aicommons.com/">AI Commons</a>.
</p>
</Content>
</aside>
<Content wide>
<small>