forked from veda/www_veda_2025
replace
This commit is contained in:
@@ -8,6 +8,7 @@ import {
|
||||
TabPanel,
|
||||
TabPanels,
|
||||
} from '@headlessui/react'
|
||||
import { H2, PS } from '@/components/text'
|
||||
|
||||
const product = {
|
||||
name: 'VEDA II',
|
||||
@@ -96,11 +97,11 @@ const product = {
|
||||
{ name: 'White', bgColor: 'bg-white', selectedColor: 'ring-gray-400' },
|
||||
{ name: 'Washed Gray', bgColor: 'bg-gray-500', selectedColor: 'ring-gray-500' },
|
||||
],
|
||||
description: `
|
||||
<p>This elegant 45-meter dahabiya is perfect for hosting larger groups, healing retreats, company getaways, and more. It provides a comfortable and customizable experience for all guests on board.</p>
|
||||
<p>VEDA II accommodates up to 20 guests in 10 rooms, each equipped with double beds that can be converted into singles. Every room features a private bathroom for added convenience and privacy. Among these rooms, two are suites with charming balconies.</p>
|
||||
<p>VEDA II boasts a spacious and inviting upper deck, thoughtfully divided into multiple areas, including a sunbathing section, a Bedouin corner, and a dining area. The sun deck offers customizable space to suit your specific needs and preferences.</p>
|
||||
`,
|
||||
description: [
|
||||
'This elegant 45-meter dahabiya is perfect for hosting larger groups, healing retreats, company getaways, and more. It provides a comfortable and customizable experience for all guests on board.',
|
||||
'VEDA II accommodates up to 20 guests in 10 rooms, each equipped with double beds that can be converted into singles. Every room features a private bathroom for added convenience and privacy. Among these rooms, two are suites with charming balconies.',
|
||||
'VEDA II boasts a spacious and inviting upper deck, thoughtfully divided into multiple areas, including a sunbathing section, a Bedouin corner, and a dining area. The sun deck offers customizable space to suit your specific needs and preferences.'
|
||||
],
|
||||
details: [
|
||||
{
|
||||
name: 'FEATURES',
|
||||
@@ -175,22 +176,23 @@ export default function Example() {
|
||||
<h1 className="text-3xl font-bold tracking-tight text-gray-900">{product.name}</h1>
|
||||
|
||||
<div className="mt-3">
|
||||
<h2 className="sr-only">Product information</h2>
|
||||
<H2 className="sr-only">Product information</H2>
|
||||
</div>
|
||||
|
||||
<div className="mt-6">
|
||||
<h3 className="sr-only">Description</h3>
|
||||
|
||||
<div
|
||||
dangerouslySetInnerHTML={{ __html: product.description }}
|
||||
className="space-y-6 text-base text-gray-700"
|
||||
/>
|
||||
<div className="space-y-6 text-base text-gray-700">
|
||||
{product.description.map((paragraph, index) => (
|
||||
<PS key={index}>{paragraph}</PS>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<section aria-labelledby="details-heading" className="mt-12">
|
||||
<h2 id="details-heading" className="sr-only">
|
||||
<H2 id="details-heading" className="sr-only">
|
||||
Additional details
|
||||
</h2>
|
||||
</H2>
|
||||
|
||||
<div className="border-t border-gray-200 pt-6">
|
||||
<h3 className="text-lg font-medium text-gray-900">FEATURES</h3>
|
||||
|
||||
Reference in New Issue
Block a user