'use client' import { TABS, TabNavigation, LoadingSpinner, ErrorMessage } from './_components/GCIHelpers' import { OverviewTab } from './_components/OverviewTab' import { BreakdownTab } from './_components/BreakdownTab' import { NIS2Tab } from './_components/NIS2Tab' import { ISOTab } from './_components/ISOTab' import { MatrixTab } from './_components/MatrixTab' import { AuditTab } from './_components/AuditTab' import { useGCI } from './_hooks/useGCI' export default function GCIPage() { const { activeTab, setActiveTab, loading, error, gci, breakdown, history, matrix, nis2, iso, profiles, selectedProfile, loadData, handleProfileChange, } = useGCI() return (

Gesamt-Compliance-Index (GCI)

4-stufiges, mathematisch fundiertes Compliance-Scoring

{error && loadData(selectedProfile)} />} {loading && !gci ? ( ) : gci ? (
{activeTab === 'overview' && ( )} {activeTab === 'breakdown' && ( )} {activeTab === 'nis2' && } {activeTab === 'iso' && } {activeTab === 'matrix' && } {activeTab === 'audit' && }
) : null}
) }