import { useState } from 'react'; import { Star, ShieldCheck, Activity, Clock, BarChart2, Plus } from "lucide-react"; import Button from "@/components/common/button"; import StatCard from "@/components/common/dashStatCard"; import InfoBanner from "@/components/common/infoBanner"; import FilterTabs from '@/components/common/roundedFilters'; import { visitorFilters } from '@/constants/constant'; import Table from '@/components/common/dataTable'; export default function VistiorManagementPortal() { const headers = [ "Pass", "Visitor", "Company", "Host", "Purpose", "Type", "In", "Out", "Status", "", ]; const Badge = ({ text, color, }: { text: string; color: string; }) => ( {text} ); const rows = [ [ VIS-4145, Rahul Mehta, "Voltas Ltd", "Dhananjay T.", "Maintenance visit", Contractor, "09:12", "—", , , ], [ VIS-4146, Anita Desai, "Siemens", "ME Local", "Interview", Interview, "—", "—", , , ], [ VIS-4147, Karthik R., "Schindler", "Site FM Lead", "Client meeting", Guest, "08:05", "10:40", , , ], [ VIS-4148, Priya Nair, "Amazon Logistics", "Estates Office", "Material delivery", Delivery, "—", "—", , , ], [ VIS-4149, Imran Q., "FreshMenu", "TECH Local", "AMC service", Contractor, "10:30", "—", , , ], [ VIS-4145, Rahul Mehta, "Voltas Ltd", "Dhananjay T.", "Maintenance visit", Contractor, "09:12", "—", , , ], [ VIS-4146, Anita Desai, "Siemens", "ME Local", "Interview", Interview, "—", "—", , , ], [ VIS-4147, Karthik R., "Schindler", "Site FM Lead", "Client meeting", Guest, "08:05", "10:40", , , ], [ VIS-4148, Priya Nair, "Amazon Logistics", "Estates Office", "Material delivery", Delivery, "—", "—", , , ], [ VIS-4149, Imran Q., "FreshMenu", "TECH Local", "AMC service", Contractor, "10:30", "—", , , ], ]; const [activeFilter, setActiveFilter] = useState('All'); return (
{/* --- HEADER SECTION --- */}
Apple One — HQ Tower Workplace Visitors

Visitor management

Pre-registration, QR / OTP check-in, host notifications and on-site visitor tracking with a full audit trail.

{/* --- HEADER BUTTONS --- */}
{/* --- STAT CARDS --- */}
{/* Active vendors */} {/* Avg SLA adherence */} {/* Open field jobs */} {/* Avg response time */}
{/* --- STATUS PILL FILTERS --- */}
); }