-
Notifications
You must be signed in to change notification settings - Fork 160
/
Footer.jsx
51 lines (48 loc) · 1.38 KB
/
Footer.jsx
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
import React from 'react';
import Link from 'next/link';
import { useTranslation } from 'next-i18next';
const Footer = () => {
const { t, i18n } = useTranslation('common');
return (
<footer className="footer container text-center">
<ul className="p-0 mb-1 small">
<li>
<Link href="/about">
<a alt={t('footer.about.title')}>{t('footer.about.title')}</a>
</Link>
</li>
<li>
<Link href={t('footer.webinars.url')}>
<a alt={t('footer.webinars.title')} target="_blank">
{t('footer.webinars.title')}
</a>
</Link>
</li>
{i18n.language === 'ru' ? (
<li>
<Link href={t('footer.cv.url')}>
<a alt={t('footer.cv.title')} target="_blank">
{t('footer.cv.title')}
</a>
</Link>
</li>
) : null}
<li>
<Link href={t('footer.codebattle.url')}>
<a alt={t('footer.codebattle.title')} target="_blank">
{t('footer.codebattle.title')}
</a>
</Link>
</li>
<li>
<Link href={t('footer.policy.url')}>
<a alt={t('footer.policy.title')} target="_blank">
{t('footer.policy.title')}
</a>
</Link>
</li>
</ul>
</footer>
);
};
export default Footer;