add problems

This commit is contained in:
Виталий Лавшонок
2025-10-28 23:15:29 +03:00
parent edd4426780
commit 71985fa04f
9 changed files with 625 additions and 13 deletions

View File

@@ -11,13 +11,16 @@ import ProblemStatement from "./views/problem/statement/Proble";
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-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={<ProblemStatement/>}/>
</Routes>
<div className="w-full h-full bg-liquid-background flex justify-center">
<div className="relative w-full max-w-[1600px] 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-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={<ProblemStatement />} />
</Routes>
</div>
{/* <Switch
className=" fixed top-0 left-0 z-full"