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="/schedule">
27 <Nav.Link className="p-0 text-muted" href="/schedule">
28 {t('footer.schedule')}
33 <LinkContainer to="/events">
34 <Nav.Link className="p-0 text-muted" href="/events">
42 <h5>{t('footer.resources')}</h5>
43 <Nav as="ul" className="flex-column">
46 className="p-0 text-muted"
47 href="https://alttp-wiki.net/"
50 {t('footer.alttpwiki')}
54 <LinkContainer to="/tech">
55 <Nav.Link className="p-0 text-muted" href="/tech">
61 <LinkContainer to="/map">
62 <Nav.Link className="p-0 text-muted" href="/map">
69 className="p-0 text-muted"
70 href="https://glitchmaps.mfns.dev/"
78 className="p-0 text-muted"
79 href="https://wiki.supermetroid.run/"
88 <h5>{t('footer.info')}</h5>
89 <Nav as="ul" className="flex-column">
92 className="p-0 text-muted"
93 onClick={() => { setShowDialog(true); }}
100 className="p-0 text-muted"
101 href="https://discord.gg/5zuANcS"
104 {t('footer.alttpde')}
109 className="p-0 text-muted"
110 href="https://discord.com/invite/GGdrbnQmVs"
118 className="p-0 text-muted"
119 href="https://discord.gg/hVw5Zeq"
122 {t('footer.connect')}
127 className="p-0 text-muted"
128 href="https://discord.gg/cx6nZkekXz"
131 {t('footer.restreamCentral')}
137 <p className="pt-5 text-center text-muted">{t('footer.contact')}</p>
138 <PrivacyDialog onHide={() => { setShowDialog(false); }} show={showDialog} />
142 export default Footer;