diff --git a/client/src/components/ApartmentSidebar.tsx b/client/src/components/ApartmentSidebar.tsx index 6773373..8775547 100644 --- a/client/src/components/ApartmentSidebar.tsx +++ b/client/src/components/ApartmentSidebar.tsx @@ -9,7 +9,7 @@ interface ApartmentSidebarProps { const ApartmentSidebar = ({ currentApartment }: ApartmentSidebarProps) => { const navigate = useNavigate(); - const unitNo = currentApartment.Unit_No.split("-")[1]; + // const unitNo = currentApartment.Unit_No.split("-")[1]; const wing = currentApartment.Unit_No.split("-")[0] === "E" ? "East Wing" : "West Wing"; @@ -18,11 +18,16 @@ const ApartmentSidebar = ({ currentApartment }: ApartmentSidebarProps) => { }; return ( -
+
-

- View from window -

+
+

+ View from window +

+

+ Burj Khalifa +

+
{ />
-
-

- Parameters +
+

+ {currentApartment.Unit_Type}, {currentApartment.Total_Area_Sqft}{" "} + Sqft

-
-
-

Complex

-

{currentApartment.Project_Name}

-
-
-

Section

-

{wing}

-
-
-

Floor

-

{currentApartment.Floor}

-
-
-

Number

-

{unitNo}

-
-
-

Size

-

+

+ {currentApartment.Project_Name} +

+
+

+ {wing} +

+
+

+ Floor {currentApartment.Floor} +

+
+

+ {currentApartment.Unit_No} +

+
+
+
+

+ Total Area +

+

{currentApartment.Total_Area_Sqft} Sqft

+
+

+ Suite Area +

+

+ {currentApartment.Suite_Area_Sqft} Sqft +

+
+
+

+ Balcony Area +

+

+ {currentApartment.Balcony_Area_Sqft} Sqft +

+
+
+

+ Status +

+

+ {currentApartment.Property_Status} +

+
+
+

+ Parking Space +

+

1

+
-

+

Unvailiable - {/* AED {formatNumber(1668888, ",", 3, 1)} */}

diff --git a/client/src/components/ButtomPanel.tsx b/client/src/components/ButtomPanel.tsx index 07641cf..09b3985 100644 --- a/client/src/components/ButtomPanel.tsx +++ b/client/src/components/ButtomPanel.tsx @@ -14,7 +14,7 @@ const ButtomPanel = () => {

{wing}

@@ -194,29 +239,48 @@ const WingFloorModal = ({
-
{currentFloor?.floor} floor
+
-
- 1 +
+ { + floorApartments.filter( + (aprt) => aprt.Unit_Type === "Studio Flex" + ).length + }

Studio flex

-
- 11 +
+ { + floorApartments.filter( + (aprt) => aprt.Unit_Type === "Studio Squared" + ).length + }

Studio

-
- 3 +
+ { + floorApartments.filter( + (aprt) => aprt.Unit_Type === "1 BR Squared" + ).length + }

1 Bedroom

-
- 7 +
+ { + floorApartments.filter( + (aprt) => aprt.Unit_Type === "2 BR Squared" + ).length + }

2 Bedroom

@@ -274,40 +338,38 @@ const WingFloorModal = ({ ); }; -interface IOption { - id: string; - value: string; - isSelected: boolean; -} -interface TransparentSelectorProps { - options: IOption; - setOptions: React.Dispatch>; -} +// const TransparentSelector = ({ +// options, +// setOptions, +// }: TransparentSelectorProps) => { +// const [isOpened, setIsOpened] = useState(false); +// const handleOnClick = () => { +// setIsOpened((prev) => !prev); +// }; -const TransparentSelector = ({ - options, - setOptions, -}: TransparentSelectorProps) => { - const [isOpened, setIsOpened] = useState(false); - const handleOnClick = () => { - setIsOpened((prev) => !prev); - }; - - return ( - <> -
-

11 floor

-
- -
-
- {isOpened &&
} - - ); -}; +// return ( +//
+//
+//

11 floor

+//
+// +//
+//
+// {isOpened && ( +//
+// {options.map} +//
+// )} +//
+// ); +// }; export default WingFloorModal; diff --git a/client/src/components/virtualTour/ButtomPanelCompassVirualTour.tsx b/client/src/components/virtualTour/ButtomPanelCompassVirualTour.tsx index 2e397ea..0d980da 100644 --- a/client/src/components/virtualTour/ButtomPanelCompassVirualTour.tsx +++ b/client/src/components/virtualTour/ButtomPanelCompassVirualTour.tsx @@ -19,7 +19,7 @@ const ButtomPanelCompassVirtualTour = () => {
{/* About Rove Home */} -

+

Rove Home this residence a complete ecosystem that has everything you’ll ever need. This isn’t just where you’ll live. It’s where you’ll thrive.

-
+
About rove home
-
+
-
+
Embrace Rove’s forever-young spirit at Rove Home, where inspiring design and vibrant art installations converge with an exceptional location and an extended playlist of life-enhancing{" "} @@ -171,7 +165,7 @@ const AboutComplex = () => { {/* RoveHome roof */} {/* Rove around the city */} -
+
ROVE AROUND THE CITY
diff --git a/client/src/types/selectorOption.ts b/client/src/types/selectorOption.ts new file mode 100644 index 0000000..ca3c4a5 --- /dev/null +++ b/client/src/types/selectorOption.ts @@ -0,0 +1,7 @@ +interface IOption { + id: string; + value: string; + isSelected: boolean; +} + +export type { IOption }; diff --git a/client/tailwind.config.js b/client/tailwind.config.js index 48380e5..730c25b 100644 --- a/client/tailwind.config.js +++ b/client/tailwind.config.js @@ -16,6 +16,7 @@ export default { 4: "45px", 3: "33.75px", 2: "22.5px", + 16: "180px", }, margin: { 6: "67.5px", @@ -23,9 +24,11 @@ export default { 4: "45px", 3: "33.75px", 2: "22.5px", + 16: "180px", }, gap: { 2: "22.5px", + 3: "33.75px", 4: "45px", 8: "90px", 6: "67.5px", @@ -47,6 +50,10 @@ export default { fontSize: { xs: "28.8px", }, + inset: { + 6: "67.5px", + 4: "45px", + }, }, }, plugins: [],