statement init

This commit is contained in:
Виталий Лавшонок
2025-10-27 17:18:21 +03:00
parent 1690169d5a
commit dc87ac4562
3 changed files with 57 additions and 1 deletions

View File

@@ -6,13 +6,15 @@ import { Route, Routes } from "react-router-dom";
// import { Switch } from "./components/switch/Switch";
import Home from "./pages/Home";
import CodeEditor from "./views/problem/codeeditor/CodeEditor";
import Statement from "./views/problem/statement/Statement";
function App() {
return (
<div className="flex w-full h-full ">
<Routes>
<Route path="/home/*" element={<Home/>}/>
<Route path="/editor" element={<div className="box-border p-[50px] w-full h-[800px] relative bg-red-800"><CodeEditor/></div>}/>
<Route path="/editor" element={<div className="box-border p-[50px] w-full h-[800px] relative bg-red-8001"><CodeEditor/></div>}/>
<Route path="/statement" element={<div className="box-border p-[50px] w-full h-[800px] relative bg-red-8001"><Statement/></div>}/>
<Route path="*" element={<Home/>}/>
</Routes>