'use client'; import type { FeaturesContent } from '@/lib/config/bot-pages'; import { BRAND_ACCENT } from '@/lib/config/colors'; interface FeaturesSectionProps { content: FeaturesContent; } export function FeaturesSection({ content }: FeaturesSectionProps) { const { badge, title, subtitle, features, columns = 3 } = content; const accent = BRAND_ACCENT; const gridCols = { 2: 'md:grid-cols-2', 3: 'md:grid-cols-2 lg:grid-cols-3', 4: 'md:grid-cols-2 lg:grid-cols-4', }[columns]; return (
{badge && (
{badge}
)}

{title}

{subtitle && (

{subtitle}

)}
{features.map((feature, index) => (
{feature.icon}

{feature.title}

{feature.description}

))}
); }