From e40c457179ad8e03225aad37402e26b6d7ceb465 Mon Sep 17 00:00:00 2001 From: Jake Kasper Date: Fri, 29 Aug 2025 08:11:51 -0400 Subject: [PATCH] admin stuff --- frontend/src/App.js | 11 + frontend/src/pages/Admin/AdminDashboard.js | 7 + frontend/src/pages/Admin/AdminEquipment.js | 472 ++++++++++++++++++ frontend/src/pages/Admin/AdminProducts.js | 552 ++++++++++++++++++++- frontend/src/pages/Admin/AdminUsers.js | 354 ++++++++++++- 5 files changed, 1388 insertions(+), 8 deletions(-) create mode 100644 frontend/src/pages/Admin/AdminEquipment.js diff --git a/frontend/src/App.js b/frontend/src/App.js index 8355a8c..262391d 100644 --- a/frontend/src/App.js +++ b/frontend/src/App.js @@ -32,6 +32,7 @@ import Profile from './pages/Profile/Profile'; import AdminDashboard from './pages/Admin/AdminDashboard'; import AdminUsers from './pages/Admin/AdminUsers'; import AdminProducts from './pages/Admin/AdminProducts'; +import AdminEquipment from './pages/Admin/AdminEquipment'; // Error pages import NotFound from './pages/Error/NotFound'; @@ -281,6 +282,16 @@ function App() { } /> + + + + + + } + /> {/* Error Routes */} } /> diff --git a/frontend/src/pages/Admin/AdminDashboard.js b/frontend/src/pages/Admin/AdminDashboard.js index f516726..5ccce94 100644 --- a/frontend/src/pages/Admin/AdminDashboard.js +++ b/frontend/src/pages/Admin/AdminDashboard.js @@ -132,6 +132,13 @@ const AdminDashboard = () => {
Manage Products
Add and manage lawn care products
+ +
Manage Equipment
+
Add and manage lawn care equipment
+