mirror of
https://github.com/uetchy/namae.git
synced 2025-03-17 12:30:32 +09:00
chore: much bigger font size
This commit is contained in:
parent
e0da648da8
commit
a1a397954e
@ -1,7 +1,7 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
import styled from 'styled-components';
|
import styled from 'styled-components';
|
||||||
import {useTranslation} from 'react-i18next';
|
import {useTranslation} from 'react-i18next';
|
||||||
import {FaTwitter, FaGithubAlt} from 'react-icons/fa';
|
import {FaTwitter, FaGithub, FaProductHunt} from 'react-icons/fa';
|
||||||
|
|
||||||
import {ExternalLink} from './Links';
|
import {ExternalLink} from './Links';
|
||||||
|
|
||||||
@ -10,34 +10,7 @@ const Footer: React.FC = () => {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<Container>
|
<Container>
|
||||||
<Box>
|
<LangBox>
|
||||||
<p>
|
|
||||||
Made with{' '}
|
|
||||||
<span role="img" aria-label="coffee">
|
|
||||||
🦀
|
|
||||||
</span>{' '}
|
|
||||||
by{' '}
|
|
||||||
<ExternalLink href="https://twitter.com/uetschy">
|
|
||||||
<Bold>Yasuaki Uechi</Bold>
|
|
||||||
</ExternalLink>
|
|
||||||
</p>
|
|
||||||
<Links>
|
|
||||||
<ExternalLink
|
|
||||||
href="https://github.com/uetchy/namae"
|
|
||||||
aria-label="Go to GitHub repository">
|
|
||||||
<FaGithubAlt />
|
|
||||||
</ExternalLink>
|
|
||||||
<ExternalLink
|
|
||||||
aria-label="Tweet this page"
|
|
||||||
href={`https://twitter.com/intent/tweet?text=${encodeURIComponent(
|
|
||||||
`namae — ${t('title')}`,
|
|
||||||
)}&url=${encodeURIComponent('https://namae.dev')}`}>
|
|
||||||
<FaTwitter />
|
|
||||||
</ExternalLink>
|
|
||||||
</Links>
|
|
||||||
</Box>
|
|
||||||
|
|
||||||
<Box>
|
|
||||||
<a href="/?lng=en">
|
<a href="/?lng=en">
|
||||||
<span role="img" aria-label="English">
|
<span role="img" aria-label="English">
|
||||||
🇬🇧
|
🇬🇧
|
||||||
@ -48,7 +21,42 @@ const Footer: React.FC = () => {
|
|||||||
🇯🇵
|
🇯🇵
|
||||||
</span>
|
</span>
|
||||||
</a>
|
</a>
|
||||||
|
</LangBox>
|
||||||
|
|
||||||
|
<Box>
|
||||||
|
<p>
|
||||||
|
Made with{' '}
|
||||||
|
<span role="img" aria-label="coffee">
|
||||||
|
☕️
|
||||||
|
</span>{' '}
|
||||||
|
by{' '}
|
||||||
|
<ExternalLink href="https://twitter.com/uetschy">
|
||||||
|
<Bold>Yasuaki Uechi</Bold>
|
||||||
|
</ExternalLink>
|
||||||
|
</p>
|
||||||
</Box>
|
</Box>
|
||||||
|
|
||||||
|
<ShareBox>
|
||||||
|
<Links>
|
||||||
|
<ExternalLink
|
||||||
|
aria-label="Tweet this page"
|
||||||
|
href={`https://twitter.com/intent/tweet?text=${encodeURIComponent(
|
||||||
|
`namae — ${t('title')}`,
|
||||||
|
)}&url=${encodeURIComponent('https://namae.dev')}`}>
|
||||||
|
<FaTwitter />
|
||||||
|
</ExternalLink>
|
||||||
|
<ExternalLink
|
||||||
|
href="https://www.producthunt.com/posts/namae"
|
||||||
|
aria-label="Go to ProductHunt page">
|
||||||
|
<FaProductHunt />
|
||||||
|
</ExternalLink>
|
||||||
|
<ExternalLink
|
||||||
|
href="https://github.com/uetchy/namae"
|
||||||
|
aria-label="Go to GitHub repository">
|
||||||
|
<FaGithub />
|
||||||
|
</ExternalLink>
|
||||||
|
</Links>
|
||||||
|
</ShareBox>
|
||||||
</Container>
|
</Container>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
@ -61,7 +69,6 @@ const Container = styled.div`
|
|||||||
margin: 40px 0;
|
margin: 40px 0;
|
||||||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
|
||||||
Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
|
Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
|
||||||
font-size: 0.7rem;
|
|
||||||
|
|
||||||
a {
|
a {
|
||||||
color: black;
|
color: black;
|
||||||
@ -75,10 +82,19 @@ const Box = styled.footer`
|
|||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
line-height: 1em;
|
line-height: 1em;
|
||||||
|
font-size: 0.8rem;
|
||||||
|
`;
|
||||||
|
|
||||||
|
const LangBox = styled(Box)`
|
||||||
|
font-size: 2rem;
|
||||||
|
margin-bottom: 20px;
|
||||||
|
`;
|
||||||
|
|
||||||
|
const ShareBox = styled(Box)`
|
||||||
|
font-size: 1.5rem;
|
||||||
`;
|
`;
|
||||||
|
|
||||||
const Links = styled.div`
|
const Links = styled.div`
|
||||||
margin-left: 15px;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user