You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
carbon/components/Footer.js

44 lines
917 B
JavaScript

import React from 'react'
import Link from 'next/link'
import { PALETTE } from '../lib/constants'
const Footer = (props) => (
<div className="footer">
<div>
<Link href="/about"><a>about</a></Link>
7 years ago
<a href="mailto:hi@dawnlabs.io?subject=Carbon%20Feedback&anp;body=">send feedback</a>
<a href="#">tweet</a>
<a href="#">star</a>
</div>
<div>a project by <a href="https://twitter.com/dawn_labs">@dawn_labs</a> ¬</div>
<style jsx>{`
.footer {
margin: 48px 0;
}
div {
text-align: center;
font-size: 14px;
margin: 16px 0;
color: ${PALETTE.GRAY};
}
a {
margin-right: 16px;
color: #fff;
text-decoration: none;
}
a:last-child {
margin-right: 0;
}
a:hover {
border-bottom: 1px solid #fff;
}
`}</style>
</div>
)
export default Footer