2025-08-13 14:23:48 +01:00
|
|
|
import FrontCameraOverviewCard from "../components/FrontCameraOverview/FrontCameraOverviewCard";
|
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-09-29 13:00:56 +01:00
|
|
|
import { CAM_BASE } from "../utils/config";
|
2025-09-23 13:03:54 +01:00
|
|
|
|
2025-08-13 14:23:48 +01:00
|
|
|
const Dashboard = () => {
|
2025-09-29 15:21:22 +01:00
|
|
|
const base_url = `${CAM_BASE}/SightingListFront/sightingSummary?mostRecentRef=`;
|
2025-08-13 14:23:48 +01:00
|
|
|
return (
|
2025-09-29 13:00:56 +01:00
|
|
|
<SightingFeedProvider url={base_url} side="Front">
|
2025-09-26 11:42:12 +01:00
|
|
|
<div className="mx-auto flex flex-col lg:flex-row gap-2 px-1 sm:px-2 lg:px-0 w-full min-h-screen">
|
|
|
|
|
<FrontCameraOverviewCard />
|
|
|
|
|
<SightingHistoryWidget title="Sightings" />
|
|
|
|
|
</div>
|
|
|
|
|
</SightingFeedProvider>
|
2025-08-13 14:23:48 +01:00
|
|
|
);
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export default Dashboard;
|