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">
54 <LinkContainer to="/map">
55 <Nav.Link className="p-0 text-muted" href="/map">
62 className="p-0 text-muted"
63 href="https://wiki.supermetroid.run/"
72 <h5>{t('footer.info')}</h5>
73 <Nav as="ul" className="flex-column">
76 className="p-0 text-muted"
77 onClick={() => { setShowDialog(true); }}
84 className="p-0 text-muted"
85 href="https://discord.gg/5zuANcS"
93 className="p-0 text-muted"
94 href="https://discord.com/invite/GGdrbnQmVs"
102 className="p-0 text-muted"
103 href="https://discord.gg/hVw5Zeq"
106 {t('footer.connect')}
112 <p className="pt-5 text-center text-muted">{t('footer.contact')}</p>
113 <PrivacyDialog onHide={() => { setShowDialog(false); }} show={showDialog} />
117 export default Footer;