2025-08-13 14:23:48 +01:00
|
|
|
import clsx from "clsx";
|
|
|
|
|
import { SnapshotContainer } from "../CameraOverview/SnapshotContainer";
|
2025-08-15 09:32:33 +01:00
|
|
|
import { faCamera } from "@fortawesome/free-regular-svg-icons";
|
2025-08-13 14:23:48 +01:00
|
|
|
import Card from "../UI/Card";
|
2025-08-15 09:32:33 +01:00
|
|
|
import CardHeader from "../UI/CardHeader";
|
2025-08-13 14:23:48 +01:00
|
|
|
|
|
|
|
|
const OverviewVideoContainer = ({
|
|
|
|
|
title,
|
|
|
|
|
side,
|
|
|
|
|
}: {
|
|
|
|
|
title: string;
|
|
|
|
|
side: string;
|
|
|
|
|
}) => {
|
|
|
|
|
return (
|
|
|
|
|
<Card className={clsx("min-h-[40vh] md:min-h-[60vh] h-auto")}>
|
|
|
|
|
<div className="relative flex flex-col space-y-3 h-full">
|
2025-08-15 09:32:33 +01:00
|
|
|
<CardHeader title={title} icon={faCamera} />
|
2025-08-13 14:23:48 +01:00
|
|
|
<SnapshotContainer side={side} />
|
|
|
|
|
</div>
|
|
|
|
|
</Card>
|
|
|
|
|
);
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export default OverviewVideoContainer;
|