diff --git a/public/images/about-complex/dubai-marina/tower-tablet.png b/public/images/about-complex/dubai-marina/tower-tablet.png new file mode 100644 index 0000000..a064406 Binary files /dev/null and b/public/images/about-complex/dubai-marina/tower-tablet.png differ diff --git a/src/components/Slider.tsx b/src/components/Slider.tsx index 95875da..2cb0e32 100644 --- a/src/components/Slider.tsx +++ b/src/components/Slider.tsx @@ -1,15 +1,15 @@ -import { useEffect, useState } from 'react'; -import ArrowLeftIcon from './icons/ArrowLeftIcon'; -import ArrowRightIcon from './icons/ArrowRightIcon'; -import { dubaiMarinaSlider } from '../data/aboutDubaiMarina'; -import { AnimatePresence, motion } from 'motion/react'; -import { useSwipeable } from 'react-swipeable'; -import Button from './ui/Button'; +import { useEffect, useState } from "react"; +import ArrowLeftIcon from "./icons/ArrowLeftIcon"; +import ArrowRightIcon from "./icons/ArrowRightIcon"; +import { dubaiMarinaSlider } from "../data/aboutDubaiMarina"; +import { AnimatePresence, motion } from "motion/react"; +import { useSwipeable } from "react-swipeable"; +import Button from "./ui/Button"; function Slider({ categoryName, }: { - categoryName: 'Wellness' | 'Fitness' | 'Community' | 'Convenience'; + categoryName: "Wellness" | "Fitness" | "Community" | "Convenience"; }) { const [currentSlide, setCurrentSlide] = useState(0); const [direction, setDirection] = useState(-1); @@ -45,7 +45,7 @@ function Slider({ return (
0 ? '100%' : '-100%' }} - animate={{ x: 0, transition: { duration: 0.5, ease: 'easeInOut' } }} + initial={{ x: direction > 0 ? "100%" : "-100%" }} + animate={{ x: 0, transition: { duration: 0.5, ease: "easeInOut" } }} exit={{ - x: direction > 0 ? '100%' : '-100%', - transition: { duration: 0.8, ease: 'easeInOut' }, + x: direction > 0 ? "100%" : "-100%", + transition: { duration: 0.8, ease: "easeInOut" }, }} /> @@ -80,7 +80,7 @@ function Slider({ +
768 ? firstSectionOpacity : 1, + opacity: width > 1439 ? firstSectionOpacity : 1, }} > -
+
dubai marina about dubai marina about
-
-
-

+
+
+

{`Rove Home Dubai Marina`}

-
+
{roveHomeDescription.map((description) => ( ))}
-
-

+
+

{`Own the last slice of Dubai Marina, ROVE Style`}

-

+

{`With an extended playlist of life-enhancing amenities, Rove Home is a complete ecosystem that has everything you'll ever need.`} @@ -100,67 +102,77 @@ function AboutComplexPage() {

768 ? secondSectionY : 0, + y: width > 1439 ? secondSectionY : 0, zIndex: 1, }} > -
-
-
-

+
+
+
+

{`Own the last slice of Dubai Marina, ROVE Style`}

-

+

{`With an extended playlist of life-enhancing amenities, Rove Home is a complete ecosystem that has everything you'll ever need.`}

-
-

+
+

Rove Home has it all

-

+

{`Rove Home Dubai Marina features modern-day conveniences, carefully curated for an active and social lifestyle.`}

-
+
{dubaiMarinaFeatures.map((feature) => (
-
+
{feature.name}
))}
-
-

- Dubai, within reach +
+

+ Dubai, within reach

-
+
{dubaiMarinaDescription.map((descriptionItem) => (
setSelectedCategorySlider(descriptionItem.title) } > -
+

))}

- +
{sliderBadgesCategory[selectedCategorySlider].map( (badgeItem, index) => ( @@ -224,131 +236,135 @@ function AboutComplexPage() {
-
-

+
+

Dubai's first-ever combinable Apartments

- -

+ + + +

{`Enjoy the option to combine 2 apartments and create a larger space and configuration.`}

-
+
-

+

Studio²

- +
-

+

Studio²

- +
-

+

1 Bedroom²

-
or
-
+
+ or +
+
-

+

Studio²

- +
-

+

1 Bedroom²

- +
-

+

2 Bedroom²

-
+

Live central. Live centred

-

+

{`Located in the heart of Dubai Marina, Rove Home Dubai Marina is where active living meets modern convenience. Enjoy an energetic lifestyle surrounded by trendy cafés, shops, and entertainment options – all within reach.`}

-
+
central map -
+
{}}