2025-09-23 13:03:54 +01:00
|
|
|
import { useSound } from "react-sounds";
|
2025-09-08 15:21:17 +01:00
|
|
|
import Card from "../UI/Card";
|
|
|
|
|
import CardHeader from "../UI/CardHeader";
|
|
|
|
|
|
|
|
|
|
const SessionCard = () => {
|
2025-09-23 13:03:54 +01:00
|
|
|
const { play } = useSound("notification/notification");
|
|
|
|
|
// function onStart(): void {
|
|
|
|
|
// throw new Error("Function not implemented.");
|
|
|
|
|
// }
|
2025-09-16 14:20:38 +01:00
|
|
|
|
2025-09-08 15:21:17 +01:00
|
|
|
return (
|
|
|
|
|
<Card>
|
2025-09-16 14:20:38 +01:00
|
|
|
<CardHeader title="Session" />
|
2025-09-08 15:21:17 +01:00
|
|
|
<div className="flex flex-col gap-4">
|
|
|
|
|
<button
|
|
|
|
|
className="bg-[#26B170] text-white px-4 py-2 rounded hover:bg-green-700 transition w-full max-w-md"
|
2025-09-23 13:03:54 +01:00
|
|
|
onClick={() => {
|
|
|
|
|
play();
|
|
|
|
|
}}
|
2025-09-08 15:21:17 +01:00
|
|
|
>
|
|
|
|
|
Start Session
|
|
|
|
|
</button>
|
2025-09-16 14:20:38 +01:00
|
|
|
|
|
|
|
|
<ul className="text-white space-y-2">
|
|
|
|
|
<li>Number of Vehicles: </li>
|
|
|
|
|
<li>Vehicles without Tax: </li>
|
|
|
|
|
<li>Vehicles without MOT: </li>
|
|
|
|
|
<li>Vehicles with NPED Cat A: </li>
|
|
|
|
|
<li>Vehicles with NPED Cat B: </li>
|
|
|
|
|
<li>Vehicles with NPED Cat C: </li>
|
|
|
|
|
</ul>
|
2025-09-08 15:21:17 +01:00
|
|
|
</div>
|
|
|
|
|
</Card>
|
|
|
|
|
);
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export default SessionCard;
|