import React from 'react'; import { OutboundLink } from 'react-ga'; import { useTranslation } from 'react-i18next'; import { FaGithub, FaProductHunt, FaTwitter } from 'react-icons/fa'; import { GoHeart } from 'react-icons/go'; import styled from 'styled-components'; import { Section } from '../theme'; import { tablet } from '../util/css'; import Contributors from '../components/Contributors'; const Footer: React.FC = () => { return ( ); }; export default Footer; const Languages = () => { const { t } = useTranslation(); return ( {t('language')} English 日本語 简体中文 繁體中文 ); }; const Community = () => { const { t } = useTranslation(); return ( {t('community')} GitHub {t('issues')} {t('blog')} {t('contributors')} ); }; const About = () => { const { t } = useTranslation(); return ( {t('about')} Made with{' '} ☕️ {' '} by{' '} Yasuaki Uechi Sponsor ); }; const Container = styled(Section)` --text: #bdbdbd; --background: #404040; display: flex; flex-direction: row; justify-content: space-around; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; background: var(--background); color: var(--text); a { color: var(--text); text-decoration: none; } ul { li { list-style-type: none; } } ${tablet} { flex-direction: column; } `; const Pane = styled.div` font-size: 1rem; ${tablet} { margin-bottom: 50px; } `; const Box = styled.div` margin: 15px 0; `; const Title = styled.h3` margin-bottom: 15px; `; const Subtitle = styled.h4` margin-bottom: 12px; `; const Links = styled.div` display: flex; align-items: center; a { margin-right: 10px; } `; const ShareBox = styled.div` margin-top: 15px; line-height: 1em; font-size: 1.5rem; display: flex; align-items: center; `; const Bold = styled.span` font-weight: bold; `; const SponsorBadge = styled.div` padding: 5px 13px 5px 10px; display: flex; flex-direction: row; align-items: center; line-height: 1rem; font-size: 1rem; border-radius: 5px; background-color: #f8f9fa; color: black; cursor: pointer; transition: opacity 200ms ease-out; :hover { opacity: 0.8; } svg { color: rgb(236, 69, 171); margin-right: 5px; } `;
Made with{' '} ☕️ {' '} by{' '} Yasuaki Uechi