1
0
mirror of https://github.com/uetchy/namae.git synced 2025-03-18 13:00:33 +09:00
namae/web/src/components/Footer.js

54 lines
1.1 KiB
JavaScript
Raw Normal View History

2019-07-31 12:22:31 +09:00
import React from 'react'
import styled from 'styled-components'
2019-07-31 13:57:48 +09:00
import { FaTwitter, FaGithubAlt } from 'react-icons/fa'
2019-07-31 12:22:31 +09:00
2019-07-31 18:54:28 +09:00
import { ExternalLink } from './Links'
2019-07-31 12:22:31 +09:00
export default function Footer() {
return (
<Container>
<p>
2019-08-01 14:24:36 +09:00
Made with{' '}
2019-07-31 13:57:48 +09:00
<span role="img" aria-label="coffee">
2019-08-01 14:00:22 +09:00
🦀
2019-07-31 12:22:31 +09:00
</span>
2019-08-01 14:24:36 +09:00
{' '}by <Bold>Yasuaki Uechi</Bold>
2019-08-01 13:21:23 +09:00
</p>
<Links>
2019-07-31 18:54:28 +09:00
<ExternalLink href="https://twitter.com/uetschy">
2019-07-31 12:22:31 +09:00
<FaTwitter />
2019-07-31 18:54:28 +09:00
</ExternalLink>{' '}
<ExternalLink href="https://github.com/uetchy/namae">
2019-07-31 13:57:48 +09:00
<FaGithubAlt />
2019-07-31 18:54:28 +09:00
</ExternalLink>
2019-08-01 13:21:23 +09:00
</Links>
2019-07-31 12:22:31 +09:00
</Container>
)
}
const Container = styled.footer`
margin: 40px 0;
text-align: center;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
2019-08-01 14:00:22 +09:00
font-size: 0.7rem;
2019-08-01 13:21:23 +09:00
display: flex;
align-items: stretch;
justify-content: center;
`
const Links = styled.div`
margin-left: 15px;
display: flex;
align-items: flex-end;
a {
margin-right: 5px;
color: black;
}
2019-07-31 12:22:31 +09:00
`
2019-08-01 14:00:22 +09:00
const Bold = styled.span`
font-weight: bold;
`