import React from 'react'; import { Card } from './ui/card'; import { Lightbulb, MessageCircleQuestion, GraduationCap, FileEdit, Zap } from 'lucide-react'; import type { LearningMode } from '../App'; interface ModeSelectorProps { selectedMode: LearningMode; onModeChange: (mode: LearningMode) => void; } const modes = [ { id: 'concept' as LearningMode, icon: Lightbulb, title: 'Concept Explainer', description: 'Break down complex topics', color: 'from-blue-500 to-blue-600', }, { id: 'socratic' as LearningMode, icon: MessageCircleQuestion, title: 'Socratic Tutor', description: 'Learn through questions', color: 'from-purple-500 to-purple-600', }, { id: 'exam' as LearningMode, icon: GraduationCap, title: 'Exam Prep/Quiz', description: 'Test your knowledge', color: 'from-green-500 to-green-600', }, { id: 'assignment' as LearningMode, icon: FileEdit, title: 'Assignment Helper', description: 'Get homework guidance', color: 'from-orange-500 to-orange-600', }, { id: 'summary' as LearningMode, icon: Zap, title: 'Quick Summary', description: 'Fast key points review', color: 'from-pink-500 to-pink-600', }, ]; export function LearningModeSelector({ selectedMode, onModeChange }: ModeSelectorProps) { return (
{mode.description}