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

61 lines
1.3 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-08-01 14:40:43 +09:00
</span>{' '}
2019-08-01 14:32:00 +09:00
by{' '}
<ExternalLink href="https://uechi.io">
<Bold>Yasuaki Uechi</Bold>
</ExternalLink>
2019-08-01 13:21:23 +09:00
</p>
<Links>
2019-07-31 18:54:28 +09:00
<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 14:32:00 +09:00
<ExternalLink href="https://twitter.com/uetschy">
<FaTwitter />
</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;
justify-content: center;
2019-08-01 14:40:43 +09:00
line-height: 1em;
2019-08-01 14:32:00 +09:00
${ExternalLink} {
color: black;
text-decoration: none;
}
2019-08-01 13:21:23 +09:00
`
const Links = styled.div`
margin-left: 15px;
display: flex;
2019-08-01 14:40:43 +09:00
align-items: center;
2019-08-01 13:21:23 +09:00
2019-08-01 14:32:00 +09:00
${ExternalLink} {
2019-08-01 13:21:23 +09:00
margin-right: 5px;
}
2019-07-31 12:22:31 +09:00
`
2019-08-01 14:00:22 +09:00
const Bold = styled.span`
font-weight: bold;
`