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}
-
-
-
-
-
- ))}
-
-
{/* 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}
))}
-