mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
* move general banner to publish screen * modify main banner * move banner contents into content files * simple footer links * consistent links * specificity
21 lines
638 B
TypeScript
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>
|
|
)
|
|
}
|