ipfs/src/components/Footer.tsx

25 lines
589 B
TypeScript
Raw Normal View History

2019-10-16 17:02:04 +02:00
import React from 'react'
2019-10-17 00:13:54 +02:00
import { links } from '../../site.config'
import styles from './Footer.module.css'
2019-10-16 17:02:04 +02:00
export default function Footer() {
2019-10-16 22:10:03 +02:00
const year = new Date().getFullYear()
2019-10-16 17:02:04 +02:00
return (
2019-10-16 22:10:03 +02:00
<footer className={styles.footer}>
2019-10-16 17:02:04 +02:00
<div>
2019-10-16 22:10:03 +02:00
© <span id="year">{year}</span>{' '}
2019-10-16 17:02:04 +02:00
<a href="https://oceanprotocol.com">Ocean Protocol Foundation Ltd.</a>
All Rights Reserved
</div>
<div>
{links.map(link => (
<a key={link.name} href={link.url}>
{link.name}
</a>
))}
</div>
</footer>
)
}