2023-12-30 01:17:02 +00:00
|
|
|
export interface JobProps {
|
|
|
|
logo: string
|
|
|
|
name: string
|
|
|
|
details: string
|
|
|
|
dateFrom: string
|
|
|
|
dateTo: string
|
|
|
|
}
|
|
|
|
|
|
|
|
export default function Job({ logo, name, details, dateFrom, dateTo }: JobProps) {
|
|
|
|
return (
|
2024-01-07 03:04:57 +00:00
|
|
|
<article className="flex gap-1" >
|
|
|
|
<img src={logo} className="rounded lg bg-grey" />
|
|
|
|
<span className="flex-1">
|
|
|
|
<div className="flex flex-between">
|
|
|
|
<span className="font-bold" > {name} </span>
|
|
|
|
<span className="font-muted" > {dateFrom} - {dateTo} </span>
|
2023-12-30 01:17:02 +00:00
|
|
|
</div>
|
2024-01-07 03:04:57 +00:00
|
|
|
<span className="font-muted" > {details} </span>
|
|
|
|
</span>
|
|
|
|
</article>
|
2023-12-30 01:17:02 +00:00
|
|
|
)
|
|
|
|
}
|