From cf97a77699dca9487faadb4fcb6c1aa11e954247 Mon Sep 17 00:00:00 2001 From: Ariel Rotter-Aboyoun Date: Wed, 11 Dec 2024 15:43:18 -0800 Subject: [PATCH] feat: Added base page at /admin --- frontend/src/routes/ViewRouter.tsx | 5 +++++ frontend/src/views/AdminDashboard/AdminDashboard.tsx | 9 +++++++++ 2 files changed, 14 insertions(+) create mode 100644 frontend/src/views/AdminDashboard/AdminDashboard.tsx diff --git a/frontend/src/routes/ViewRouter.tsx b/frontend/src/routes/ViewRouter.tsx index fca5fa9..bde28b8 100644 --- a/frontend/src/routes/ViewRouter.tsx +++ b/frontend/src/routes/ViewRouter.tsx @@ -5,6 +5,7 @@ import { Routes, Route } from 'react-router-dom'; import LandingPage from '../views/LandingPage/LandingPage'; import FarmInformation from '../views/FarmInformation/FarmInformation'; +import AdminDashboard from '@/views/AdminDashboard/AdminDashboard'; export default function ViewRouter() { return ( @@ -17,6 +18,10 @@ export default function ViewRouter() { path="/farm-information" Component={FarmInformation} /> + ); } diff --git a/frontend/src/views/AdminDashboard/AdminDashboard.tsx b/frontend/src/views/AdminDashboard/AdminDashboard.tsx new file mode 100644 index 0000000..9fd90fc --- /dev/null +++ b/frontend/src/views/AdminDashboard/AdminDashboard.tsx @@ -0,0 +1,9 @@ +import { Card } from '@/components/common'; + +export default function AdminDashboard() { + return ( + +
Ho ho ho! Cherry Swiss Miss!
+
+ ); +}