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:
parent
22440827ca
commit
e6fc7a9085
@ -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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -7,13 +7,25 @@ import meta from '../../data/meta.json'
|
|||||||
|
|
||||||
const Footer = () => (
|
const Footer = () => (
|
||||||
<footer className={styles.footer}>
|
<footer className={styles.footer}>
|
||||||
|
<aside className={styles.stats}>
|
||||||
|
<Content wide>
|
||||||
|
<p>
|
||||||
|
Online since March 2019.
|
||||||
<Market.Consumer>
|
<Market.Consumer>
|
||||||
{state =>
|
{state =>
|
||||||
state.totalAssets > 0 && (
|
state.totalAssets > 0 &&
|
||||||
<Content wide>{state.totalAssets} total assets</Content>
|
` With a total of ${
|
||||||
)
|
state.totalAssets
|
||||||
|
} registered assets.`
|
||||||
}
|
}
|
||||||
</Market.Consumer>
|
</Market.Consumer>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
Proud supporter of{' '}
|
||||||
|
<a href="https://aicommons.com/">AI Commons</a>.
|
||||||
|
</p>
|
||||||
|
</Content>
|
||||||
|
</aside>
|
||||||
|
|
||||||
<Content wide>
|
<Content wide>
|
||||||
<small>
|
<small>
|
||||||
|
Loading…
Reference in New Issue
Block a user