Assignment Page for instructor
This commit is contained in:
parent
1b2f4b10ba
commit
88641d24fc
5 changed files with 309 additions and 0 deletions
|
|
@ -14,6 +14,7 @@ import PageNotFound from "../pages/PageNotFound";
|
|||
import Hero from "../components/Hero";
|
||||
import Navbar from "../components/Navbar";
|
||||
import Services from "../components/Services";
|
||||
import AssignmentPage from "../pages/AssignmentPage";
|
||||
|
||||
const AppRouter = () => {
|
||||
return (
|
||||
|
|
@ -32,6 +33,14 @@ const AppRouter = () => {
|
|||
</>
|
||||
}
|
||||
/>
|
||||
<Route
|
||||
path="assignment"
|
||||
element={
|
||||
// <ProtectedRoute role="instructor">
|
||||
<AssignmentPage />
|
||||
// </ProtectedRoute>
|
||||
}
|
||||
/>
|
||||
<Route path="login" element={<LoginPage />} />
|
||||
<Route
|
||||
path="editor"
|
||||
|
|
@ -41,6 +50,7 @@ const AppRouter = () => {
|
|||
</ProtectedRoute>
|
||||
}
|
||||
/>
|
||||
|
||||
<Route path="*" element={<PageNotFound />} />
|
||||
</Routes>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue