import { useScroll, useTransform, motion, useInView } from 'motion/react'; import { useRef } from 'react'; import { dubaiMarinaFeatures, dubaiMarinaDescription, roveHomeDescription, wellnessDescription, } from '../data/aboutDubaiMarina'; import EqualIcon from '../components/icons/EqualIcon'; import TextBox from '../components/TextBox'; import clsx from 'clsx'; import Slider from '../components/Slider'; import PlusIcon from '../components/icons/map/PlusIcon'; function AboutComplexPage() { const containerRef = useRef(null); const sliderRef = useRef(null); const mapRef = useRef(null); const { scrollYProgress } = useScroll({ target: containerRef, offset: ['start start', 'end start'], }); const firstSectionOpacity = useTransform(scrollYProgress, [0, 0.2], [1, 0]); const secondSectionY = useTransform( scrollYProgress, [0, 0.4], ['100dvh', '0dvh'] ); const isSliderInView = useInView(sliderRef, { once: true, amount: 0.1, }); const isMapInView = useInView(mapRef, { once: true, margin: `0px 0px ${-window.innerHeight / 2}px 0px`, }); return (
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.`}

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

{dubaiMarinaDescription.map((descriptionItem) => (
{descriptionItem.title}

{descriptionItem.description}

))}
{wellnessDescription.map((wellnessItem) => ( ))}

Dubai's first-ever combinable Apartments

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

Studio²

Studio²

1 Bedroom²

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.`}

); } export default AboutComplexPage;