drop down for code editor

This commit is contained in:
Виталий Лавшонок
2025-10-27 07:35:36 +03:00
parent e2a9e68666
commit 8fa48ef67e
7 changed files with 121 additions and 84 deletions

View File

@@ -5,14 +5,14 @@ import { Route, Routes } from "react-router-dom";
// import { Input } from "./components/input/Input";
// import { Switch } from "./components/switch/Switch";
import Home from "./pages/Home";
import CodeEditor from "./components/codeeditor/CodeEditor";
import CodeEditor from "./views/problem/codeeditor/CodeEditor";
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="*" element={<Home/>}/>
</Routes>