import { useState } from 'react'; import { Zap, AlertTriangle, Activity, Plus, Clock, ShieldCheck } from "lucide-react"; import Button from "@/components/common/button"; import StatCard from "@/components/common/dashStatCard"; import InfoBanner from '@/components/common/infoBanner'; import Table from '@/components/common/dataTable'; import { assetHealthheaders, assetHealthrows } from '@/constants/tabledata'; export default function AssetHealthPortal() { return (
{/* --- HEADER SECTION --- */}
Apple One — HQ Tower INTELLIGENCE ASSET HEALTH

Asset health & reliability

A live health index per asset from reliability signals — MTBF, MTTR and criticality drive condition-based PM instead of fixed calendars.

{/* --- HEADER BUTTONS --- */}
{/* --- STAT CARDS --- */}
{/* Card 1: Predicted failures */}
{/* --- MAIN CONTENT GRID (TABLE + RIGHT SIDE CARDS) --- */}
{/* Left Section: Asset Health Register Table Container */}

Asset health register

condition-based
{/* Right Section: Reliability & Condition Mix Side Panel */}
{/* Card 1: Reliability by group */}

Reliability by group

{/* Electrical */}
Electrical
75
{/* Plumbing */}
Plumbing
86
{/* Card 2: Condition mix */}

Condition mix

{/* Healthy */}
Healthy
4
{/* Watch */}
Watch
4
{/* At risk */}
At risk
0
{/* --- INFO BANNER --- */}
); }