diff --git a/client/.env b/client/.env index 2f2d504..bb7f807 100644 --- a/client/.env +++ b/client/.env @@ -1,3 +1,6 @@ # VITE_SERVER_API=https://irth.graff.tech/api -VITE_SERVER_API=http://192.168.1.158:4002 + +VITE_SERVER_API=http://194.26.138.94:4002 + +# VITE_SERVER_API=http://192.168.1.56:4003 # VITE_SERVER_API=http://194.26.138.94:4002 diff --git a/client/index.html b/client/index.html index 2bdcc7f..32fa5a1 100644 --- a/client/index.html +++ b/client/index.html @@ -3,8 +3,10 @@ + - + + IRTH diff --git a/client/public/images/compass.png b/client/public/images/compass.png index 0615ec3..7f0cff1 100644 Binary files a/client/public/images/compass.png and b/client/public/images/compass.png differ diff --git a/client/public/images/markers/2.png b/client/public/images/markers/2.png new file mode 100644 index 0000000..3c9d3c7 Binary files /dev/null and b/client/public/images/markers/2.png differ diff --git a/client/public/images/markers/3.png b/client/public/images/markers/3.png new file mode 100644 index 0000000..91274b5 Binary files /dev/null and b/client/public/images/markers/3.png differ diff --git a/client/public/images/masterplan/help/1.png b/client/public/images/masterplan/help/1.png index 350098f..dc1f934 100644 Binary files a/client/public/images/masterplan/help/1.png and b/client/public/images/masterplan/help/1.png differ diff --git a/client/src/api/urls.ts b/client/src/api/urls.ts index c207bbd..c09afd0 100644 --- a/client/src/api/urls.ts +++ b/client/src/api/urls.ts @@ -1,4 +1,4 @@ -// const serverApi = "http://192.168.56.1:3000"; +// const serverApi = "http://192.168.56.1:4003"; const serverApi = import.meta.env.VITE_SERVER_API; const apartmentsApi = `${serverApi}/apartments`; diff --git a/client/src/components/ApartmentSidebar.tsx b/client/src/components/ApartmentSidebar.tsx index 8775547..bfca128 100644 --- a/client/src/components/ApartmentSidebar.tsx +++ b/client/src/components/ApartmentSidebar.tsx @@ -97,7 +97,7 @@ const ApartmentSidebar = ({ currentApartment }: ApartmentSidebarProps) => {

- Unvailiable + Unavailable

diff --git a/client/src/components/companyPage/OurValues/Slider.tsx b/client/src/components/companyPage/OurValues/Slider.tsx index f92e979..ada6dd5 100644 --- a/client/src/components/companyPage/OurValues/Slider.tsx +++ b/client/src/components/companyPage/OurValues/Slider.tsx @@ -30,7 +30,7 @@ const Slider = () => { if (!imageRef.current?.src) return; const width = imageRef.current.width; setImageWidth(width); - }, [imageRef.current, window.innerWidth]); + }, [imageRef.current, window.innerWidth, imageRef?.current?.width]); useLayoutEffect(() => { const gapOffset = 45; diff --git a/client/src/components/complexPage/ComplexTopPanel.tsx b/client/src/components/complexPage/ComplexTopPanel.tsx index 6745623..d3912b2 100644 --- a/client/src/components/complexPage/ComplexTopPanel.tsx +++ b/client/src/components/complexPage/ComplexTopPanel.tsx @@ -95,7 +95,7 @@ const ComplexTopPanel = () => {
diff --git a/client/src/components/complexWingPage/FloorDescription.tsx b/client/src/components/complexWingPage/FloorDescription.tsx index 5d3ccc3..5878614 100644 --- a/client/src/components/complexWingPage/FloorDescription.tsx +++ b/client/src/components/complexWingPage/FloorDescription.tsx @@ -51,7 +51,7 @@ const FloorDescription = ({

Studio Flex

-

Unvailiable

+

Unavailable

@@ -66,7 +66,7 @@ const FloorDescription = ({

Studio

-

Unvailiable

+

Unavailable

@@ -81,7 +81,7 @@ const FloorDescription = ({

1 Bedroom

-

Unvailiable

+

Unavailable

@@ -98,7 +98,7 @@ const FloorDescription = ({ 2 Bedroom, Type A

-

Unvailiable

+

Unavailable

diff --git a/client/src/components/complexWingPage/FloorSidebar/ApartmentDescription.tsx b/client/src/components/complexWingPage/FloorSidebar/ApartmentDescription.tsx index 48c7c33..2bf9df3 100644 --- a/client/src/components/complexWingPage/FloorSidebar/ApartmentDescription.tsx +++ b/client/src/components/complexWingPage/FloorSidebar/ApartmentDescription.tsx @@ -51,7 +51,7 @@ const ApartmentDescription = ({

- Unvailiable + Unavailable

{/*

AED 1,668,888 diff --git a/client/src/components/complexWingPage/MobileApartmentDescription.tsx b/client/src/components/complexWingPage/MobileApartmentDescription.tsx index 1603123..ecb0f93 100644 --- a/client/src/components/complexWingPage/MobileApartmentDescription.tsx +++ b/client/src/components/complexWingPage/MobileApartmentDescription.tsx @@ -73,7 +73,7 @@ const MobileApartmentDescription = ({

- Unvailiable + Unavailable

{/*

AED 1,668,888 diff --git a/client/src/components/complexWingPage/SequenceWing/MobileFloorDescription.tsx b/client/src/components/complexWingPage/SequenceWing/MobileFloorDescription.tsx index b302b4e..0f51339 100644 --- a/client/src/components/complexWingPage/SequenceWing/MobileFloorDescription.tsx +++ b/client/src/components/complexWingPage/SequenceWing/MobileFloorDescription.tsx @@ -7,12 +7,14 @@ import RightArrowSliderIcon from "../../icons/RightArrowSliderIcon"; interface MobileFloorDescriptionProps { descriptionFloor: IDesctiptionFloor | null; floorApartments: IAparmentRes[]; + isLeft: boolean; onClick: (event: React.MouseEvent) => void; } const MobileFloorDescription = ({ descriptionFloor, floorApartments, + isLeft, onClick, }: MobileFloorDescriptionProps) => { return ( @@ -57,7 +59,7 @@ const MobileFloorDescription = ({

- Unvailiable + Unavailable

@@ -74,7 +76,7 @@ const MobileFloorDescription = ({

Studio

- Unvailiable + Unavailable

@@ -91,7 +93,7 @@ const MobileFloorDescription = ({

1 Bedroom

- Unvailiable + Unavailable

@@ -110,7 +112,7 @@ const MobileFloorDescription = ({

- Unvailiable + Unavailable