"use client" import { useState } from 'react' import { Framework } from '@/lib/frameworks' import { Target } from 'lucide-react' import { Card, CardContent, CardHeader, CardTitle } from '@/components/ui/card' import { Label } from '@/components/ui/label' import { Input } from '@/components/ui/input' import { Textarea } from '@/components/ui/textarea' import { Badge } from '@/components/ui/badge' interface FrameworkScaffoldProps { framework: Framework sections: Record onSectionsChange: (sections: Record) => void className?: string } export function FrameworkScaffold({ framework, sections, onSectionsChange, className = '' }: FrameworkScaffoldProps) { const updateSection = (sectionId: string, value: string) => { onSectionsChange({ ...sections, [sectionId]: value, }) } return (

Fill in {framework.name} Framework

Structured
{framework.description} {framework.sections.map((section) => (
{section.description}
{section.label.toLowerCase().includes('example') || section.label.toLowerCase().includes('steps') || section.id === 'context' || section.id === 'instructions' ? (