]> git.localhorst.tv Git - alttp.git/commitdiff
change footer
authorDaniel Karbach <daniel.karbach@localhorst.tv>
Tue, 1 Aug 2023 21:21:08 +0000 (23:21 +0200)
committerDaniel Karbach <daniel.karbach@localhorst.tv>
Tue, 1 Aug 2023 21:45:48 +0000 (23:45 +0200)
resources/js/components/app/Footer.js
resources/js/components/pages/Front.js
resources/js/i18n/de.js
resources/js/i18n/en.js

index 71d8998c5f14dcfb98e7e5a429fe6b00e68ed007..41d0f7ad4233fc3b9ae4f7f3acd9166ada3fb02f 100644 (file)
@@ -22,13 +22,6 @@ const Footer = () => {
                                                        </Nav.Link>
                                                </LinkContainer>
                                        </Nav.Item>
-                                       <Nav.Item as="li">
-                                               <LinkContainer to="/tournaments/5">
-                                                       <Nav.Link className="p-0 text-muted" href="/tournaments/5">
-                                                               Wörterbuch - Super Metroid Async
-                                                       </Nav.Link>
-                                               </LinkContainer>
-                                       </Nav.Item>
                                </Nav>
                        </Col>
                        <Col md={4}>
@@ -66,6 +59,13 @@ const Footer = () => {
                                                        {t('footer.muffins')}
                                                </Nav.Link>
                                        </Nav.Item>
+                                       <Nav.Item as="li">
+                                               <LinkContainer to="/schedule">
+                                                       <Nav.Link className="p-0 text-muted" href="/schedule">
+                                                               {t('footer.schedule')}
+                                                       </Nav.Link>
+                                               </LinkContainer>
+                                       </Nav.Item>
                                        <Nav.Item as="li">
                                                <Nav.Link
                                                        className="p-0 text-muted"
index 2ca43f24ae7dc5aacf107595494e686d8e63e468..42ac7cf9d26e3da9e2239740464f4b87966d2457 100644 (file)
@@ -18,7 +18,7 @@ const Front = () => {
        return <Container className="mt-5">
                <CanonicalLinks base="/" />
                <Row>
-                       <Col md={6}>
+                       <Col md={{ offset: 3, span: 6 }}>
                                <Button
                                        className="front-panel"
                                        onClick={() => navigate('/tournaments/6')}
@@ -30,18 +30,6 @@ const Front = () => {
                                        </div>
                                </Button>
                        </Col>
-                       <Col md={6}>
-                               <Button
-                                       className="front-panel"
-                                       onClick={() => navigate('/tournaments/5')}
-                                       variant="outline-secondary"
-                               >
-                                       <Image alt="" className="image" src="/media/sm/front.png" />
-                                       <div className="title">
-                                               Super Metroid
-                                       </div>
-                               </Button>
-                       </Col>
                </Row>
        </Container>;
 };
index 80a432ffaa3d339818e11c10e72dce3db32f1cb4..e3fdecb9ddce2b3b76f159d8f042f2800e40b4e4 100644 (file)
@@ -141,6 +141,7 @@ export default {
                        muffins: 'Muffins\' Glitch Map (EN)',
                        privacy: 'Datenschutz',
                        resources: 'Ressourcen',
+                       schedule: 'Terminplan',
                        smd: 'Deutscher Super Metroid Discord',
                        smwiki: 'Super Metroid Speedrunning Wiki',
                        tech: 'ALttP Techniken',
@@ -269,6 +270,7 @@ export default {
                },
                menu: {
                        map: 'Karte',
+                       schedule: 'Terminplan',
                        tech: 'Techniken',
                },
                modes: {
index ec86f17cfa6fb1e0067cdc8f92c94cf5737e7b48..f9e5bad22afbec6568206032cf36c116238982cd 100644 (file)
@@ -141,6 +141,7 @@ export default {
                        muffins: 'Muffins\' Glitch Map',
                        privacy: 'Privacy',
                        resources: 'Resources',
+                       schedule: 'Schedule',
                        smd: 'German Super Metroid Discord',
                        smwiki: 'Super Metroid Speedrunning Wiki',
                        tech: 'ALttP Tech',
@@ -269,6 +270,7 @@ export default {
                },
                menu: {
                        map: 'Map',
+                       schedule: 'Schedule',
                        tech: 'Tech',
                },
                modes: {