diff --git a/src/components/Veda2.jsx b/src/components/Veda2.jsx index 5cc7b29..8dd260d 100644 --- a/src/components/Veda2.jsx +++ b/src/components/Veda2.jsx @@ -1,5 +1,8 @@ 'use client' +import { H3, PXXS } from '@/components/text' +import { Button } from '@/components/Button' + import { useState } from 'react' import { Tab, @@ -8,7 +11,7 @@ import { TabPanel, TabPanels, } from '@headlessui/react' -import { H2, PS, PXS } from '@/components/text' +import { H2, PS } from '@/components/text' const product = { name: 'VEDA II', @@ -25,12 +28,6 @@ const product = { src: '/images/dahabiyas/veda2/veda2_8.jpg', alt: 'Veda2', }, - { - id: 3, - name: 'Veda', - src: '/images/dahabiyas/veda2/veda2_10.jpg', - alt: 'Veda2', - }, { id: 4, name: 'Veda', @@ -128,10 +125,31 @@ export default function Veda2() { return (
-
-
+
+
{/* Image gallery */} - + + {/* Image selector */} +
+ + {product.images.map((image) => ( + +

{image.name}

+ + + +
+ ))} +
+
+ {product.images.map((image) => ( @@ -143,79 +161,43 @@ export default function Veda2() { ))} - - {/* Image selector */} -
- - {product.images.map((image) => ( - - classNames( - 'group relative flex h-24 cursor-pointer items-center justify-center bg-white text-sm font-medium uppercase text-gray-900 hover:bg-gray-50 focus:outline-none focus:ring focus:ring-opacity-50 focus:ring-offset-4', - selected ? 'ring-indigo-500' : 'ring-transparent' - ) - } - > - {image.name} - - {image.alt} - - - ))} - -
{/* Product info */} -
-

{product.name}

+
+

{product.name}

-
-

Product information

-
- -
-

Description

- -
+
+
{product.description.map((paragraph, index) => ( {paragraph} ))}
-
-

- Additional details -

- +
-

FEATURES

+

Specifications

-
    +
      {product.details[0].items.map((item) => (
    • - {item} + {item}
    • ))}
-
-
- -
-
+
+
+ +
+
diff --git a/src/components/Veda3.jsx b/src/components/Veda3.jsx index fdbb6b4..9774581 100644 --- a/src/components/Veda3.jsx +++ b/src/components/Veda3.jsx @@ -1,18 +1,17 @@ 'use client' +import { H3, PXXS } from '@/components/text' +import { Button } from '@/components/Button' + 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' -import { H2, PS, PXS } from '@/components/text' +import { H2, PS } from '@/components/text' const product = { name: 'VEDA III', @@ -117,7 +116,7 @@ export default function Veda3() { return (
-
+
{/* Image gallery */} @@ -129,7 +128,7 @@ export default function Veda3() { key={image.id} className="group relative flex h-24 cursor-pointer items-center justify-center bg-white text-sm font-medium uppercase text-gray-900 hover:bg-gray-50 focus:outline-none focus:ring focus:ring-opacity-50 focus:ring-offset-4" > - {image.name} +

{image.name}

@@ -156,48 +155,38 @@ export default function Veda3() {
{/* Product info */} -
-

{product.name}

+
+

{product.name}

-
-

Product information

-
- -
-

Description

- -
+
+
{product.description.map((paragraph, index) => ( {paragraph} ))}
-
-

- Additional details -

- +
-

FEATURES

+

Specifications

-
    +
      {product.details[0].items.map((item) => (
    • - {item} + {item}
    • ))}
-
-
- +
diff --git a/src/components/Veda4.jsx b/src/components/Veda4.jsx index 88ffe0a..a4c2c8f 100644 --- a/src/components/Veda4.jsx +++ b/src/components/Veda4.jsx @@ -1,5 +1,8 @@ 'use client' +import { H3, PXXS } from '@/components/text' +import { Button } from '@/components/Button' + import { useState } from 'react' import { Tab, @@ -8,7 +11,7 @@ import { TabPanel, TabPanels, } from '@headlessui/react' -import { H2, PS, PXS } from '@/components/text' +import { H2, PS } from '@/components/text' const product = { name: 'VEDA IV', @@ -93,8 +96,8 @@ const product = { ], description: [ 'This stunning 55-meter dahabiya offers a tranquil and organic platform for hosting personalized cruises, providing an unforgettable experience on the Nile.', - 'VEDA IV accommodates up to 28 guests in 14 elegantly designed rooms. Each room is equipped with double beds that can be converted into singles, ensuring flexibility and comfort. All rooms feature private bathrooms. Among these, 4 rooms are luxurious suites with private balconies, offering spectacular views.', - 'VEDA IV features two air-conditioned meeting spaces that can accommodate up to 50 people, ideal for gatherings and events. The upper deck meeting room offers a breathtaking 360-degree panoramic view, perfect for meetings or leisure. There are multiple areas designed for relaxation and suitable for workshops, yoga, or meditation, providing a serene environment for all guests. Additionally, a well-stocked library is available, featuring a curated collection of books on Egyptian history and awareness, offering guests a quiet place to read and learn.' + 'VEDA IV accommodates up to 28 guests in 14 elegantly designed rooms. All rooms feature double bed and private bathrooms. Among these, 4 rooms are luxurious suites with private balconies, offering spectacular views.', + 'VEDA IV features two air-conditioned meeting spaces that can accommodate up to 50 people, ideal for gatherings and events. Additionally, a well-stocked library is available, featuring a curated collection of books on Egyptian history and awareness, offering guests a quiet place to read and learn.' ], details: [ { @@ -122,10 +125,31 @@ export default function Veda4() { return (
-
-
+
+
{/* Image gallery */} - + + {/* Image selector */} +
+ + {product.images.map((image) => ( + +

{image.name}

+ + + +
+ ))} +
+
+ {product.images.map((image) => ( @@ -137,79 +161,43 @@ export default function Veda4() { ))} - - {/* Image selector */} -
- - {product.images.map((image) => ( - - classNames( - 'group relative flex h-24 cursor-pointer items-center justify-center bg-white text-sm font-medium uppercase text-gray-900 hover:bg-gray-50 focus:outline-none focus:ring focus:ring-opacity-50 focus:ring-offset-4', - selected ? 'ring-indigo-500' : 'ring-transparent' - ) - } - > - {image.name} - - {image.alt} - - - ))} - -
{/* Product info */} -
-

{product.name}

+
+

{product.name}

-
-

Product information

-
- -
-

Description

- -
+
+
{product.description.map((paragraph, index) => ( {paragraph} ))}
-
-

- Additional details -

- +
-

FEATURES

+

Specifications

-
    +
      {product.details[0].items.map((item) => (
    • - {item} + {item}
    • ))}
-
-
- -
-
+
+
+ +
+