From dc51e613961bf13b5a82b0aa8cde015c72e96e88 Mon Sep 17 00:00:00 2001 From: Starstrike Date: Thu, 1 May 2025 12:32:43 -0400 Subject: [PATCH] Improve UI: Add event details to admin/view pages and fix items layout --- frontend/src/components/EventAdmin.tsx | 15 ++++++++++++++- frontend/src/components/EventView.tsx | 14 +++++++++++++- 2 files changed, 27 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/EventAdmin.tsx b/frontend/src/components/EventAdmin.tsx index 408fd6d..82d774f 100644 --- a/frontend/src/components/EventAdmin.tsx +++ b/frontend/src/components/EventAdmin.tsx @@ -412,6 +412,18 @@ const EventAdmin: React.FC = () => { + + + {event.description} + + + Location: {event.location} + + + Date: {new Date(event.date).toLocaleString()} + + + {/* Add items status section */} @@ -426,7 +438,8 @@ const EventAdmin: React.FC = () => { Manage Items - + + Still Needed: diff --git a/frontend/src/components/EventView.tsx b/frontend/src/components/EventView.tsx index 3ab1329..b13fd85 100644 --- a/frontend/src/components/EventView.tsx +++ b/frontend/src/components/EventView.tsx @@ -164,11 +164,23 @@ const EventView: React.FC = () => { + + + {event.description} + + + Location: {event.location} + + + Date: {new Date(event.date).toLocaleString()} + + + Items Status - + Still Needed: