import React from 'react'; import { BarChart2, Zap } from "lucide-react"; import Button from "@/components/common/button"; import { Card } from '@/components/common/cardWrapper'; import Table from '@/components/common/dataTable'; import { energyUtilityHeaders, energyUtilityRows } from '@/constants/tabledata'; import InfoBanner from '@/components/common/infoBanner'; export default function EnergyUtilityPortal() { return (
{/* --- HEADER SECTION --- */}
APPLE ONE — HQ TOWER IOT ENERGY & UTILITIES

Energy & utilities telemetry

Live smart-meter streams for power, water and gas — the same spine that feeds the Energy module and ESG reporting.

{/* --- HEADER BUTTONS --- */}
{/* --- STAT CARDS (WITH PROGRESS LINES) --- */}
{/* Card 1: LIVE BUILDING LOAD */}
LIVE BUILDING LOAD
386 kW

peak today 512 kW

{/* Card 2: ENERGY TODAY (Active highlighted border) */}
ENERGY TODAY
3,120 kWh

-4% vs yesterday

{/* Card 3: WATER TODAY */}
WATER TODAY
38.4 kL

municipal + borewell

{/* Card 4: METERS ONLINE */}
METERS ONLINE
4 / 6

1 gas meter offline

{/* --- TELEMETRY & BREAKDOWN SECTION --- */}
{/* Left Side: Smart Meters Table */}

Smart meters

auto-polled

{/* Right Side: Load by end use — live */}

Load by end use — live

% of 386 kW

{/* Load Breakdown Bars */}
{/* HVAC Plant */}
HVAC plant 44%
{/* Lighting & small power */}
Lighting & small power 23%
{/* Lifts & pumps */}
Lifts & pumps 12%
{/* Data / UPS */}
Data / UPS 11%
{/* Others */}
Others 10%
); }