import { useState } from 'react'; import { ShieldCheck, MapPin, Check, Clock, BarChart2, Map } from "lucide-react"; import Button from "@/components/common/button"; import StatCard from "@/components/common/dashStatCard"; import NavigationTabs from '@/components/common/tabs'; // Card Components import { Card } from "@/components/common/cardWrapper"; import { CardHeader } from "@/components/common/cardHeader"; import InfoBanner from '@/components/common/infoBanner'; import { STAFF_DATA } from '@/constants/constant'; import { gpsTrackingtabs } from '@/constants/tabConstant'; export default function GpsTrackingPortal() { const [activeTab, setActiveTab] = useState('Live tracking'); return (
{/* --- HEADER SECTION --- */}
Apple One — HQ Tower INTELLIGENCE GPS TRACKING

GPS staff tracking & geo-fencing

Live geo-tagged locations, geo-fence attendance validation, route history and site entry / exit logs — battery-optimised with cell-tower fallback and mobile-app capture.

{/* --- HEADER BUTTONS --- */}
{/* --- STAT CARDS --- */}
{/* --- NAVIGATION TABS --- */} {/* --- MAP & STAFF STATUS SECTION BELOW TABS --- */}
{/* Left: Live Staff Map */}
{/* Map Canvas Visual */}
{/* Grid Background Lines */}
{/* Geo-Fence Boundary Box */}
GEO-FENCE · SITE BOUNDARY {/* On-Site Staff Dots */}
{/* En-Route Staff Dot (Outside Fence) */}
{/* Right: Staff Status Table */}
{STAFF_DATA.map((staff, idx) => ( ))}
NAME ROLE ZONE IN HRS STATUS
{staff.name} {staff.role} {staff.zone} {staff.inTime} {staff.hrs} {staff.status}
); }