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-09-08 15:21:17 +01:00
|
|
|
<div className="mx-auto grid grid-cols-1 sm:grid-cols-1 lg:grid-cols-2 gap-2 px-1 sm:px-2 lg:px-0 w-full">
|
2025-08-22 10:38:28 +01:00
|
|
|
<SightingFeedProvider
|
|
|
|
|
url={
|
2025-09-08 15:21:17 +01:00
|
|
|
"http://192.168.75.11/SightingListFront/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
|
2025-09-08 15:21:17 +01:00
|
|
|
url="http://192.168.75.11/SightingListRear/sightingSummary?mostRecentRef="
|
2025-08-22 10:38:28 +01:00
|
|
|
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;
|