code editor
This commit is contained in:
@@ -5,12 +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";
|
||||
|
||||
function App() {
|
||||
return (
|
||||
<div className="flex w-full h-full">
|
||||
<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="*" element={<Home/>}/>
|
||||
</Routes>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user