]> git.localhorst.tv Git - alttp.git/commitdiff
new tournament
authorDaniel Karbach <daniel.karbach@localhorst.tv>
Thu, 18 Aug 2022 10:41:27 +0000 (12:41 +0200)
committerDaniel Karbach <daniel.karbach@localhorst.tv>
Thu, 18 Aug 2022 10:41:27 +0000 (12:41 +0200)
resources/js/components/App.js
resources/js/components/common/Header.js

index 1f188fb745d084d9080ee142114b340acdf54727..cd21ed0e31e90d6dff4e2e11dbf268329d324176 100644 (file)
@@ -59,7 +59,7 @@ const App = () => {
                                        <Route path="tech/:name" element={<Technique />} />
                                        <Route path="tournaments/:id" element={<Tournament />} />
                                        <Route path="users/:id" element={<User />} />
-                                       <Route path="*" element={<Navigate to="/tournaments/4" />} />
+                                       <Route path="*" element={<Navigate to="/tournaments/5" />} />
                                </Routes>
                        </UserContext.Provider>
                </AlttpBaseRomProvider>
index 72eb0399567f815f30fad92bc5d5930d0cdf399f..530008147c9437f863446fded1a720e17b3b19ba 100644 (file)
@@ -29,6 +29,11 @@ const Header = ({ doLogout, user }) =>
                                                Season 2
                                        </Nav.Link>
                                </LinkContainer>
+                               <LinkContainer to="/tournaments/5">
+                                       <Nav.Link href="/tournaments/5">
+                                               Super Metroid
+                                       </Nav.Link>
+                               </LinkContainer>
                        </Nav>
                        <Navbar.Text className="ms-auto me-2">
                                <LanguageSwitcher />