'use client'
import { Fragment, useState } from 'react'
import {
Dialog,
DialogBackdrop,
DialogPanel,
Disclosure,
DisclosureButton,
DisclosurePanel,
Popover,
PopoverButton,
PopoverGroup,
PopoverPanel,
Tab,
TabGroup,
TabList,
TabPanel,
TabPanels,
} from '@headlessui/react'
import {
Bars3Icon,
HeartIcon,
MagnifyingGlassIcon,
MinusIcon,
PlusIcon,
ShoppingBagIcon,
UserIcon,
XMarkIcon,
} from '@heroicons/react/24/outline'
import { StarIcon } from '@heroicons/react/20/solid'
const product = {
name: 'Community Buildings',
images: [
{
id: 1,
name: 'Community Space 1',
src: '/images/community1.jpg',
alt: 'Community gathering space with traditional design',
},
{
id: 2,
name: 'Community Space 2',
src: '/images/community2.jpg',
alt: 'Interior view of community building',
},
{
id: 3,
name: 'Community Space 3',
src: '/images/community3.jpg',
alt: 'Community space with seating arrangements',
},
{
id: 4,
name: 'Community Space 4',
src: '/images/community4.jpg',
alt: 'Community building exterior and surroundings',
},
],
colors: [
{ id: 'washed-black', name: 'Washed Black', classes: 'bg-gray-700 checked:outline-gray-700' },
{ id: 'white', name: 'White', classes: 'bg-white checked:outline-gray-400' },
{ id: 'washed-gray', name: 'Washed Gray', classes: 'bg-gray-500 checked:outline-gray-500' },
],
description: `
Community building holds significant value by fostering a sense of belonging, providing social and emotional support, and promoting collective action. It enhances social capital, encourages collaboration. Human to human connection become more and more important as new technological times require us to collaborate more on a peer to peer level and connect on different levels with each other.
`,
details: [
{
name: 'Features',
items: [
'Tailored itineraries that not only traverse the Nile but also include excursions to monumental sites like the temples of Luxor and the iconic pyramid to create life lasting bonds and inspire to integrate history while creating the future.',
'A comprehensive wellness approach integrating yoga, meditation, massage, and nutritious cuisine crafted by our onboard chef, complemented by wellness workshops aimed at holistic health.',
'Personal growth sessions led by experienced coaches, offering mentoring and guidance to foster self-discovery and personal development.',
],
},
{
name: 'Benefits',
items: [
'Enhanced self-awareness and rejuvenation within a nurturing environment, surrounded by the timeless beauty of the Nile.',
'Building connections with like-minded individuals in an intimate setting, ideal for forging community ties and shared transformative experiences.',
'Machine wash interior dividers',
'A balanced mix of relaxation, adventure, and cultural immersion, fostering a profound sense of well-being and enrichment.',
],
},
],
}
const relatedProducts = [
{
id: 1,
name: 'Zip Tote Basket',
color: 'White and black',
href: '#',
imageSrc: 'https://tailwindcss.com/plus-assets/img/ecommerce-images/product-page-03-related-product-01.jpg',
imageAlt: 'Front of zip tote bag with white canvas, black canvas straps and handle, and black zipper pulls.',
price: '$140',
},
{
id: 2,
name: 'Zip High Wall Tote',
color: 'White and blue',
href: '#',
imageSrc: 'https://tailwindcss.com/plus-assets/img/ecommerce-images/product-page-03-related-product-02.jpg',
imageAlt: 'Front of zip tote bag with white canvas, blue canvas straps and handle, and front zipper pocket.',
price: '$150',
},
{
id: 3,
name: 'Halfsize Tote',
color: 'Clay',
href: '#',
imageSrc: 'https://tailwindcss.com/plus-assets/img/ecommerce-images/product-page-03-related-product-03.jpg',
imageAlt: 'Front of tote with monochrome natural canvas body, straps, roll top, and handles.',
price: '$210',
},
{
id: 4,
name: 'High Wall Tote',
color: 'Black and orange',
href: '#',
imageSrc: 'https://tailwindcss.com/plus-assets/img/ecommerce-images/product-page-03-related-product-04.jpg',
imageAlt: 'Front of zip tote bag with black canvas, black handles, and orange drawstring top.',
price: '$210',
},
]
function classNames(...classes) {
return classes.filter(Boolean).join(' ')
}
export function Community() {
const [open, setOpen] = useState(false)
return (
{/* Product */}
{/* Image gallery */}
{/* Image selector */}
{product.images.map((image) => (
{image.name}
))}
{product.images.map((image) => (
))}
{/* Product info */}
{product.name}
Product information
{/* Reviews */}
Reviews
Additional details
{product.details.map((detail) => (
{detail.name}
{detail.items.map((item) => (
-
{item}
))}
))}
)
}