'use client'
import { useId } from 'react'
import Image from 'next/image'
import { Tab, TabGroup, TabList, TabPanel, TabPanels } from '@headlessui/react'
import clsx from 'clsx'
import { Button } from '@/components/Button'
import { Container } from '@/components/Container'
import veda1 from '@/images/dahabiyas/veda1.jpg'
import veda2 from '@/images/dahabiyas/veda2.jpg'
import veda3 from '@/images/dahabiyas/veda3.jpg'
import veda4 from '@/images/dahabiyas/veda4.jpg'
const features = [
{
name: 'VEDA 1',
summary: 'The ideal retreat for luxury and privacy, perfect for intimate gatherings.',
description: [
'6 rooms & 4 suites with balconies.',
'Hosts up to 20 people.',
'Private bathroom ensuites.'
],
button: 'Learn More',
href: '/dahabiyas',
image: veda1,
icon: function ReportingIcon() {
let id = useId()
return (
<>
>
)
},
},
{
name: 'VEDA 2',
summary: 'The perfect spacious space for larger groups seeking comfort.',
description: [
'8 rooms & 2 suites with balconies.',
'Hosts up to 20 people.',
'Private bathroom ensuites.'
],
button: 'Learn More',
href: '/dahabiyas',
image: veda2,
icon: function InventoryIcon() {
return (
<>
>
)
},
},
{
name: 'VEDA 3',
summary: 'An ideal choice for small groups valuing intimacy in a cozy setting.',
description: [
'5 rooms with balconies.',
'Hosts up to 10 people.',
'Private bathroom ensuites.'
],
button: 'Learn More',
href: '/dahabiyas',
image: veda3,
icon: function ContactsIcon() {
return (
<>
>
)
},
},
{
name: 'VEDA 4',
summary: 'The perfect choice for accommodating larger gatherings with ease.',
description: [
'10 rooms & 4 suites with balconies.',
'Hosts up to 28 people.',
'Private bathroom ensuites.'
],
button: 'Learn More',
href: '/dahabiyas',
image: veda4,
icon: function ContactsIcon() {
return (
<>
>
)
},
},
]
function Feature({ feature, isActive, className, ...props }) {
return (
{/* Render icon here if needed */}
{feature.name}
{feature.summary}
{feature.description.map((item, index) => (
{item}
))}
)
}
function FeaturesMobile() {
return (
{features.map((feature) => (
))}
)
}
function FeaturesDesktop() {
return (
{({ selectedIndex }) => (
<>
{features.map((feature, featureIndex) => (
{feature.name}
{feature.summary}
{feature.description.map((item, index) => (
{item}
))}
{feature.button}
))}
{features.map((feature, featureIndex) => (
{/* Content of the selected tab can go here */}
))}
>
)}
)
}
export function SecondaryFeatures() {
return (
OUR OFFERS
VEDA DAHABIYAS
Discover peaceful platforms where every detail ensures a truly memorable stay.
)
}