commit
7557b48047
|
|
@ -13,6 +13,7 @@
|
||||||
name="description"
|
name="description"
|
||||||
content="Enter your availability to find a time that works for everyone!"
|
content="Enter your availability to find a time that works for everyone!"
|
||||||
>
|
>
|
||||||
|
<meta name="monetization" content="$ilp.uphold.com/HjDULeBk9JnH">
|
||||||
<meta http-equiv="origin-trial" content="Ar7tjGW2QiMeUPQCeRlYjb3ea5SyMxU5a7dEPxbmq7BSlOrSb+Twl7QiZ+z36B2KlPH9HXXCrTxfOBs2W1IbPQQAAABOeyJvcmlnaW4iOiJodHRwczovL2NyYWIuZml0OjQ0MyIsImZlYXR1cmUiOiJEaWdpdGFsR29vZHMiLCJleHBpcnkiOjE2MzE2NjM5OTl9">
|
<meta http-equiv="origin-trial" content="Ar7tjGW2QiMeUPQCeRlYjb3ea5SyMxU5a7dEPxbmq7BSlOrSb+Twl7QiZ+z36B2KlPH9HXXCrTxfOBs2W1IbPQQAAABOeyJvcmlnaW4iOiJodHRwczovL2NyYWIuZml0OjQ0MyIsImZlYXR1cmUiOiJEaWdpdGFsR29vZHMiLCJleHBpcnkiOjE2MzE2NjM5OTl9">
|
||||||
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png">
|
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png">
|
||||||
<link rel="manifest" href="%PUBLIC_URL%/manifest.json">
|
<link rel="manifest" href="%PUBLIC_URL%/manifest.json">
|
||||||
|
|
|
||||||
|
|
@ -162,7 +162,7 @@ const Home = ({ offline }) => {
|
||||||
<Center>
|
<Center>
|
||||||
<Logo src={logo} alt="" />
|
<Logo src={logo} alt="" />
|
||||||
</Center>
|
</Center>
|
||||||
<TitleSmall altChars={/[A-Z]/g.test(t('home:create'))}>{t('home:create')}</TitleSmall>
|
<TitleSmall altChars={/^[A-Za-z ]+$/.test(t('home:create'))}>{t('home:create')}</TitleSmall>
|
||||||
<TitleLarge>CRAB FIT</TitleLarge>
|
<TitleLarge>CRAB FIT</TitleLarge>
|
||||||
<Links>
|
<Links>
|
||||||
<a href="#about">{t('home:nav.about')}</a> / <a href="#donate">{t('home:nav.donate')}</a>
|
<a href="#about">{t('home:nav.about')}</a> / <a href="#donate">{t('home:nav.donate')}</a>
|
||||||
|
|
@ -228,11 +228,11 @@ const Home = ({ offline }) => {
|
||||||
<h2>{t('home:about.name')}</h2>
|
<h2>{t('home:about.name')}</h2>
|
||||||
<Stats>
|
<Stats>
|
||||||
<Stat>
|
<Stat>
|
||||||
<StatNumber>{stats.eventCount ?? '700+'}</StatNumber>
|
<StatNumber>{stats.eventCount ?? '1100+'}</StatNumber>
|
||||||
<StatLabel>{t('home:about.events')}</StatLabel>
|
<StatLabel>{t('home:about.events')}</StatLabel>
|
||||||
</Stat>
|
</Stat>
|
||||||
<Stat>
|
<Stat>
|
||||||
<StatNumber>{stats.personCount ?? '1600+'}</StatNumber>
|
<StatNumber>{stats.personCount ?? '3700+'}</StatNumber>
|
||||||
<StatLabel>{t('home:about.availabilities')}</StatLabel>
|
<StatLabel>{t('home:about.availabilities')}</StatLabel>
|
||||||
</Stat>
|
</Stat>
|
||||||
</Stats>
|
</Stats>
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,7 @@ export const TitleSmall = styled.span`
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
|
|
||||||
${props => !props.altChars && `
|
${props => !props.altChars && `
|
||||||
|
font-family: sans-serif;
|
||||||
font-size: 2rem;
|
font-size: 2rem;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
line-height: 1.2em;
|
line-height: 1.2em;
|
||||||
|
|
|
||||||
|
|
@ -54,6 +54,12 @@ const locales = {
|
||||||
weekStart: 0,
|
weekStart: 0,
|
||||||
timeFormat: '24h',
|
timeFormat: '24h',
|
||||||
},
|
},
|
||||||
|
'pl': { // Polish
|
||||||
|
name: 'Polskie',
|
||||||
|
import: () => import('dayjs/locale/pl'),
|
||||||
|
weekStart: 1,
|
||||||
|
timeFormat: '12h',
|
||||||
|
},
|
||||||
'ru': { // Russian
|
'ru': { // Russian
|
||||||
name: 'Pусский',
|
name: 'Pусский',
|
||||||
import: () => import('dayjs/locale/ru'),
|
import: () => import('dayjs/locale/ru'),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue