forked from wix/nextjs-commerce
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfeatured-products.tsx
66 lines (59 loc) · 1.84 KB
/
featured-products.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
import { Carousel } from 'components/carousel';
import { ThreeItemGrid } from 'components/grid/three-items';
import Headline from 'components/ui/headline';
import Link from 'next/link';
import { FaArrowRight } from 'react-icons/fa';
const FeaturedProducts = () => {
// Example products array
const products = [
{
title: 'Luxury Beach Getaway',
description: 'A relaxing 5-star beachfront resort experience in Bali.',
price: '$2,500',
image: '/images/product1.jpg',
},
{
title: 'Safari Adventure in Africa',
description: 'An unforgettable safari experience in South Africa.',
price: '$3,000',
image: '/images/product2.jpg',
},
{
title: 'Romantic Getaway in Paris',
description: 'Explore the city of love with private tours and experiences.',
price: '$1,800',
image: '/images/product3.jpg',
},
];
return (
<section className="py-16 ">
<div className=" text-center">
{/* Section Heading */}
<Headline
title="Choose Your Packages"
subtitle="Packages"
tagline="Luxury, Adventure, Memories"
classes={{
container: "max-w-4xl mx-auto",
title: "text-3xl font-bold text-gray-800 dark:text-white",
subtitle: "mt-4 text-base text-gray-600 dark:text-gray-400",
}}
/>
{/* Product Cards */}
<ThreeItemGrid />
<Carousel />
{/* CTA Button */}
<div className="mt-12">
<Link
href="/search"
className="inline-block px-8 py-3 bg-primary-600 text-white rounded-full text-lg hover:bg-primary-700 transition duration-300"
>
Discover More Packages
<FaArrowRight className="inline-block ml-2" />
</Link>
</div>
</div>
</section>
);
};
export default FeaturedProducts;