import React from "react"; import { motion } from "framer-motion"; interface LessonSectionProps { title: string; description: string; workedTitle: string; workedIcon: React.ReactNode; workedColor: string; workedLessons: string[]; improveTitle: string; improveIcon: React.ReactNode; improveColor: string; improveLessons: string[]; } const PortfolioLessonsSection: React.FC = ({ title, description, workedTitle, workedIcon, workedColor, workedLessons, improveTitle, improveIcon, improveColor, improveLessons, }) => { return (
{/* Section Header */}

{title}

{description}

{/* Lessons Grid */}
{/* Worked Well */}

{workedIcon} {workedTitle}

{workedLessons.map((lesson, index) => (
{lesson}
))}
{/* Areas for Improvement */}

{improveIcon} {improveTitle}

{improveLessons.map((lesson, index) => (
{lesson}
))}
); }; export default PortfolioLessonsSection;