diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 0b8f0e9..3d44c11 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -27,7 +27,7 @@ export default function RootLayout({ return ( {children} diff --git a/src/app/private/admin/home/page.tsx b/src/app/private/admin/home/page.tsx index 5182710..5cc7849 100644 --- a/src/app/private/admin/home/page.tsx +++ b/src/app/private/admin/home/page.tsx @@ -3,12 +3,96 @@ import StatsCard from "@components/StatsCard"; import TopHeader from "@components/TopHeader"; import EventCard from "@components/EventCard"; - +import VolunteerTable from "@components/VolunteerTable/VolunteerTable"; const AdminHomePage = () => { + const start1 = new Date("December 10, 2024 11:20:00"); + const end1 = new Date("December 17, 2024 13:20:00"); + const start2 = new Date("December 10, 2024 12:30:00"); + const end2 = new Date("December 17, 2024 14:00:00"); + const start3 = new Date("December 10, 2024 14:20:00"); + const end3 = new Date("December 17, 2024 14:30:00"); + return (
- + + +
+
+

+ Thanks for checking in, An 👋 +

+

+ What's the next event you want to join? +

+
+ +
+
+ +
+ +
+ +
+
+ +
+

+ Upcoming Events +

+
+
+ + + + +
+
+
+

+ Volunteers List +

+
+ +
+
); }; diff --git a/src/components/VolunteerTable/VolunteerTable.tsx b/src/components/VolunteerTable/VolunteerTable.tsx index 8ad3352..1476d10 100644 --- a/src/components/VolunteerTable/VolunteerTable.tsx +++ b/src/components/VolunteerTable/VolunteerTable.tsx @@ -34,9 +34,9 @@ function getUserRole(userType: number): string { } const rows = [ - createData("Name1", 0, "email1", "location1"), - createData("Name2", 1, "email2", "location2"), - createData("Name3", 2, "email3", "location2"), + createData("An Tran", 2, "atran14@tufts.edu", "Medford, MA"), + createData("Johnny Tan", 1, "johnny.tan@tufts.edu", "Medford, MA"), + createData("Won Kim", 0, "won.kim642510@tufts.edu", "Somerville, MA"), ]; export default function VolunteerTable() {