1 import React from 'react';
2 import { Col, Nav, Row } from 'react-bootstrap';
3 import { useTranslation } from 'react-i18next';
4 import { LinkContainer } from 'react-router-bootstrap';
6 import PrivacyDialog from './PrivacyDialog';
9 const [showDialog, setShowDialog] = React.useState(false);
11 const { t } = useTranslation();
13 return <footer className="bg-dark mt-5 px-3 py-5">
16 <h5>{t('footer.competitions')}</h5>
17 <Nav as="ul" className="flex-column">
19 <LinkContainer to="/tournaments/6">
20 <Nav.Link className="p-0 text-muted" href="/tournaments/6">
21 Deutsche ALttP Community - Seed der Woche
26 <LinkContainer to="/tournaments/5">
27 <Nav.Link className="p-0 text-muted" href="/tournaments/5">
28 Wörterbuch - Super Metroid Async
35 <h5>{t('footer.resources')}</h5>
36 <Nav as="ul" className="flex-column">
39 className="p-0 text-muted"
40 href="https://alttp-wiki.net/"
43 {t('footer.alttpwiki')}
47 <LinkContainer to="/tech">
48 <Nav.Link className="p-0 text-muted" href="/tech">
55 className="p-0 text-muted"
56 href="https://wiki.supermetroid.run/"
65 <h5>{t('footer.info')}</h5>
66 <Nav as="ul" className="flex-column">
69 className="p-0 text-muted"
70 onClick={() => { setShowDialog(true); }}
77 className="p-0 text-muted"
78 href="https://discord.gg/5zuANcS"
86 className="p-0 text-muted"
87 href="https://discord.com/invite/GGdrbnQmVs"
95 className="p-0 text-muted"
96 href="https://discord.gg/hVw5Zeq"
105 <p className="pt-5 text-center text-muted">{t('footer.contact')}</p>
106 <PrivacyDialog onHide={() => { setShowDialog(false); }} show={showDialog} />
110 export default Footer;