Website (14 monoliths split): - compliance/page.tsx (1,519 → 9), docs/audit (1,262 → 20) - quality (1,231 → 16), alerts (1,203 → 10), docs (1,202 → 11) - i18n.ts (1,173 → 8 language files) - unity-bridge (1,094 → 12), backlog (1,087 → 6) - training (1,066 → 8), rag (1,063 → 8) - Deleted index_original.ts (4,899 LOC dead backup) Studio-v2 (5 monoliths split): - meet/page.tsx (1,481 → 9), messages (1,166 → 9) - AlertsB2BContext.tsx (1,165 → 5 modules) - alerts-b2b/page.tsx (1,019 → 6), korrektur/archiv (1,001 → 6) All existing imports preserved. Zero new TypeScript errors. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
38 lines
1.2 KiB
TypeScript
38 lines
1.2 KiB
TypeScript
'use client'
|
|
|
|
/**
|
|
* Developer Documentation Page
|
|
*
|
|
* SDK-style documentation with architecture overview, API reference,
|
|
* and interactive system architecture diagram
|
|
*/
|
|
|
|
import { useState } from 'react'
|
|
import AdminLayout from '@/components/admin/AdminLayout'
|
|
import type { TabType } from './types'
|
|
import TabNavigation from './_components/TabNavigation'
|
|
import OverviewTab from './_components/OverviewTab'
|
|
import ServicesTab from './_components/ServicesTab'
|
|
import ApiReferenceTab from './_components/ApiReferenceTab'
|
|
import DockerTab from './_components/DockerTab'
|
|
import TestingTab from './_components/TestingTab'
|
|
|
|
export default function DeveloperDocsPage() {
|
|
const [activeTab, setActiveTab] = useState<TabType>('overview')
|
|
|
|
return (
|
|
<AdminLayout
|
|
title="Developer Documentation"
|
|
description="API Reference, Architektur und Service-Dokumentation"
|
|
>
|
|
<TabNavigation activeTab={activeTab} onTabChange={setActiveTab} />
|
|
|
|
{activeTab === 'overview' && <OverviewTab />}
|
|
{activeTab === 'services' && <ServicesTab />}
|
|
{activeTab === 'api' && <ApiReferenceTab />}
|
|
{activeTab === 'docker' && <DockerTab />}
|
|
{activeTab === 'testing' && <TestingTab />}
|
|
</AdminLayout>
|
|
)
|
|
}
|