import { WizardStep, EDUCATION_CONTENT } from './types'
export function WizardStepper({
steps,
currentStep,
onStepClick
}: {
steps: WizardStep[]
currentStep: number
onStepClick: (index: number) => void
}) {
return (
{steps.map((step, index) => (
{index < steps.length - 1 && (
)}
))}
)
}
export function EducationCard({ stepId }: { stepId: string }) {
const content = EDUCATION_CONTENT[stepId]
if (!content) return null
return (
📖
{content.title}
{content.content.map((line, index) => (
$1')
.replace(/→/g, '→')
.replace(/← NEU!/g, '← NEU!')
}}
/>
))}
{content.tips && content.tips.length > 0 && (
💡 Tipps:
{content.tips.map((tip, index) => (
• {tip}
))}
)}
)
}