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

60 lines
1.2 KiB
JavaScript

import React from 'react'
import Link from 'next/link'
import { COLORS } from '../lib/constants'
const Footer = () => (
<footer role="contentinfo" className="mt3">
<nav className="mt3">
7 years ago
<Link href="/about">
<a className="link" href="/about">
about
</a>
7 years ago
</Link>
<a className="link" href="https://github.com/carbon-app/carbon/issues/new">
7 years ago
send feedback
</a>
<a className="link" href="https://github.com/carbon-app/carbon">
7 years ago
source
</a>
</nav>
7 years ago
<div className="mt3 mb2">
a project by{' '}
<a className="author-link" href="https://twitter.com/carbon_app">
@carbon_app
7 years ago
</a>{' '}
¬
</div>
<style jsx>
{`
footer {
font-size: 14px;
}
footer > div {
text-align: center;
color: ${COLORS.GRAY};
}
a {
margin-right: 16px;
}
a:last-child {
margin-right: 0;
}
.author-link {
color: ${COLORS.PRIMARY};
text-decoration: none;
}
7 years ago
.author-link:hover {
color: #fff;
}
`}
</style>
</footer>
)
export default Footer