Files
Mav-Mobile-UI/src/pages/Dashboard.tsx

33 lines
1.2 KiB
TypeScript
Raw Normal View History

2025-08-13 14:23:48 +01:00
import FrontCameraOverviewCard from "../components/FrontCameraOverview/FrontCameraOverviewCard";
import RearCameraOverviewCard from "../components/RearCameraOverview/RearCameraOverviewCard";
2025-08-22 10:38:28 +01:00
2025-08-20 08:27:05 +01:00
import SightingHistoryWidget from "../components/SightingsWidget/SightingWidget";
2025-08-29 10:07:59 +01:00
import { SightingFeedProvider } from "../context/providers/SightingFeedProvider";
2025-08-13 14:23:48 +01:00
const Dashboard = () => {
return (
2025-08-22 10:38:28 +01:00
<div className="mx-auto grid grid-cols-1 sm:grid-cols-1 lg:grid-cols-2 gap-2 px-2 sm:px-4 lg:px-0 w-full">
<SightingFeedProvider
url={
2025-08-29 14:55:37 +01:00
"http://100.82.205.44/SightingListFront/sightingSummary?mostRecentRef="
// "http://100.116.253.81/mergedHistory/sightingSummary?mostRecentRef="
2025-08-22 10:38:28 +01:00
}
side="Front"
>
2025-08-20 08:27:05 +01:00
<FrontCameraOverviewCard className="order-1" />
<SightingHistoryWidget className="order-3" />
</SightingFeedProvider>
2025-08-22 10:38:28 +01:00
<SightingFeedProvider
url="http://100.82.205.44/SightingListRear/sightingSummary?mostRecentRef="
side="Rear"
>
2025-08-20 08:27:05 +01:00
<RearCameraOverviewCard className="order-2" />
<SightingHistoryWidget className="order-4" />
</SightingFeedProvider>
2025-08-13 14:23:48 +01:00
</div>
);
};
export default Dashboard;