{title}
{subtitle}
diff --git a/client/src/pages/SchedulePage.tsx b/client/src/pages/SchedulePage.tsx
new file mode 100644
index 0000000..52b9a20
--- /dev/null
+++ b/client/src/pages/SchedulePage.tsx
@@ -0,0 +1,109 @@
+import { Card, CardBody, Table, TableBody, TableCell, TableColumn, TableHeader, TableRow } from '@nextui-org/react';
+import DefaultLayout from "../layouts/default";
+import { useEffect, useState } from 'react';
+import axios from 'axios';
+import config from '../config';
+
+
+interface Schedule {
+ id: number;
+ dateTime: string;
+ location: string;
+ postalCode: string;
+ status: string;
+}
+
+export default function SchedulePage() {
+
+ const [scheduleList, setScheduleList] = useState
([]);
+
+ useEffect(() => {
+ axios.get(config.serverAddress + '/schedule')
+ .then((res) => {
+ const schedules = res.data.map((schedule: Schedule) => ({
+ ...schedule,
+ dateTime: new Date(schedule.dateTime), // Convert to Date object
+ }));
+ setScheduleList(schedules);
+ })
+ .catch((err) => {
+ console.error('Error fetching schedules:', err);
+ });
+ }, []);
+
+ return (
+
+
+ Karang Guni Schedule
+
+
+
+ Date
+ Time
+ Location
+ Postal Code
+ Status
+
+
+ {scheduleList.map((schedule) => (
+
+ {((schedule.dateTime as unknown) as Date).toLocaleDateString()}
+ {((schedule.dateTime as unknown) as Date).toLocaleTimeString([], { hour: '2-digit', minute: '2-digit' })}
+ {schedule.location}
+ {schedule.postalCode}
+ {schedule.status}
+
+ ))}
+
+
+
+
+
+
+
+
+ Paper
+ $0.05 to 0.20/KG
+
+ - Cardboard ($0.20/kg)
+ - Newspaper and B&W ($0.11/kg)
+ - Mix paper ($0.05/kg)
+
+
+
+
+
+
+
+ Paper
+ $0.05 to 0.20/KG
+
+ - Cardboard ($0.20/kg)
+ - Newspaper and B&W ($0.11/kg)
+ - Mix paper ($0.05/kg)
+
+
+
+
+
+
+
+ Paper
+ $0.05 to 0.20/KG
+
+ - Cardboard ($0.20/kg)
+ - Newspaper and B&W ($0.11/kg)
+ - Mix paper ($0.05/kg)
+
+
+
+
+
+
+
+
+
+
+
+ );
+ }
\ No newline at end of file
diff --git a/client/src/pages/SpringboardPage.tsx b/client/src/pages/SpringboardPage.tsx
index 2a8ed21..bc45935 100644
--- a/client/src/pages/SpringboardPage.tsx
+++ b/client/src/pages/SpringboardPage.tsx
@@ -76,18 +76,26 @@ export default function SpringboardPage() {
-