Files
GSB-Construction/Modules/ProjectManagement/resources/js/Pages/Projects/Modules/Safety.tsx

28 lines
1.4 KiB
TypeScript

import ProjectLayout from '../../../Layouts/ProjectLayout';
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '@/Components/ui/card';
import { Construction } from 'lucide-react';
export default function Safety({ project, currentTab }: { project: any, currentTab: string }) {
if (!project) return <ProjectLayout project={null} currentTab={currentTab} children={null} />;
return (
<ProjectLayout project={project} currentTab={currentTab}>
<Card className="border-dashed border-2 bg-gray-50/50">
<CardHeader className="text-center pb-4">
<div className="mx-auto bg-emerald-100 text-emerald-600 p-3 rounded-full w-fit mb-4">
<Construction className="w-8 h-8" />
</div>
<CardTitle className="text-2xl">Safety Module</CardTitle>
<CardDescription>
This module is currently being scaffolded.
Soon you will be able to conduct tool box talks, report incidents, and manage safety compliance.
</CardDescription>
</CardHeader>
<CardContent className="text-center text-sm text-gray-500">
Integration in progress. Please check back later.
</CardContent>
</Card>
</ProjectLayout>
);
}