From 071f48b7632fef8720a204865001c02e70fc1547 Mon Sep 17 00:00:00 2001 From: jeffplays2005 Date: Wed, 2 Oct 2024 16:56:10 +1300 Subject: [PATCH 1/3] Add admin events route --- client/src/app/admin/events/page.tsx | 13 +++++++++++++ .../composite/Admin/AdminNavbar/AdminNavbar.tsx | 5 ++++- 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 client/src/app/admin/events/page.tsx diff --git a/client/src/app/admin/events/page.tsx b/client/src/app/admin/events/page.tsx new file mode 100644 index 000000000..a0efeb7a4 --- /dev/null +++ b/client/src/app/admin/events/page.tsx @@ -0,0 +1,13 @@ +"use client" + +import WrappedAdminMemberView from "@/components/composite/Admin/AdminMemberView/ProtectedAdminMemberView" +import { AdminHeading } from "../AdminHeading" + +export default function AdminEventsPage() { + return ( + <> + + + + ) +} diff --git a/client/src/components/composite/Admin/AdminNavbar/AdminNavbar.tsx b/client/src/components/composite/Admin/AdminNavbar/AdminNavbar.tsx index d167527b5..3e897704c 100644 --- a/client/src/components/composite/Admin/AdminNavbar/AdminNavbar.tsx +++ b/client/src/components/composite/Admin/AdminNavbar/AdminNavbar.tsx @@ -16,7 +16,7 @@ const Exit = () => { const AdminNavbar = () => { return (
@@ -27,6 +27,9 @@ const AdminNavbar = () => { bookings + + events + availability From cba9bc160b64cbfbec25c6eb567023e7c9c1d571 Mon Sep 17 00:00:00 2001 From: jeffplays2005 Date: Wed, 2 Oct 2024 16:59:17 +1300 Subject: [PATCH 2/3] Remove views in events view Not implemented yet --- client/src/app/admin/events/page.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/client/src/app/admin/events/page.tsx b/client/src/app/admin/events/page.tsx index a0efeb7a4..5218c6b7b 100644 --- a/client/src/app/admin/events/page.tsx +++ b/client/src/app/admin/events/page.tsx @@ -1,13 +1,11 @@ "use client" -import WrappedAdminMemberView from "@/components/composite/Admin/AdminMemberView/ProtectedAdminMemberView" import { AdminHeading } from "../AdminHeading" export default function AdminEventsPage() { return ( <> - ) } From 91e29dd7fa6b9d44160116631d074008460212c3 Mon Sep 17 00:00:00 2001 From: jeffplays2005 Date: Fri, 4 Oct 2024 22:41:21 +1300 Subject: [PATCH 3/3] Add work in progress to admin events page --- client/src/app/admin/events/page.tsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/client/src/app/admin/events/page.tsx b/client/src/app/admin/events/page.tsx index 5218c6b7b..0ac361375 100644 --- a/client/src/app/admin/events/page.tsx +++ b/client/src/app/admin/events/page.tsx @@ -1,11 +1,16 @@ "use client" +import WorkInProgressComponent from "@/components/generic/WorkInProgressComponent/WorkInProgressComponent" import { AdminHeading } from "../AdminHeading" export default function AdminEventsPage() { return ( <> +
+ +

Work in progress

+
) }