This commit is contained in:
2024-07-10 14:23:11 +05:00
parent 2e43573e02
commit 755718417d
6 changed files with 24 additions and 10 deletions
@@ -13,6 +13,7 @@ interface MobileApartmentDescriptionProps {
apartments: IAparmentRes[];
apartmentDataType: string | null;
floor: IDesctiptionFloor | null;
isLeft: boolean;
}
const MobileApartmentDescription = ({
@@ -20,6 +21,7 @@ const MobileApartmentDescription = ({
apartmentDataType,
apartments,
floor,
isLeft,
}: MobileApartmentDescriptionProps) => {
const wing =
apartment && apartment.Unit_No.split("-")[0] === "E"
@@ -91,7 +93,11 @@ const MobileApartmentDescription = ({
</div>
)}
</div>
<div className="w-0 h-0 border-transparent border-t-[33px] border-x-[14px] border-b-0 absolute left-[57.6px] -bottom-[32px] border-t-white"></div>
<div
className={`w-0 h-0 border-transparent border-t-[33px] border-x-[14px] border-b-0 absolute ${
!isLeft ? "left-[57.6px]" : "right-[57.6px]"
} -bottom-[32px] border-t-white`}
></div>
<div className="w-full pb-6 ">
<Button
buttonType="cta"
@@ -199,6 +199,7 @@ const SequenceWing = () => {
);
setIsDescriptionFloorMobile(false);
};
const handleOnExploreSkygardenClick = (
e: MouseEvent<Element, MouseEvent<Element, MouseEvent>> | any
) => {