diff --git a/src/components/complexWingPage/FloorDescription.tsx b/src/components/complexWingPage/FloorDescription.tsx index 423f2fc..0697285 100644 --- a/src/components/complexWingPage/FloorDescription.tsx +++ b/src/components/complexWingPage/FloorDescription.tsx @@ -1,3 +1,4 @@ +import useWingSidebar from "../../store/useWingSidebar"; import { IDesctiptionFloor } from "../../types/descriptionFloor"; interface FloorDescriptionProps { @@ -5,73 +6,150 @@ interface FloorDescriptionProps { } const FloorDescription = ({ descriptionFloor }: FloorDescriptionProps) => { + const { isSidebar } = useWingSidebar(); return ( -
- {descriptionFloor?.floor} Floor -
-- {descriptionFloor?.wing} -
+ <> + {/*+ {descriptionFloor?.floor} Floor +
++ {descriptionFloor?.wing} +
+21
+Studio Flex
+AED 1,048,888
++ 56 +
+Studio
+AED 1,138,888
++ 89 +
+1 Bedroom
+AED 1,668,888
++ 10 +
+2 Bedroom, Type A
+AED 2,408,888
+21
-Studio Flex
++ {descriptionFloor?.floor} Floor +
++ {descriptionFloor?.wing} +
AED 1,048,888
-- 56 -
-Studio
+AED 1,138,888
- 89 -
+21
+Studio Flex
1 Bedroom
+AED 1,048,888
AED 1,668,888
-- 10 -
++ 56 +
+Studio
2 Bedroom, Type A
+AED 1,138,888
++ 89 +
+1 Bedroom
+AED 1,668,888
++ 10 +
+2 Bedroom, Type A
+AED 2,408,888
AED 2,408,888
{
return (
14 amenties