'use client' /** * Multiplayer Feature Wizard * * Interactive guide for learning about and testing * Breakpilot Drive multiplayer features (Matrix Chat & Jitsi Video) */ import { useState } from 'react' import Link from 'next/link' import AdminLayout from '@/components/admin/AdminLayout' import { STEPS, EDUCATION_CONTENT, WizardStep } from './_components/types' import { WizardStepper } from './_components/WizardStepper' import { EducationCard } from './_components/EducationCard' import { GameModeDemo, ServiceStatusDemo, CodePreview } from './_components/StepContent' import { Sidebar } from './_components/Sidebar' import { CODE_EXAMPLES } from './_components/codeExamples' export default function MultiplayerWizardPage() { const [currentStep, setCurrentStep] = useState('welcome') const currentStepIndex = STEPS.findIndex(s => s.id === currentStep) const education = EDUCATION_CONTENT[currentStep] const goToNext = () => { const nextIndex = currentStepIndex + 1 if (nextIndex < STEPS.length) { setCurrentStep(STEPS[nextIndex].id) } } const goToPrevious = () => { const prevIndex = currentStepIndex - 1 if (prevIndex >= 0) { setCurrentStep(STEPS[prevIndex].id) } } return ( {/* Back Link */}
Zurueck zum Game Dashboard
{/* Stepper */}
{/* Content */}
{/* Main Content */}
{/* Step-specific content */} {currentStep === 'game-modes' && } {currentStep === 'demo' && } {currentStep === 'matrix-chat' && ( )} {currentStep === 'jitsi-video' && ( )} {currentStep === 'unity-integration' && ( )} {/* Navigation */}
{/* Sidebar */}
) }