From b127429c39801e5b23f715113fedeb665cd475bc Mon Sep 17 00:00:00 2001 From: chark1es Date: Tue, 18 Feb 2025 18:30:09 -0800 Subject: [PATCH] add tab management --- src/components/dashboard/EventsSection.astro | 2 +- .../dashboard/Officer_EventManagement.astro | 2 +- src/components/dashboard/ProfileSection.astro | 2 +- .../dashboard/ReimbursementSection.astro | 2 +- .../dashboard/SettingsSection.astro | 2 +- .../dashboard/SponsorAnalytics.astro | 99 ++++ .../dashboard/SponsorDashboard.astro | 78 +++ src/config/dashboard.yaml | 112 +++- src/pages/dashboard.astro | 544 ++++++++++++------ src/utils/roleAccess.ts | 16 + 10 files changed, 669 insertions(+), 190 deletions(-) create mode 100644 src/components/dashboard/SponsorAnalytics.astro create mode 100644 src/components/dashboard/SponsorDashboard.astro create mode 100644 src/utils/roleAccess.ts diff --git a/src/components/dashboard/EventsSection.astro b/src/components/dashboard/EventsSection.astro index 7598bd2..115deb6 100644 --- a/src/components/dashboard/EventsSection.astro +++ b/src/components/dashboard/EventsSection.astro @@ -6,7 +6,7 @@ import EventCheckIn from "./EventsSection/EventCheckIn"; import EventLoad from "./EventsSection/EventLoad"; --- -