mirror of
https://github.com/uetchy/namae.git
synced 2025-03-17 20:40:32 +09:00
61 lines
1.3 KiB
JavaScript
61 lines
1.3 KiB
JavaScript
import React from 'react'
|
|
import styled from 'styled-components'
|
|
import { FaTwitter, FaGithubAlt } from 'react-icons/fa'
|
|
|
|
import { ExternalLink } from './Links'
|
|
|
|
export default function Footer() {
|
|
return (
|
|
<Container>
|
|
<p>
|
|
Made with{' '}
|
|
<span role="img" aria-label="coffee">
|
|
🦀
|
|
</span>{' '}
|
|
by{' '}
|
|
<ExternalLink href="https://uechi.io">
|
|
<Bold>Yasuaki Uechi</Bold>
|
|
</ExternalLink>
|
|
</p>
|
|
<Links>
|
|
<ExternalLink href="https://github.com/uetchy/namae">
|
|
<FaGithubAlt />
|
|
</ExternalLink>
|
|
<ExternalLink href="https://twitter.com/uetschy">
|
|
<FaTwitter />
|
|
</ExternalLink>
|
|
</Links>
|
|
</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;
|
|
font-size: 0.7rem;
|
|
display: flex;
|
|
justify-content: center;
|
|
line-height: 1em;
|
|
|
|
${ExternalLink} {
|
|
color: black;
|
|
text-decoration: none;
|
|
}
|
|
`
|
|
|
|
const Links = styled.div`
|
|
margin-left: 15px;
|
|
display: flex;
|
|
align-items: center;
|
|
|
|
${ExternalLink} {
|
|
margin-right: 5px;
|
|
}
|
|
`
|
|
|
|
const Bold = styled.span`
|
|
font-weight: bold;
|
|
`
|