1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-12-02 05:57:29 +01:00
Matthias Kretschmann 3974e4a9a3
Context warnings, more terms links (#199)
* move general banner to publish screen

* modify main banner

* move banner contents into content files

* simple footer links

* consistent links

* specificity
2020-11-03 14:17:21 +01:00

21 lines
638 B
TypeScript

import React, { ReactElement } from 'react'
import styles from './Footer.module.css'
import Markdown from '../atoms/Markdown'
import { useSiteMetadata } from '../../hooks/useSiteMetadata'
import { Link } from 'gatsby'
export default function Footer(): ReactElement {
const { copyright } = useSiteMetadata()
const year = new Date().getFullYear()
return (
<footer className={styles.footer}>
<div className={styles.content}>
© {year} <Markdown text={copyright} /> <Link to="/terms">Terms</Link>
{' — '}
<a href="https://oceanprotocol.com/privacy">Privacy</a>
</div>
</footer>
)
}