From f0b101386b25d679e3ea0648990466b4b3e2555c Mon Sep 17 00:00:00 2001 From: Jagraj Aulakh Date: Thu, 13 Apr 2023 16:11:33 -0400 Subject: [PATCH] #44 Made manage page. Displays table of all courses that the instuctor is teaching --- frontend/src/App.js | 7 +++ frontend/src/components/MyNavbar.jsx | 4 +- frontend/src/pages/ManagePage.jsx | 74 ++++++++++++++++++++++++++++ 3 files changed, 83 insertions(+), 2 deletions(-) create mode 100644 frontend/src/pages/ManagePage.jsx diff --git a/frontend/src/App.js b/frontend/src/App.js index 8417925..0f1ece6 100644 --- a/frontend/src/App.js +++ b/frontend/src/App.js @@ -5,6 +5,7 @@ import LoginPage from "./pages/LoginPage"; import LogoutPage from "./pages/LogoutPage"; import RegisterPage from "./pages/RegisterPage"; import CoursePage from "./pages/CoursePage"; +import ManagePage from "./pages/ManagePage"; import AuthenticatedRoute from "./components/AuthenticatedRoute"; function App() { @@ -40,6 +41,12 @@ function App() { ); }} + + + + + + ); } diff --git a/frontend/src/components/MyNavbar.jsx b/frontend/src/components/MyNavbar.jsx index ab02037..8ccf374 100644 --- a/frontend/src/components/MyNavbar.jsx +++ b/frontend/src/components/MyNavbar.jsx @@ -32,8 +32,8 @@ const MyNavbar = () => {