diff --git a/FrontendV2/src/App.tsx b/FrontendV2/src/App.tsx index 05c206c..400fe4f 100644 --- a/FrontendV2/src/App.tsx +++ b/FrontendV2/src/App.tsx @@ -16,6 +16,7 @@ import { Box, Flex } from "@chakra-ui/react"; import { Footer } from "./components/footer/Footer"; import { QueryClient, QueryClientProvider } from "@tanstack/react-query"; import { API_BASE } from "@/config/api.config"; +import { ContactPage } from "./pages/ContactPage"; const queryClient = new QueryClient(); @@ -80,6 +81,7 @@ function App() { } /> } /> } /> + } /> } /> diff --git a/FrontendV2/src/components/Header.tsx b/FrontendV2/src/components/Header.tsx index a01199e..537f3ec 100644 --- a/FrontendV2/src/components/Header.tsx +++ b/FrontendV2/src/components/Header.tsx @@ -16,13 +16,13 @@ import { setIsLoggedInAtom, triggerLogoutAtom } from "@/states/Atoms"; import { useNavigate } from "react-router-dom"; import { CircleUserRound, - Code, LifeBuoy, LogOut, CalendarPlus, MoreVertical, Languages, Table, + ContactRound, } from "lucide-react"; import { useUserContext } from "@/states/Context"; import { useState } from "react"; @@ -144,7 +144,7 @@ export const Header = () => { window.open( "https://git.the1s.de/Matthias-Claudius-Schule/borrow-system/wiki", "_blank", - "noopener,noreferrer" + "noopener,noreferrer", ) } children={ @@ -155,18 +155,12 @@ export const Header = () => { } /> - window.open( - "https://git.the1s.de/Matthias-Claudius-Schule/borrow-system", - "_blank", - "noopener,noreferrer" - ) - } + value="contact" + onSelect={() => navigate("/contact", { replace: true })} children={ - - {t("source-code")} + + {t("contact")} } /> @@ -296,17 +290,15 @@ export const Header = () => { - navigate("/contact", { replace: true })} > - - + + + {t("contact")} + +