diff --git a/components/Evaluation.tsx b/components/Evaluation.tsx new file mode 100644 index 0000000..46ccbf8 --- /dev/null +++ b/components/Evaluation.tsx @@ -0,0 +1,265 @@ +/** + * Evaluation Component for Keploy Writers Program + * Displays content evaluation criteria in an interactive format + * + * AI-Generated Design Notes: + * - Card-based layout with interactive hover states + * - Priority indicators using visual weights (stars/badges) + * - Progressive disclosure for detailed criteria + * - Accessible accordion pattern for expandable sections + */ + +import React, { useState } from 'react'; +import { Star, Target, BookOpen, Code, TrendingUp, Shield } from 'lucide-react'; + +interface EvaluationCriterion { + id: string; + icon: React.ReactNode; + title: string; + description: string; + weight: 'high' | 'medium' | 'low'; + examples: string[]; +} + +interface EvaluationProps { + className?: string; +} + +const criteria: EvaluationCriterion[] = [ + { + id: 'relevance', + icon: