File size: 651 Bytes
c990683 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
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; |