'use client' /** * Build Pipeline Wizard * * Interactive guide for learning about the multi-platform * build and deployment process for Breakpilot Drive */ 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, EducationCard, Sidebar } from './_components/WizardComponents' import { PlatformCards, WorkflowDiagram, SecretsChecklist } from './_components/StepContent' export default function BuildPipelineWizardPage() { 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 === 'platforms' && } {currentStep === 'github-actions' && } {currentStep === 'deployment' && } {/* Navigation */}
{/* Sidebar */}
) }