code editor page
This commit is contained in:
parent
ef85ff6d24
commit
29694fd201
7 changed files with 565 additions and 0 deletions
|
|
@ -9,6 +9,7 @@ import ProtectedRoute from "../components/ProtectedRoute";
|
|||
// Pages
|
||||
import HomePage from "../pages/HomePage";
|
||||
import LoginPage from "../pages/LoginPage";
|
||||
import PageCodeEditor from "../pages/CodeEditor";
|
||||
import PageNotFound from "../pages/PageNotFound";
|
||||
|
||||
const AppRouter = () => {
|
||||
|
|
@ -26,6 +27,14 @@ const AppRouter = () => {
|
|||
</ProtectedRoute>
|
||||
}
|
||||
/>
|
||||
<Route
|
||||
path="/editor"
|
||||
element={
|
||||
<ProtectedRoute>
|
||||
<PageCodeEditor />
|
||||
</ProtectedRoute>
|
||||
}
|
||||
/>
|
||||
<Route path="*" element={<PageNotFound />} />
|
||||
</Routes>
|
||||
<Footer />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue