2023-12-26 01:28:08 +00:00
|
|
|
export default function Job({ logo, name, details, dateFrom, dateTo }) {
|
|
|
|
return (
|
2023-12-28 05:06:32 +00:00
|
|
|
<div className="flex items-center gap-x-3 border rounded-xl w-full p-2 bg-slate-500 bg-opacity-20 border-slate-500 border-opacity-0">
|
2023-12-26 01:28:08 +00:00
|
|
|
<img src={logo} className="w-10 h-10 rounded-full" />
|
|
|
|
<div className="flex flex-col flex-1">
|
|
|
|
<div className="flex justify-between">
|
2023-12-28 02:34:50 +00:00
|
|
|
<span className="block text-sm font-bold ">{name}</span>
|
|
|
|
<span className="block text-xs font-bold ">{dateFrom} - {dateTo}</span>
|
2023-12-26 01:28:08 +00:00
|
|
|
</div>
|
2023-12-28 02:34:50 +00:00
|
|
|
<span className="block text-xs ">{details}</span>
|
2023-12-26 01:28:08 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
)
|
|
|
|
}
|