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

@@ -0,0 +1,24 @@
import type { IconProp } from "@fortawesome/fontawesome-svg-core";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import clsx from "clsx";
type CameraOverviewHeaderProps = {
title: string;
icon: IconProp;
};
const CardHeader = ({ title, icon }: CameraOverviewHeaderProps) => {
return (
<div
className={clsx(
"w-full border-b border-gray-600 flex flex-row items-center space-x-2 md:mb-6"
)}
>
<FontAwesomeIcon icon={icon} className="size-4" />
<h2 className="text-xl">{title}</h2>
</div>
);
};
export default CardHeader;