'use client' import { useState } from 'react' import { Radio, RadioGroup, Tab, TabGroup, TabList, TabPanel, TabPanels, } from '@headlessui/react' import { StarIcon } from '@heroicons/react/20/solid' import { HeartIcon } from '@heroicons/react/24/outline' const product = { name: 'VEDA III', images: [ { id: 1, name: 'Veda', src: '/images/veda31.jpg', alt: 'Veda1', }, { id: 1, name: 'Veda', src: '/images/veda32.jpg', alt: 'Veda1', }, { id: 1, name: 'Veda', src: '/images/veda33.jpg', alt: 'Veda1', }, { id: 1, name: 'Veda', src: '/images/veda34.jpg', alt: 'Veda1', }, { id: 1, name: 'Veda', src: '/images/veda35.jpg', alt: 'Veda1', }, { id: 1, name: 'Veda', src: '/images/veda36.jpg', alt: 'Veda1', }, { id: 1, name: 'Veda', src: '/images/veda37.jpg', alt: 'Veda1', }, { id: 1, name: 'Veda', src: '/images/veda38.jpg', alt: 'Veda1', }, // More images... ], colors: [ { name: 'Washed Black', bgColor: 'bg-gray-700', selectedColor: 'ring-gray-700' }, { name: 'White', bgColor: 'bg-white', selectedColor: 'ring-gray-400' }, { name: 'Washed Gray', bgColor: 'bg-gray-500', selectedColor: 'ring-gray-500' }, ], description: `
VEDA III is a cozy 18-meter dahabiya that offers a serene floating home experience, perfect for smaller groups seeking tranquility and comfort on the Nile.
VEDA III accommodates up to 10 guests across 5 rooms. The accommodations include 2 rooms with double beds and 3 rooms with two single beds, providing flexible sleeping arrangements. Each room is equipped with a private bathroom for convenience and privacy.
Guests can enjoy breathtaking views of the Nile from the cozy upper deck, designed for relaxation and enjoyment. The upper deck provides an intimate space to unwind and take in the river's beauty.
`, details: [ { name: 'FEATURES', items: [ '5 Rooms: 2 rooms with double beds and 3 rooms with two single beds', 'Hosts up to 10 people', 'Private bathroom ensuites in each room', 'Intimate upper deck with stunning Nile views', ], }, // More sections... ], } function classNames(...classes) { return classes.filter(Boolean).join(' ') } export default function Example() { const [selectedColor, setSelectedColor] = useState(product.colors[0]) return (