21 lines
562 B
TypeScript
21 lines
562 B
TypeScript
interface Props {
|
|
title: string;
|
|
image: string;
|
|
}
|
|
|
|
function ConsultantCard({ title, image }: Props) {
|
|
return (
|
|
<div className="aspect-[4/3] rounded-2xl bg-white p-6 flex flex-col justify-between">
|
|
<div className="flex items-center gap-1">
|
|
<div className="w-3 h-3 bg-[#00BED7] rounded-full"></div>
|
|
<p className="text-[#0D1922] leading-[20px]">{title}</p>
|
|
</div>
|
|
<div className="self-end">
|
|
<img src={image} alt="" className="pointer-events-none" />
|
|
</div>
|
|
</div>
|
|
);
|
|
}
|
|
|
|
export default ConsultantCard;
|