Russian language
This commit is contained in:
parent
acc25a1a66
commit
bb4b6468b4
10 changed files with 264 additions and 2 deletions
|
|
@ -152,7 +152,7 @@ const Home = ({ offline }) => {
|
|||
<Center>
|
||||
<Logo src={logo} alt="" />
|
||||
</Center>
|
||||
<TitleSmall>{t('home:create')}</TitleSmall>
|
||||
<TitleSmall altChars={/[A-Z]/g.test(t('home:create'))}>{t('home:create')}</TitleSmall>
|
||||
<TitleLarge>CRAB FIT</TitleLarge>
|
||||
<Links>
|
||||
<a href="#about">{t('home:nav.about')}</a> / <a href="#donate">{t('home:nav.donate')}</a>
|
||||
|
|
|
|||
|
|
@ -20,6 +20,13 @@ export const TitleSmall = styled.span`
|
|||
color: ${props => props.theme.primaryDark};
|
||||
line-height: 1em;
|
||||
text-transform: uppercase;
|
||||
|
||||
${props => !props.altChars && `
|
||||
font-size: 2rem;
|
||||
font-weight: 600;
|
||||
line-height: 1.2em;
|
||||
padding-top: .3em;
|
||||
`}
|
||||
`;
|
||||
|
||||
export const TitleLarge = styled.h1`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue