upd
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 9.0 MiB |
@@ -1,3 +1,4 @@
|
||||
import clsx from "clsx";
|
||||
import { formattedUnitTypes } from "../data/formattedUnitTypes";
|
||||
import { FloorsData } from "./FloorSelect";
|
||||
import HumanIcon from "./icons/HumanIcon";
|
||||
@@ -7,9 +8,10 @@ interface FloorMarkerProps {
|
||||
title: string | null;
|
||||
position: [number, number];
|
||||
data: FloorsData;
|
||||
complexName: string;
|
||||
}
|
||||
|
||||
function FloorPopup({ title, position, data }: FloorMarkerProps) {
|
||||
function FloorPopup({ title, position, data, complexName }: FloorMarkerProps) {
|
||||
return (
|
||||
<AnimatePresence>
|
||||
{title && (
|
||||
@@ -20,7 +22,12 @@ function FloorPopup({ title, position, data }: FloorMarkerProps) {
|
||||
exit={{ opacity: 0 }}
|
||||
transition={{ duration: 0.1 }}
|
||||
style={{ top: position[1], left: position[0] }}
|
||||
className="absolute z-100 2xl:rounded-[1.111vw] 2xl:p-[1.111vw] p-4 rounded-2xl flex flex-col 2xl:gap-[1.111vw] bg-white transition-opacity duration-300 -translate-x-[calc(100%+1.25vw)] -translate-y-1/2 2xl:w-[17.222vw] md:max-2xl:w-70 w-screen"
|
||||
className={clsx(
|
||||
"absolute z-100 2xl:rounded-[1.111vw] 2xl:p-[1.111vw] p-4 rounded-2xl flex flex-col 2xl:gap-[1.111vw] bg-white transition-opacity duration-300 -translate-y-1/2 2xl:w-[17.222vw] md:max-2xl:w-70 w-screen",
|
||||
title.startsWith("West")
|
||||
? "translate-x-[calc(1.25vw)]"
|
||||
: "-translate-x-[calc(100%+1.25vw)]"
|
||||
)}
|
||||
>
|
||||
<div className="2xl:space-y-[0.556vw] space-y-2">
|
||||
<div className="flex 2xl:gap-[0.556vw] gap-2">
|
||||
@@ -40,8 +47,15 @@ function FloorPopup({ title, position, data }: FloorMarkerProps) {
|
||||
{title && Number.isNaN(+title!.split(" ").at(-1)!)
|
||||
? "16 Amenties"
|
||||
: `${
|
||||
data[title.split(" ")[0] === "East" ? "east" : "west"]
|
||||
.totalUnits
|
||||
complexName === "marasi-drive"
|
||||
? data[
|
||||
title.split(" ")[0] === "East"
|
||||
? "East"
|
||||
: title.split(" ")[0] === "West"
|
||||
? "West"
|
||||
: "others"
|
||||
].totalUnits
|
||||
: data.others.totalUnits
|
||||
} apartments`}
|
||||
</p>
|
||||
{!Number.isNaN(+title.split(" ").at(-1)!) && (
|
||||
@@ -58,7 +72,13 @@ function FloorPopup({ title, position, data }: FloorMarkerProps) {
|
||||
{!Number.isNaN(+title.split(" ").at(-1)!) ? (
|
||||
<>
|
||||
{Object.entries(
|
||||
data[title.split(" ")[0] === "East" ? "east" : "west"].types
|
||||
data[
|
||||
title.split(" ")[0] === "East"
|
||||
? "East"
|
||||
: title.split(" ")[0] === "West"
|
||||
? "West"
|
||||
: "others"
|
||||
].types
|
||||
).map(([unitType, count]) => (
|
||||
<div
|
||||
className="flex 2xl:gap-[0.556vw] gap-2"
|
||||
@@ -95,7 +115,14 @@ function FloorPopup({ title, position, data }: FloorMarkerProps) {
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
<div className="absolute w-0 h-0 border-[7px_0px_7px_8px] [border-color:_transparent_transparent_transparent_#fff] top-1/2 left-[calc(100%-1px)] -translate-y-1/2" />
|
||||
<div
|
||||
className={clsx(
|
||||
"absolute w-0 h-0 border-[7px_0px_7px_8px] [border-color:_transparent_transparent_transparent_#fff] top-1/2 -translate-y-1/2",
|
||||
title.startsWith("West")
|
||||
? "left-0 -translate-x-full rotate-180"
|
||||
: "left-[calc(100%-1px)]"
|
||||
)}
|
||||
/>
|
||||
</motion.div>
|
||||
)}
|
||||
</AnimatePresence>
|
||||
|
||||
@@ -15,11 +15,15 @@ import { api } from "../api/ky";
|
||||
|
||||
export interface FloorsData {
|
||||
floor: number;
|
||||
west: {
|
||||
West: {
|
||||
types: Record<string, number>;
|
||||
totalUnits: number;
|
||||
};
|
||||
east: {
|
||||
East: {
|
||||
types: Record<string, number>;
|
||||
totalUnits: number;
|
||||
};
|
||||
others: {
|
||||
types: Record<string, number>;
|
||||
totalUnits: number;
|
||||
};
|
||||
@@ -127,17 +131,22 @@ function FloorSelect({ complexName }: { complexName: string }) {
|
||||
onClick={handleFullScreenClick}
|
||||
/>
|
||||
</div>
|
||||
{data && hoveredFloor && (
|
||||
<FloorPopup
|
||||
title={hoveredFloor}
|
||||
position={position}
|
||||
data={
|
||||
data.find(
|
||||
({ floor }) => floor === +hoveredFloor!.split(" ").at(-1)!
|
||||
)!
|
||||
}
|
||||
/>
|
||||
)}
|
||||
{data &&
|
||||
hoveredFloor &&
|
||||
data.some(
|
||||
({ floor }) => floor === +hoveredFloor!.split(" ").at(-1)!
|
||||
) && (
|
||||
<FloorPopup
|
||||
title={hoveredFloor}
|
||||
position={position}
|
||||
complexName={complexName}
|
||||
data={
|
||||
data.find(
|
||||
({ floor }) => floor === +hoveredFloor!.split(" ").at(-1)!
|
||||
)!
|
||||
}
|
||||
/>
|
||||
)}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -58,128 +58,6 @@ function SearchFilters({
|
||||
allArea: { min: number; max: number };
|
||||
allViews: string[];
|
||||
}) {
|
||||
// const [project, setProject] = useState<string>("Rove Home Marasi Drive");
|
||||
|
||||
|
||||
|
||||
// useQuery({
|
||||
// queryKey: ["filters", "unitTypes", project],
|
||||
// initialData: allUnitTypes,
|
||||
// enabled: !!allUnitTypes && !!project,
|
||||
// queryFn: () =>
|
||||
// api
|
||||
// .get(
|
||||
// `units/filters/unitTypes?project=${project}${
|
||||
// view !== "Any view" ? `&view=${view}` : ""
|
||||
// }${
|
||||
// cost[0] >= 0 && cost[1] >= 0
|
||||
// ? `&cost=${Math.floor(cost[0])},${Math.ceil(cost[1])}`
|
||||
// : ""
|
||||
// }${
|
||||
// floor[0] >= 0 && floor[1] >= 0
|
||||
// ? `&floor=${Math.floor(floor[0])},${Math.ceil(floor[1])}`
|
||||
// : ""
|
||||
// }${
|
||||
// area[0] >= 0 && area[1] >= 0
|
||||
// ? `&area=${Math.floor(area[0])},${Math.ceil(area[1])}`
|
||||
// : ""
|
||||
// }`
|
||||
// )
|
||||
// .json<string[]>(),
|
||||
// });
|
||||
|
||||
// const { data: updatedCost, isLoading: updatedCostLoading } = useQuery({
|
||||
// queryKey: ["filters", "cost", project],
|
||||
// enabled: !!allCost && !!project,
|
||||
// initialData: allCost,
|
||||
// queryFn: () =>
|
||||
// api
|
||||
// .get(
|
||||
// `units/filters/cost?project=${project}${selectedUnitTypes
|
||||
// .map((unitType) => `&unitTypes=${unitType}`)
|
||||
// .join("")}${view !== "Any view" ? `&view=${view}` : ""}${
|
||||
// floor[0] >= 0 && floor[1] >= 0
|
||||
// ? `&floor=${Math.floor(floor[0])},${Math.ceil(floor[1])}`
|
||||
// : ""
|
||||
// }${
|
||||
// area[0] >= 0 && area[1] >= 0
|
||||
// ? `&area=${Math.floor(area[0])},${Math.ceil(area[1])}`
|
||||
// : ""
|
||||
// }`
|
||||
// )
|
||||
// .json<{ min: number; max: number }>(),
|
||||
// });
|
||||
|
||||
// const { data: updatedFloor, isLoading: updatedFloorLoading } = useQuery({
|
||||
// queryKey: ["filters", "floor", project],
|
||||
// enabled: !!allFloors && !!project,
|
||||
// initialData: allFloors,
|
||||
// queryFn: () =>
|
||||
// api
|
||||
// .get(
|
||||
// `units/filters/floor?project=${project}${selectedUnitTypes
|
||||
// .map((unitType) => `&unitTypes=${unitType}`)
|
||||
// .join("")}${view !== "Any view" ? `&view=${view}` : ""}${
|
||||
// cost[0] >= 0 && cost[1] >= 0
|
||||
// ? `&cost=${Math.floor(cost[0])},${Math.ceil(cost[1])}`
|
||||
// : ""
|
||||
// }${
|
||||
// area[0] >= 0 && area[1] >= 0
|
||||
// ? `&area=${Math.floor(area[0])},${Math.ceil(area[1])}`
|
||||
// : ""
|
||||
// }`
|
||||
// )
|
||||
// .json<{ min: number; max: number }>(),
|
||||
// });
|
||||
|
||||
// const { data: updatedArea, isLoading: updatedAreaLoading } = useQuery({
|
||||
// queryKey: ["filters", "area", project],
|
||||
// enabled: !!allArea && !!project,
|
||||
// initialData: allArea,
|
||||
// queryFn: () =>
|
||||
// api
|
||||
// .get(
|
||||
// `units/filters/area?project=${project}${selectedUnitTypes
|
||||
// .map((unitType) => `&unitTypes=${unitType}`)
|
||||
// .join("")}${view !== "Any view" ? `&view=${view}` : ""}${
|
||||
// cost[0] >= 0 && cost[1] >= 0
|
||||
// ? `&cost=${Math.floor(cost[0])},${Math.ceil(cost[1])}`
|
||||
// : ""
|
||||
// }${
|
||||
// floor[0] >= 0 && floor[1] >= 0
|
||||
// ? `&floor=${Math.floor(floor[0])},${Math.ceil(floor[1])}`
|
||||
// : ""
|
||||
// }`
|
||||
// )
|
||||
// .json<{ min: number; max: number }>(),
|
||||
// });
|
||||
|
||||
// const { data: updatedViews, isLoading: updatedViewsLoading } = useQuery({
|
||||
// queryKey: ["filters", "views", project],
|
||||
// enabled: !!allViews && !!project,
|
||||
// initialData: allViews,
|
||||
// queryFn: () =>
|
||||
// api
|
||||
// .get(
|
||||
// `units/filters/views?project=${project}${selectedUnitTypes
|
||||
// .map((unitType) => `&unitTypes=${unitType}`)
|
||||
// .join("")}${
|
||||
// cost[0] >= 0 && cost[1] >= 0
|
||||
// ? `&cost=${Math.floor(cost[0])},${Math.ceil(cost[1])}`
|
||||
// : ""
|
||||
// }${
|
||||
// floor[0] >= 0 && floor[1] >= 0
|
||||
// ? `&floor=${Math.floor(floor[0])},${Math.ceil(floor[1])}`
|
||||
// : ""
|
||||
// }${
|
||||
// area[0] >= 0 && area[1] >= 0
|
||||
// ? `&area=${Math.floor(area[0])},${Math.ceil(area[1])}`
|
||||
// : ""
|
||||
// }`
|
||||
// )
|
||||
// .json<string[]>(),
|
||||
// });
|
||||
|
||||
const { data: count } = useQuery({
|
||||
queryKey: [
|
||||
"units",
|
||||
@@ -251,8 +129,6 @@ function SearchFilters({
|
||||
window.scroll({ top: 0, behavior: "smooth" });
|
||||
}
|
||||
|
||||
// useEffect(resetFilters, [project]);
|
||||
|
||||
return (
|
||||
<>
|
||||
{inModal && (
|
||||
|
||||
@@ -182,9 +182,7 @@ function SequenceSlider({ complexName }: SequenceSliderProps) {
|
||||
}`}
|
||||
className="fill-[#00BED7] cursor-pointer transition-opacity duration-300 opacity-0 hover:opacity-40"
|
||||
onClick={() => {
|
||||
if (complexName !== "dubai-marina") {
|
||||
navigate("floors");
|
||||
}
|
||||
navigate("floors");
|
||||
}}
|
||||
/>
|
||||
</svg>
|
||||
|
||||
@@ -124,4 +124,48 @@ export const floorsMasks = {
|
||||
"East 5":
|
||||
"M1581 1312.7v27.01c0 1.02.76 1.88 1.78 1.99l127.01 14.28q.21.015.42 0L2005 1325.5h42c1.1 0 2-.9 2-2v-25c0-1.1-.9-2-2-2h-42l-294.81 26.48c-.13.01-.25.01-.38 0l-126.62-12.27c-1.17-.11-2.19.81-2.19 1.99",
|
||||
},
|
||||
"dubai-marina": {
|
||||
"Ground Level":
|
||||
"M1939.52 1616.32c.32.12.65.15.98.1 4.97-.78 45.94-7.84 66.5-29.92 13.5-14.5 43-20.5 52.5-22.5l74-16.5 116.05-26.93a2 2 0 0 1 2.45 1.95v18.44c0 1.29 1.21 2.25 2.47 1.96 6.05-1.35 15.56-3.12 19.03-2.42 3.99.8 71.65 20.9 105.24 30.92.18.05.33.13.49.22 6.9 4.41 20.17 14.11 19.77 18.86-.5 6 2 14.5-93 37.5-76 18.4-210.67 52.67-268.5 67.5-3 1.17-12.5 3.5-26.5 3.5s-25.5-3.33-29.5-5l-151.58-60.83c-1.77-.71-1.64-3.25.2-3.78l13.93-3.98c.86-.24 1.45-1.03 1.45-1.92v-39.12c0-1.39 1.39-2.36 2.69-1.87z",
|
||||
"7": "m2037.75 1366.94-159.25-41.29c-1.26-.33-2.5.63-2.5 1.94v19.87c0 .91.61 1.7 1.49 1.94l160.26 42.53c.17.05.34.07.51.07h55.57c.11 0 .23-.01.34-.03l123.18-21.68c.95-.17 1.65-1 1.65-1.97v-19.96c0-1.23-1.11-2.17-2.33-1.97l-122.51 20.58c-.1.02-.22.03-.33.03h-55.57q-.255 0-.51-.06",
|
||||
"Podium Level":
|
||||
"m2037.75 1394.93-159.47-42.33c-1.15-.3-2.28.57-2.28 1.75 0 .7-.4 1.34-1.04 1.64l-7.32 3.47c-.69.33-1.14 1.03-1.14 1.81v10.35c0 1.06-.82 1.93-1.88 1.99l-219.74 13.28c-1.06.06-1.88.94-1.88 1.99v7.66c0 .87.56 1.64 1.39 1.91l295.12 94.89c.32.11.66.13 1 .06l306.81-60.27c.97-.19 1.11-1.52.2-1.91l-27.31-11.7a2.01 2.01 0 0 1-1.21-1.84v-42.3c0-1.24-1.12-2.18-2.35-1.97l-122.48 21.56c-.11.02-.23.03-.34.03h-55.57c-.17 0-.34-.02-.51-.07",
|
||||
"8": "m2037.75 1338.94-159.25-41.29c-1.26-.33-2.5.63-2.5 1.94v19.87c0 .91.61 1.7 1.49 1.94l160.26 42.53c.17.05.34.07.51.07h55.57c.11 0 .23-.01.34-.03l123.18-21.68c.95-.17 1.65-1 1.65-1.97v-19.96c0-1.23-1.11-2.17-2.33-1.97l-122.51 20.58c-.1.02-.22.03-.33.03h-55.57q-.255 0-.51-.06",
|
||||
"9": "m2037.76 1310.94-159.28-39.33a2 2 0 0 0-2.48 1.94v18.9c0 .91.62 1.71 1.5 1.94l160.25 41.55q.255.06.51.06h55.57c.11 0 .23-.01.33-.03l123.17-20.69c.96-.16 1.67-1 1.67-1.97v-20.95c0-1.23-1.11-2.17-2.33-1.97l-122.51 20.58c-.1.02-.22.03-.33.03h-55.59q-.24 0-.48-.06",
|
||||
"10": "m2037.78 1281.95-159.33-36.39c-1.26-.29-2.45.66-2.45 1.95v18.92c0 .92.63 1.73 1.52 1.95l160.24 39.56q.24.06.48.06h55.59c.11 0 .23-.01.33-.03l123.17-20.69c.96-.16 1.67-.99 1.67-1.97v-19.98a2 2 0 0 0-2.3-1.98l-122.55 18.63c-.1.01-.2.02-.3.02h-55.62c-.15 0-.3-.02-.45-.05",
|
||||
"11": "m2037.79 1253.95-159.37-34.43a2 2 0 0 0-2.42 1.96v18.92c0 .94.65 1.75 1.55 1.95l160.23 36.6c.15.03.3.05.45.05h55.62c.1 0 .2-.01.3-.02l123.15-18.72a2 2 0 0 0 1.7-1.98v-19.97c0-1.22-1.08-2.16-2.29-1.98l-122.57 17.65c-.09.01-.19.02-.28.02h-55.65c-.14 0-.28-.02-.42-.05",
|
||||
"12": "m2037.8 1225.96-159.4-32.47a2 2 0 0 0-2.4 1.96v18.94a2 2 0 0 0 1.58 1.95l160.21 34.61c.14.03.28.05.42.05h55.65c.09 0 .19-.01.28-.02l123.15-17.73a2.01 2.01 0 0 0 1.71-1.98v-19.98c0-1.21-1.07-2.15-2.27-1.98L2094 1226h-55.8c-.13 0-.27-.01-.4-.04",
|
||||
"13": "m2037.82 1196.97-159.46-29.53c-1.23-.23-2.36.71-2.36 1.96v18.97c0 .95.67 1.77 1.6 1.96l160.2 32.63c.13.03.27.04.4.04h55.8l123.27-16.76c.99-.14 1.73-.99 1.73-1.99v-20c0-1.19-1.05-2.12-2.24-1.98L2094 1197h-55.82q-.18 0-.36-.03",
|
||||
"14": "m2037.83 1168.97-159.48-28.55c-1.22-.22-2.35.72-2.35 1.97v18.96c0 .96.68 1.78 1.62 1.96l160.19 30.65c.13.03.25.04.38.04H2094l123.24-14.79c1-.12 1.76-.97 1.76-1.98v-19.99a2 2 0 0 0-2.22-1.99L2094 1169h-55.82c-.12 0-.24-.01-.35-.03",
|
||||
"15": "m2037.84 1140.97-159.51-26.58c-1.22-.2-2.33.74-2.33 1.97v18.97c0 .97.69 1.8 1.65 1.97l160.18 28.67c.11.02.23.03.35.03H2094l123.22-13.8c1.01-.11 1.78-.97 1.78-1.99v-19.99c0-1.19-1.03-2.11-2.21-1.99L2094 1141h-55.83q-.165 0-.33-.03",
|
||||
"16": "m2037.85 1112.98-159.54-24.62c-1.22-.19-2.31.75-2.31 1.97v18.98c0 .97.71 1.81 1.67 1.97l160.17 26.69q.165.03.33.03H2094l123.21-12.81c1.02-.11 1.79-.97 1.79-1.99v-20c0-1.18-1.02-2.1-2.19-1.99L2094 1113h-55.85c-.1 0-.2-.01-.3-.02",
|
||||
"17": "m2038 1085-159.72-22.68c-1.2-.17-2.28.77-2.28 1.98v18.98c0 .99.72 1.83 1.69 1.98l160.16 24.72c.1.01.2.02.3.02H2094l123.19-11.83c1.03-.1 1.81-.96 1.81-1.99v-20.98c0-1.18-1.02-2.1-2.19-1.99L2094 1085z",
|
||||
"18": "m2038 1057-159.74-20.71c-1.2-.15-2.26.78-2.26 1.99v18.98c0 1 .73 1.84 1.72 1.98L2038 1082h56l123.19-11.83c1.03-.1 1.81-.96 1.81-1.99v-20c0-1.17-1.01-2.09-2.18-1.99L2094 1057z",
|
||||
"19": "m2038 1029-159.77-18.74c-1.19-.14-2.23.79-2.23 1.99v18.99c0 1.01.75 1.86 1.74 1.99L2038 1054h56l123.18-10.84a2 2 0 0 0 1.82-1.99v-20c0-1.17-1-2.09-2.16-2L2094 1029z",
|
||||
"20": "m2038 1000-159.8-15.783a2 2 0 0 0-2.2 1.99v19.013c0 1.02.76 1.87 1.77 1.99L2038 1026h56l123.16-9.85c1.04-.09 1.84-.95 1.84-2v-20.018c0-1.155-.98-2.07-2.13-1.996L2094 1000z",
|
||||
"21": "m2038 952.999-159.84-12.826a2 2 0 0 0-2.16 1.993v37.021a2 2 0 0 0 1.8 1.99l160.2 15.822h56l123.13-7.88a2 2 0 0 0 1.87-1.996v-38.025c0-1.143-.95-2.053-2.1-1.998l-122.9 5.899z",
|
||||
"22": "m2038 925-159.86-10.855a2 2 0 0 0-2.14 1.996v19.013a2 2 0 0 0 1.84 1.994L2038 950h56l123.1-5.908a2 2 0 0 0 1.9-1.998v-20.012c0-1.136-.94-2.044-2.08-1.998L2094 925z",
|
||||
"23": "m2038 896.999-159.89-8.883a2 2 0 0 0-2.11 1.997v19.017c0 1.052.81 1.924 1.86 1.996L2038 921.999h56l123.08-4.923a2 2 0 0 0 1.92-1.998v-20.014c0-1.129-.93-2.035-2.06-1.999L2094 896.999z",
|
||||
"24": "m2038 869-159.9-7.896a2 2 0 0 0-2.1 1.998v20.006a2 2 0 0 0 1.89 1.997L2038 894h56l123.06-3.938a2 2 0 0 0 1.94-1.999v-20.998c0-1.129-.93-2.035-2.06-1.999L2094 869z",
|
||||
"25": "m2038 841.001-159.93-5.923a2 2 0 0 0-2.07 1.998v19.021c0 1.066.84 1.945 1.9 1.998l160.1 7.906h56l123.06-3.938a2.004 2.004 0 0 0 1.94-1.999v-20.015c0-1.123-.92-2.026-2.05-1.999L2094 841.001z",
|
||||
"26": "m2038 813.001-159.95-3.95a2.004 2.004 0 0 0-2.05 2v19.023a2 2 0 0 0 1.93 1.998l160.07 5.929h56l123.05-2.953a2 2 0 0 0 1.95-2v-20.015c0-1.117-.92-2.018-2.03-2L2094 813.001z",
|
||||
"27": "m2038 785.001-159.98-1.975a2 2 0 0 0-2.02 1.999v19.024c0 1.086.87 1.973 1.95 2l160.05 3.952h56l123.03-1.969a2.003 2.003 0 0 0 1.97-2v-20.015c0-1.111-.91-2.009-2.02-2l-122.98.984z",
|
||||
"28": "m2038 757-159.99-.494a2 2 0 0 0-2.01 2v19.518a2 2 0 0 0 1.98 2L2038 782h56l123.02-.984a2 2 0 0 0 1.98-2V759c0-1.105-.9-2-2-2z",
|
||||
"29": "m2038 728.5-160.02 1.976a2 2 0 0 0-1.98 1.999v19.031c0 1.102.89 1.997 1.99 2L2038 754h56l123.01-.492a2 2 0 0 0 1.99-2v-20.024c0-1.098-.89-1.991-1.98-2L2094 728.5z",
|
||||
"30": "m2038 700.5-160.04 3.458a2 2 0 0 0-1.96 1.999v19.518c0 1.114.91 2.014 2.02 2L2038 725.5h56l122.98.984a2.004 2.004 0 0 0 2.02-2v-20.016c0-1.092-.88-1.982-1.97-1.999L2094 700.5z",
|
||||
"31": "m2038 672.5-160.07 5.929a2 2 0 0 0-1.93 1.998v18.529c0 1.122.92 2.024 2.04 2L2038 697.5h56l122.97 1.967a2 2 0 0 0 2.03-1.999V676.96c0-1.089-.87-1.977-1.96-1.999L2094 672.5z",
|
||||
"32": "m2038.5 644.5-160.6 7.906c-1.06.053-1.9.932-1.9 1.998v19.021c0 1.133.94 2.04 2.07 1.998l160.43-5.923h55.5l122.96 2.459a2 2 0 0 0 2.04-1.999v-20.015c0-1.083-.86-1.969-1.94-1.999L2094 644.5z",
|
||||
"33": "M1876 647.399v-20.013c0-1.059.83-1.934 1.88-1.996L2038.5 616h55.5l123.07 4.431c1.08.038 1.93.922 1.93 1.998v20.514a2 2 0 0 1-2.06 1.999L2094 641.5h-55.5l-160.4 7.897a2.003 2.003 0 0 1-2.1-1.998",
|
||||
"34": "m2038.5 588-160.64 11.368a2 2 0 0 0-1.86 1.995v19.017c0 1.15.97 2.063 2.12 1.996L2038.5 613h55.5l122.93 4.425a2 2 0 0 0 2.07-1.998v-19.521a2 2 0 0 0-1.9-1.997L2094 588z",
|
||||
"35": "m2038.5 559.5-160.67 13.842c-1.04.09-1.83.955-1.83 1.993v19.018c0 1.161.98 2.077 2.14 1.995L2038.5 585h55.5l122.9 5.899c1.15.055 2.1-.855 2.1-1.997v-20.018c0-1.058-.82-1.933-1.88-1.997L2094 559.5z",
|
||||
"36": "m2038.5 532-160.68 14.832a2.003 2.003 0 0 0-1.82 1.992v19.496c0 1.173 1 2.094 2.17 1.993L2038.5 556.5h55.5l122.88 7.373a2 2 0 0 0 2.12-1.997v-20.492c0-1.058-.82-1.933-1.88-1.997L2094 532z",
|
||||
"37": "m2038.5 504-160.7 16.317c-1.02.104-1.8.964-1.8 1.99v19.5c0 1.177 1.01 2.1 2.18 1.991L2038.5 529h55.5l122.88 7.373a2 2 0 0 0 2.12-1.997v-20.992c0-1.058-.82-1.933-1.88-1.997L2094 504z",
|
||||
"38": "M1876 496.78v18.5a2 2 0 0 0 2.21 1.989L2038.5 500.5h55.5l122.87 7.864a2.003 2.003 0 0 0 2.13-1.996v-19.999c0-1.052-.81-1.924-1.86-1.996L2094 476h-55.5l-160.73 18.793a2 2 0 0 0-1.77 1.987",
|
||||
"39": "M1869 470.768v17.515a2.003 2.003 0 0 0 2.21 1.989L2038.5 473h55.5l122.86 8.846a2 2 0 0 0 2.14-1.995v-20.005c0-1.042-.8-1.91-1.84-1.993L2094 448h-55.5l-167.75 20.783c-1 .124-1.75.975-1.75 1.985",
|
||||
"40": "M1869 444.747v19.483a2 2 0 0 0 2.25 1.984L2038.5 445h55.5l122.82 10.809a2.004 2.004 0 0 0 2.18-1.993v-19.999c0-1.03-.78-1.892-1.81-1.991L2094 420h-55.5l-167.77 22.765a2 2 0 0 0-1.73 1.982",
|
||||
"41": "M1869 420.212v17.498a2 2 0 0 0 2.27 1.982L2038.5 417h55.5l122.81 11.79a2 2 0 0 0 2.19-1.991v-19.996c0-1.025-.77-1.884-1.79-1.989L2094 392h-55.34c-.11 0-.21.008-.31.024l-167.66 26.212c-.97.152-1.69.99-1.69 1.976",
|
||||
"42": "M1869 395.182v18.474c0 1.23 1.1 2.169 2.31 1.975l167.03-26.606c.11-.017.21-.025.32-.025H2094l122.79 12.77a2 2 0 0 0 2.21-1.989v-19.007c0-1.012-.76-1.865-1.76-1.985L2094 364h-55.33c-.11 0-.23.01-.34.03l-167.67 29.182a2 2 0 0 0-1.66 1.97",
|
||||
Rooftop:
|
||||
"M1869 347.274v41.343a2 2 0 0 0 2.35 1.97l167.98-29.557c.11-.02.23-.03.34-.03H2094l117.5 14.5 13.39 3.472a.89.89 0 0 0 1.11-.859v-18.927c0-.444-.15-.876-.42-1.228l-2.52-3.242a2.02 2.02 0 0 0-1.46-.769l-5.72-.336a2.003 2.003 0 0 1-1.88-1.997V272.2a2 2 0 0 0-1.68-1.974l-21.14-3.452a2 2 0 0 1-1.68-1.974v-32.569c0-.994-.73-1.837-1.71-1.98l-55.64-8.084a1.34 1.34 0 0 1-1.15-1.327c0-.74-.6-1.34-1.34-1.34h-1.77c-.77 0-1.39.624-1.39 1.395 0 .847-.75 1.499-1.59 1.38l-46.3-6.547a1.88 1.88 0 0 1-1.61-1.855v-.373a1.5 1.5 0 0 0-1.5-1.5h-1.04c-.25 0-.46.206-.46.46 0 .283-.25.499-.53.453l-61.65-10.035a1.997 1.997 0 0 0-2.32 1.974v4.534c0 .942-.66 1.756-1.58 1.955l-16.54 3.577c-.25.054-.51.06-.76.017l-17.78-3.036a2.004 2.004 0 0 0-2.34 1.972v4.068c0 .917-.62 1.717-1.51 1.94l-8.13 2.031c-.24.06-.48.075-.73.045l-17.89-2.181a1.998 1.998 0 0 0-2.24 1.985v3.111c0 .949-.67 1.767-1.6 1.959l-15.1 3.11q-.3.06-.6.031l-17.5-1.75a2 2 0 0 0-2.2 1.99v46.708c0 .927-.64 1.733-1.54 1.947l-15.92 3.771a2 2 0 0 0-1.54 1.946v53.144c0 .777-.45 1.484-1.15 1.813l-12.7 5.922a2 2 0 0 0-1.15 1.813",
|
||||
},
|
||||
};
|
||||
|
||||
@@ -23,8 +23,6 @@ function SearchPage() {
|
||||
searchParams.get("project") || "Rove Home Marasi Drive"
|
||||
);
|
||||
const [selectedUnitTypes, setSelectedUnitTypes] = useState<string[]>([]);
|
||||
// const unitTypes = searchParams.getAll("unitTypes");
|
||||
// const view = searchParams.get("view");
|
||||
|
||||
const [filtersInModal, setFiltersInModal] = useState(false);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user