added forms and refactored component names

This commit is contained in:
2025-08-15 09:32:33 +01:00
parent 92e3617335
commit d537a32e2c
20 changed files with 640 additions and 309 deletions

View File

@@ -3,7 +3,8 @@ import Card from "../UI/Card";
import { SnapshotContainer } from "../CameraOverview/SnapshotContainer";
import { useSwipeable } from "react-swipeable";
import { useNavigate } from "react-router";
import CameraOverviewHeader from "../CameraOverview/CameraOverviewHeader";
import CardHeader from "../UI/CardHeader";
import { faCamera } from "@fortawesome/free-regular-svg-icons";
const RearCameraOverviewCard = () => {
const navigate = useNavigate();
@@ -15,7 +16,7 @@ const RearCameraOverviewCard = () => {
return (
<Card className={clsx("min-h-[40vh] md:min-h-[60vh] h-auto")}>
<div className="flex flex-col space-y-3 h-full" {...handlers}>
<CameraOverviewHeader title="Rear Overiew" />
<CardHeader title="Rear Overiew" icon={faCamera} />
<SnapshotContainer side="TargetDetectionRear" />
</div>
</Card>