import { Pencil, FileText, QrCode, Search, Plus, AlertTriangle, Clock, ShieldCheck, Target, Download, LayoutGrid, } from "lucide-react"; import Table from "@/utils/dataTable"; import InfoBanner from "@/utils/infoBanner"; import Button from "@/utils/button"; import NavigationTabs from "@/utils/tabs"; import { equipmentTabs } from "@/constants/constant"; import { useState } from "react"; const headers = [ "Code", "Equipment", "Group", "Block · Floor", "Service Provider", "Criticality", "PPM Status", "Actions", ]; const Badge = ({ text, color, }: { text: string; color: string; }) => ( {text} ); const ActionButtons = () => (
); export default function EquipmentPortal() { const [activeTab, setActiveTab] = useState("Site-Wise Equipment"); const rows = [ [ APP-1100, Cooling Tower, "Electrical", "Block 1 · 2", "Blue Star", "Important", , , ], [ APP-1103, Air Handling Unit, "Plumbing", "Tower A · 1", "Blue Star", , , , ], [ APP-1106, VRV Outdoor, "Electrical", "Tower A · G", "Voltas", , , , ], [ APP-1109, VRV Outdoor, "HVAC", "Tower A · 1", "Voltas", "Normal", , , ], [ APP-1112, Air Handling Unit, "HVAC", "Tower A · G", "In-house", , , , ], [ APP-1115, Air Handling Unit, "Electrical", "Tower A · 2", "Voltas", , , , ], [ APP-1118, Chiller, "Electrical", "Block 1 · 1", "In-house", "Important", , , ], [ APP-1121, Cooling Tower, "Plumbing", "Tower A · 1", "Blue Star", "Normal", , , ], ]; return (
Apple One — HQ Tower Operations Equipment

Equipment & maintenance

Asset register, preventive (PPM) and contract (AMC) maintenance, scoped to the active tenant.

{/* Navigation Tabs */} {/* --- STAT CARDS (4 CARDS MATCHING SCREENSHOT) --- */}
{/* Total equipment */}
4 groups
8
Total equipment
{/* Critical assets */}
priority
4
Critical assets
{/* PPM attention */}
due / overdue
3
PPM attention
{/* On plan */}
healthy
5
On plan
{/* --- ROW 2: SEARCH, FILTERS & ACTION BUTTONS --- */}
{/* Search & Group Dropdown */}
{/* Search Bar */}
{/* All groups dropdown */}
{/* Action Buttons Right Side */}
{/* All QR */} {/* Download */} {/* Bulk upload */} {/* Add equipment */}
{/* Data Table */}
{/* Info Banner */}
); }