The admin-v2 application was incomplete in the repository. This commit restores all missing components: - Admin pages (76 pages): dashboard, ai, compliance, dsgvo, education, infrastructure, communication, development, onboarding, rbac - SDK pages (45 pages): tom, dsfa, vvt, loeschfristen, einwilligungen, vendor-compliance, tom-generator, dsr, and more - Developer portal (25 pages): API docs, SDK guides, frameworks - All components, lib files, hooks, and types - Updated package.json with all dependencies The issue was caused by incomplete initial repository state - the full admin-v2 codebase existed in backend/admin-v2 and docs-src/admin-v2 but was never fully synced to the main admin-v2 directory. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
53 lines
1.9 KiB
TypeScript
53 lines
1.9 KiB
TypeScript
'use client'
|
||
|
||
import { getCategoryById } from '@/lib/navigation'
|
||
import { ModuleCard } from '@/components/common/ModuleCard'
|
||
import { PagePurpose } from '@/components/common/PagePurpose'
|
||
|
||
export default function CompliancePage() {
|
||
const category = getCategoryById('compliance')
|
||
|
||
if (!category) {
|
||
return <div>Kategorie nicht gefunden</div>
|
||
}
|
||
|
||
return (
|
||
<div>
|
||
{/* Page Purpose */}
|
||
<PagePurpose
|
||
title={category.name}
|
||
purpose="Diese Kategorie umfasst alle Module fuer Datenschutz, DSGVO-Compliance und rechtliche Dokumentation. Hier verwalten Sie Einwilligungen, bearbeiten Betroffenenanfragen und dokumentieren Audit-Nachweise."
|
||
audience={['DSB', 'Compliance Officer', 'Auditoren']}
|
||
gdprArticles={['Art. 5 (Rechenschaftspflicht)', 'Art. 7 (Einwilligung)', 'Art. 15-21 (Betroffenenrechte)']}
|
||
architecture={{
|
||
services: ['consent-service (Go)', 'backend (Python)'],
|
||
databases: ['PostgreSQL'],
|
||
}}
|
||
collapsible={true}
|
||
defaultCollapsed={false}
|
||
/>
|
||
|
||
{/* Modules Grid */}
|
||
<h2 className="text-lg font-semibold text-slate-900 mb-4">Module</h2>
|
||
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4">
|
||
{category.modules.map((module) => (
|
||
<ModuleCard key={module.id} module={module} category={category} />
|
||
))}
|
||
</div>
|
||
|
||
{/* Info Section */}
|
||
<div className="mt-8 bg-purple-50 border border-purple-200 rounded-xl p-6">
|
||
<h3 className="font-semibold text-purple-800 flex items-center gap-2">
|
||
<span>🛡️</span>
|
||
DSGVO-Konformitaet
|
||
</h3>
|
||
<p className="text-sm text-purple-700 mt-2">
|
||
Alle Module in dieser Kategorie sind darauf ausgelegt, die DSGVO-Anforderungen zu erfuellen.
|
||
Die Dokumentation aller Verarbeitungstaetigkeiten erfolgt automatisch und kann jederzeit
|
||
fuer Audits exportiert werden.
|
||
</p>
|
||
</div>
|
||
</div>
|
||
)
|
||
}
|