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

19 lines
750 B
TypeScript
Raw Normal View History

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";
import { CAM_BASE } from "../utils/config";
2025-08-13 14:23:48 +01:00
const Dashboard = () => {
const base_url = `${CAM_BASE}/SightingListFront/sightingSummary?mostRecentRef=`;
2025-08-13 14:23:48 +01:00
return (
<SightingFeedProvider url={base_url} side="Front">
<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;