'use client' /** * CI/CD Dashboard * * Zentrale Uebersicht fuer: * - Gitea Actions Pipelines * - Runner Status * - Container Deployments * - Pipeline Konfiguration */ import { PagePurpose } from '@/components/common/PagePurpose' import { DevOpsPipelineSidebarResponsive } from '@/components/infrastructure/DevOpsPipelineSidebar' import { useCiCdData } from './useCiCdData' import type { TabType } from './types' import { OverviewTab } from './_components/OverviewTab' import { WoodpeckerTab } from './_components/WoodpeckerTab' import { PipelinesTab } from './_components/PipelinesTab' import { DeploymentsTab } from './_components/DeploymentsTab' import { SetupTab } from './_components/SetupTab' import { SchedulerTab } from './_components/SchedulerTab' // ============================================================================ // Tab Definitions // ============================================================================ const TABS: { id: TabType; name: string; icon: React.ReactNode }[] = [ { id: 'overview', name: 'Uebersicht', icon: ( )}, { id: 'woodpecker', name: 'Woodpecker CI', icon: ( )}, { id: 'pipelines', name: 'Gitea Pipelines', icon: ( )}, { id: 'deployments', name: 'Deployments', icon: ( )}, { id: 'setup', name: 'Konfiguration', icon: ( )}, { id: 'scheduler', name: 'BQAS Scheduler', icon: ( )}, ] // ============================================================================ // Main Component // ============================================================================ export default function CICDPage() { const data = useCiCdData() return (