Add CameraSettings context and provider; integrate into AppProviders and VideoFeed

This commit is contained in:
2025-12-22 16:10:34 +00:00
parent 6879e30b9c
commit 70083d9c60
10 changed files with 118 additions and 13 deletions

View File

@@ -8,11 +8,13 @@ type SightingStackProps = {
};
const SightingStack = ({ sightings }: SightingStackProps) => {
return (
<Card className="p-4 w-full h-full md:h-[65%]">
<CardHeader title="Sightings" />
{sightings.map((sighting) => (
<SightingItem key={sighting.ref} sighting={sighting} />
))}
<Card className="p-4 w-full h-full ">
<CardHeader title="Live Sightings" />
<div className="md:h-[65%]">
{sightings.map((sighting) => (
<SightingItem key={sighting.ref} sighting={sighting} />
))}
</div>
</Card>
);
};