diff --git a/public/images/interiors/dubai-marina/1-bedroom-a.png b/public/images/interiors/dubai-marina/1-bedroom-a.png deleted file mode 100644 index 790f303..0000000 Binary files a/public/images/interiors/dubai-marina/1-bedroom-a.png and /dev/null differ diff --git a/public/images/interiors/dubai-marina/1-bedroom-b.png b/public/images/interiors/dubai-marina/1-bedroom-b.png deleted file mode 100644 index f0469c9..0000000 Binary files a/public/images/interiors/dubai-marina/1-bedroom-b.png and /dev/null differ diff --git a/public/images/interiors/dubai-marina/1-bedroom-c.png b/public/images/interiors/dubai-marina/1-bedroom-c.png deleted file mode 100644 index f514f06..0000000 Binary files a/public/images/interiors/dubai-marina/1-bedroom-c.png and /dev/null differ diff --git a/public/images/interiors/dubai-marina/1-bedroom-d.png b/public/images/interiors/dubai-marina/1-bedroom-d.png deleted file mode 100644 index 82cc045..0000000 Binary files a/public/images/interiors/dubai-marina/1-bedroom-d.png and /dev/null differ diff --git a/public/images/interiors/dubai-marina/1-bedroom-loft-a.png b/public/images/interiors/dubai-marina/1-bedroom-loft-a.png deleted file mode 100644 index d4f0f3d..0000000 Binary files a/public/images/interiors/dubai-marina/1-bedroom-loft-a.png and /dev/null differ diff --git a/public/images/interiors/dubai-marina/1-bedroom-loft-b.png b/public/images/interiors/dubai-marina/1-bedroom-loft-b.png deleted file mode 100644 index d4f0f3d..0000000 Binary files a/public/images/interiors/dubai-marina/1-bedroom-loft-b.png and /dev/null differ diff --git a/public/images/interiors/dubai-marina/1-bedroom-loft-c.png b/public/images/interiors/dubai-marina/1-bedroom-loft-c.png deleted file mode 100644 index c4b9eac..0000000 Binary files a/public/images/interiors/dubai-marina/1-bedroom-loft-c.png and /dev/null differ diff --git a/public/images/interiors/dubai-marina/2-bedroom-a.png b/public/images/interiors/dubai-marina/2-bedroom-a.png deleted file mode 100644 index d69dc2a..0000000 Binary files a/public/images/interiors/dubai-marina/2-bedroom-a.png and /dev/null differ diff --git a/public/images/interiors/dubai-marina/2-bedroom-loft.png b/public/images/interiors/dubai-marina/2-bedroom-loft.png deleted file mode 100644 index e623924..0000000 Binary files a/public/images/interiors/dubai-marina/2-bedroom-loft.png and /dev/null differ diff --git a/public/images/interiors/dubai-marina/studio-2-a.png b/public/images/interiors/dubai-marina/studio-2-a.png deleted file mode 100644 index fcf0e9d..0000000 Binary files a/public/images/interiors/dubai-marina/studio-2-a.png and /dev/null differ diff --git a/public/images/interiors/dubai-marina/studio-2-b.png b/public/images/interiors/dubai-marina/studio-2-b.png deleted file mode 100644 index 587b9d7..0000000 Binary files a/public/images/interiors/dubai-marina/studio-2-b.png and /dev/null differ diff --git a/public/images/interiors/dubai-marina/studio-2-c.png b/public/images/interiors/dubai-marina/studio-2-c.png deleted file mode 100644 index eb528ed..0000000 Binary files a/public/images/interiors/dubai-marina/studio-2-c.png and /dev/null differ diff --git a/src/components/UnitTypeItem.tsx b/src/components/UnitTypeItem.tsx index 2807130..980cc29 100644 --- a/src/components/UnitTypeItem.tsx +++ b/src/components/UnitTypeItem.tsx @@ -9,6 +9,7 @@ import UnitSliderItem from "./UnitSliderItem"; import NewUnitSlider from "./NewUnitSlider"; import UnitTypeImageWithMarkers from "./UnitTypeImageWithMarkers"; import UnitImageWithSides from "./UnitImageWithSides"; +import InteriorSlider from "./InteriorSlider"; interface UnitTypeItemProps { project: Project; @@ -31,48 +32,77 @@ function UnitTypeItem({ project, type }: UnitTypeItemProps) { {type.slug.includes("-loft") ? ( <> - + {innerWidth >= 768 ? ( + + + + ) : ( - + )} - + {innerWidth >= 768 ? ( + + + + ) : ( - + )} ) : ( - + {innerWidth >= 768 && type.slug !== "2-bedroom-b" ? ( + + + + ) : ( - + )} )} - - - + {innerWidth >= 1440 ? ( + + + + ) : ( + type.interiors.map((interior, index) => ( + + + + )) + )}
@@ -102,14 +132,6 @@ function UnitTypeItem({ project, type }: UnitTypeItemProps) {

- {/* {![ - "1-bedroom-d", - "2-bedroom-a", - "1-bedroom-loft-a", - "1-bedroom-loft-b", - "1-bedroom-loft-c", - ].includes(type.slug) && ( - )} */} {type.video && (