1
0
mirror of https://github.com/oceanprotocol/docs.git synced 2024-11-26 19:49:26 +01:00

prepare multiple footer links

This commit is contained in:
Matthias Kretschmann 2018-11-09 15:02:35 +01:00
parent 553bcd887d
commit c63ee5ec3f
Signed by: m
GPG Key ID: 606EEEF3C479A91F
2 changed files with 5 additions and 5 deletions

View File

@ -3,13 +3,12 @@ import PropTypes from 'prop-types'
import { ReactComponent as Pencil } from '../images/pencil.svg' import { ReactComponent as Pencil } from '../images/pencil.svg'
import styles from './DocFooter.module.scss' import styles from './DocFooter.module.scss'
const githubContentPath =
'https://github.com/oceanprotocol/docs/blob/master/content'
const DocFooter = ({ post }) => ( const DocFooter = ({ post }) => (
<footer className={styles.footer}> <footer className={styles.footer}>
<a <a href={`${githubContentPath}/${post.parent.relativePath}`}>
href={`https://github.com/oceanprotocol/docs/blob/master/content/${
post.parent.relativePath
}`}
>
<Pencil /> Edit this page on GitHub <Pencil /> Edit this page on GitHub
</a> </a>
</footer> </footer>

View File

@ -13,6 +13,7 @@
font-family: $font-family-button; font-family: $font-family-button;
text-transform: uppercase; text-transform: uppercase;
color: $brand-grey-light; color: $brand-grey-light;
margin: 0 $spacer / 2;
&:hover, &:hover,
&:focus { &:focus {