-
-
Notifications
You must be signed in to change notification settings - Fork 762
/
Footer.tsx
33 lines (31 loc) · 787 Bytes
/
Footer.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
import pkg from 'next-i18next/package.json'
import { useTranslation, Trans } from 'next-i18next'
import type { FC } from 'react'
export const Footer: FC = () => {
const { t } = useTranslation('footer')
return (
<footer>
<p>{t('description')}</p>
<p>next-i18next v{pkg.version}</p>
<p
style={{
fontSize: 'smaller',
fontStyle: 'italic',
marginTop: 20,
}}
>
<Trans i18nKey="helpLocize" t={t}>
With using
<a href="https://locize.com" target="_new">
locize
</a>
you directly support the future of
<a href="https://www.i18next.com" target="_new">
i18next
</a>
.
</Trans>
</p>
</footer>
)
}