'use client' import AdminLayout from '@/components/admin/AdminLayout' import SystemInfoSection, { SYSTEM_INFO_CONFIGS } from '@/components/admin/SystemInfoSection' import { AVAILABLE_WIZARDS, MODULE_ARCHITECTURE } from '@/lib/architecture-data' interface WizardCardProps { module: string available: boolean steps: number priority: 'high' | 'medium' | 'low' } const PRIORITY_STYLES = { high: 'border-red-200 bg-red-50', medium: 'border-yellow-200 bg-yellow-50', low: 'border-gray-200 bg-gray-50', } const PRIORITY_LABELS = { high: { text: 'Hohe Prioritaet', color: 'text-red-700 bg-red-100' }, medium: { text: 'Mittlere Prioritaet', color: 'text-yellow-700 bg-yellow-100' }, low: { text: 'Niedrige Prioritaet', color: 'text-gray-700 bg-gray-100' }, } const MODULE_ICONS: Record = { middleware: '๐Ÿ”ง', consent: '๐Ÿ“‹', dsr: '๐Ÿ”’', security: '๐Ÿ›ก๏ธ', rbac: '๐Ÿ‘ฅ', communication: '๐Ÿ’ฌ', mail: '๐Ÿ“ง', gpu: '๐ŸŽฎ', llm: '๐Ÿค–', rag: '๐Ÿ“š', 'unity-bridge': '๐Ÿ”Œ', } function WizardCard({ module, available, steps, priority }: WizardCardProps) { const architecture = MODULE_ARCHITECTURE[module] const priorityStyle = PRIORITY_STYLES[priority] const priorityLabel = PRIORITY_LABELS[priority] const icon = MODULE_ICONS[module] || '๐Ÿ“ฆ' return (
{/* Header */}
{icon}

{architecture?.displayName || module}

{architecture?.description || ''}

{priorityLabel.text}
{/* Services */} {architecture && (

Beteiligte Services

{architecture.primaryServices.map((service) => ( {service} ))} {architecture.databases.map((db) => ( {db} ))}
)} {/* Footer */}
{steps} Schritte {available ? ( Wizard starten โ†’ ) : ( Demnachst verfuegbar )}
) } export default function OnboardingPage() { const availableCount = AVAILABLE_WIZARDS.filter((w) => w.available).length const totalCount = AVAILABLE_WIZARDS.length return ( {/* Hero Section */}
๐ŸŽ“

Willkommen im Onboarding Center

Lernen Sie alle Admin-Module interaktiv kennen und testen Sie gleichzeitig alle Funktionen

{availableCount}
Verfuegbare Wizards
{totalCount}
Geplante Module
~45
Minuten Onboarding
{/* What You Learn */}

๐Ÿ’ก Was Sie in den Wizards lernen

๐Ÿ“–

Lernmaterial

Warum jede Funktion wichtig ist und welche Probleme sie loest

๐Ÿงช

Interaktive Tests

Alle Funktionen durchklicken und automatisch verifizieren

๐Ÿ—๏ธ

Architektur-Kontext

Wo Sie sich im System befinden und welche Services beteiligt sind

{/* Wizard Grid */}

Verfuegbare Wizards

{AVAILABLE_WIZARDS.filter((w) => w.available).map((wizard) => ( ))}
{/* Coming Soon */}

Demnachst verfuegbar

{AVAILABLE_WIZARDS.filter((w) => !w.available).map((wizard) => ( ))}
{/* Quick Start Guide */}

๐Ÿš€ Schnellstart-Empfehlung

  1. 1
    Middleware Wizard - Verstehen Sie die Sicherheitsschicht, die alle Anfragen durchlaufen
  2. 2
    Consent Wizard - Lernen Sie die DSGVO-konforme Einwilligungsverwaltung
  3. 3
    Security Wizard - DevSecOps Praktiken und Sicherheitsscans verstehen
{/* System Info Section - For Internal/External Audits */}
) }