Merge branch 'master' of gitlab.prodcontest.ru:team-15/project

This commit is contained in:
moolcoov
2025-03-02 13:55:59 +03:00
79 changed files with 8311 additions and 661 deletions
+14 -1
View File
@@ -1,5 +1,5 @@
import { Routes, Route } from "react-router";
import "./styles/globals.css";
import { Routes, Route } from "react-router";
import { NavbarLayout } from "./widgets/navbar-layout";
@@ -10,6 +10,8 @@ import LoginPage from "./pages/Login";
import { AuthLayout } from "./widgets/auth-layout";
import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
import ReviewPage from "./pages/Review";
import CompetitionConstructor from "./pages/CompetitionConstructor";
import UserProfile from "./pages/UserProfile";
const queryClient = new QueryClient();
@@ -30,6 +32,17 @@ const App = () => {
element={<CompetitionSession />}
/>
<Route path="/constructor/:id" element={<CompetitionConstructor />} />
<Route path="/constructor/new" element={<CompetitionConstructor />} />
<Route
path="/constructor/:id/tasks/:taskId"
element={<CompetitionConstructor />}
/>
<Route path="/profile" element={<UserProfile />} />
<Route path="/review/:token" element={<ReviewPage />} />
</Route>
</Routes>