upd
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
interface UnitType {
|
||||
name: string;
|
||||
img: string;
|
||||
wings: string;
|
||||
floors: string;
|
||||
area: string;
|
||||
}
|
||||
|
||||
function UnitTypeCard({ project, type }: { project: string; type: UnitType }) {
|
||||
return (
|
||||
<div className="bg-white p-4 rounded-2xl">
|
||||
<p className="text-2xl font-semibold leading-[135%]">{project}</p>
|
||||
<p className="text-2xl font-semibold leading-[135%]">{type.name}</p>
|
||||
<p className="text-2xl font-semibold leading-[135%]">{type.wings}</p>
|
||||
<p className="text-2xl font-semibold leading-[135%]">{type.floors}</p>
|
||||
<p className="text-2xl font-semibold leading-[135%]">{type.area}</p>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
export default UnitTypeCard;
|
||||
Reference in New Issue
Block a user