17 lines
517 B
JavaScript
17 lines
517 B
JavaScript
import ExternalLinkIcon from "./ExternalLinkIcon";
|
|
|
|
export default function Project({ label, date, url }) {
|
|
return (
|
|
<div className="flex flex-row items-baseline justify-between gap-2">
|
|
<p className="text-sm ">{label}</p>
|
|
<div className="border border-dashed flex-1 border-gray-500 h-0"></div>
|
|
<div className="flex gap-1 items-baseline">
|
|
<i className="text-xs">{date}</i>
|
|
<a href={url} target="_blank">
|
|
<ExternalLinkIcon />
|
|
</a>
|
|
</div>
|
|
</div>
|
|
)
|
|
}
|