import { useState } from 'react'; import { Leaf, Activity, ClipboardCheck, Star, BarChart2, Plus, } 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"; // Custom BarChart Import import BarChart from "@/components/charts/barchart"; import InfoBanner from '@/components/common/infoBanner'; import { EMISSION_SOURCES, energyData, } from '@/constants/constant'; import { sustainabilitytabs } from '@/constants/tabConstant'; export default function SustainabilityPortal() { const [activeTab, setActiveTab] = useState('ESG Data Hub'); return (
{/* --- HEADER SECTION --- */}
Apple One — HQ Tower INTELLIGENCE SUSTAINABILITY

ESG One — sustainability platform

Every environmental, social and governance metric — carbon, energy, water, waste, safety, DEI, compliance — consolidated on one live platform with framework-ready reporting.

{/* --- HEADER BUTTONS --- */}
{/* --- STAT CARDS --- */}
{/* Card 1: 118 t */} {/* Card 2: 214 */} {/* Card 3: 5 */} {/* Card 4: B+ */}
{/* --- NAVIGATION TABS --- */} {/* --- ESG CARDS SECTION BELOW TABS --- */}
{/* Environmental Card */}
Energy
1.42 GWh -4.2%
Water
18,400 kL -2.8%
Waste diverted
61% +5.0%
Refrigerant leaks
2 events +1
{/* Social Card */}
Safety · LTIFR
0.42 -0.11
Training hours
1,240 +180
Tenant satisfaction
4.4 / 5 +0.2
Workforce diversity
34% +2%
{/* Governance Card */}
Statutory compliance
98% 2 open
Audit findings closed
91% on time
Vendor code-of-conduct
87% signed
Data-privacy incidents
0 90 days
{/* --- CARBON EMISSIONS BAR CHART & EMISSION SOURCES SECTION --- */}
{/* Left: Carbon Emissions BarChart */}
{/* Right: Emission Sources */}
{EMISSION_SOURCES.map((source, idx) => (
{source.name}
{source.percentage}
))}

Every figure traces back to a meter, sensor or signed record — audit-ready by construction.

); }