| import React from 'react'; | |
| const ProjectCard = ({ project }) => { | |
| return ( | |
| <div className="bg-white rounded-lg shadow p-6 transition-all hover:shadow-lg"> | |
| <div className="flex justify-between flex-wrap"> | |
| <h3 className="font-bold text-lg">{project.title}</h3> | |
| <span className="text-gray-600">{project.period}</span> | |
| </div> | |
| <p className="text-primary font-medium">{project.organization}</p> | |
| <ul className="mt-2 list-disc list-inside text-gray-700"> | |
| {project.description.map((item, idx) => ( | |
| <li key={idx}>{item}</li> | |
| ))} | |
| </ul> | |
| </div> | |
| ); | |
| }; | |
| export default ProjectCard; |