mirror of
https://gitlab.com/megazordpobeda/DataRush.git
synced 2026-05-23 19:07:10 +00:00
Merge branch 'master' of gitlab.prodcontest.ru:team-15/project
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user