"use client"; import { motion } from 'framer-motion'; import { GraduationCapIcon, CalendarIcon, BookOpenIcon } from 'lucide-react'; interface Education { school: string; degree: string; start: string; end: string; } interface EducationSectionProps { education: Education[]; } const EducationSection: React.FC = ({ education }) => { const containerVariants = { hidden: { opacity: 0 }, visible: { opacity: 1, transition: { staggerChildren: 0.2, }, }, }; const itemVariants = { hidden: { x: -50, opacity: 0 }, visible: { x: 0, opacity: 1, transition: { type: "spring", stiffness: 100, damping: 12, }, }, }; return (

Education Journey

My academic background and educational qualifications that have shaped my skills and knowledge.

{/* Education Timeline */}
{/* Timeline line */}
{education.map((edu, index) => ( {/* Timeline point */}
{/* Content */}

{edu.school}

{edu.degree}

{edu.start} - {edu.end}
{index === 1 && (

Part of the prestigious 42 Network, known for its project-based, peer-to-peer learning methodology.

)}
))}
{/* Education Quote */}
"Education is the passport to the future, for tomorrow belongs to those who prepare for it today."

― Malcolm X

); }; export default EducationSection;