'use client'; import type { HowItWorksContent } from '@/lib/config/bot-pages'; import { BRAND_ACCENT } from '@/lib/config/colors'; interface HowItWorksSectionProps { content: HowItWorksContent; } export function HowItWorksSection({ content }: HowItWorksSectionProps) { const { title, subtitle, steps } = content; const accent = BRAND_ACCENT; return (

{title}

{subtitle && (

{subtitle}

)}
{steps.map((step, index) => (
{step.icon ? ( {step.icon} ) : ( {step.number ?? index + 1} )}

{step.title}

{step.description}

))}
); }