Update components/how-it-works-section.tsx
This commit is contained in:
parent
9d5ce56f09
commit
b7128e4a7b
|
|
@ -0,0 +1,75 @@
|
|||
"use client";
|
||||
import { Container } from "@/components/container";
|
||||
import { Heading } from "@/components/heading";
|
||||
import { Button } from "@/components/ui/button";
|
||||
import { MessageCircle, Search, Users, CheckCircle } from "lucide-react";
|
||||
|
||||
export function HowItWorksSection() {
|
||||
const steps = [
|
||||
{
|
||||
number: "1",
|
||||
icon: <MessageCircle className="h-8 w-8 text-white" />,
|
||||
title: "Contact Us on WhatsApp",
|
||||
description: "Reach out to us with your travel plans and questions."
|
||||
},
|
||||
{
|
||||
number: "2",
|
||||
icon: <Search className="h-8 w-8 text-white" />,
|
||||
title: "Share Your Preferences",
|
||||
description: "Tell us your budget, dates, destination, and travel style."
|
||||
},
|
||||
{
|
||||
number: "3",
|
||||
icon: <Users className="h-8 w-8 text-white" />,
|
||||
title: "Get Agency Options",
|
||||
description: "We suggest 2-3 suitable travel agencies based on your needs."
|
||||
},
|
||||
{
|
||||
number: "4",
|
||||
icon: <CheckCircle className="h-8 w-8 text-white" />,
|
||||
title: "Choose & Book",
|
||||
description: "You choose the best option and book directly with the agency."
|
||||
}
|
||||
];
|
||||
|
||||
const handleWhatsAppClick = () => {
|
||||
window.open("https://wa.me/919999999999?text=Hi, I need help planning my trip", "_blank");
|
||||
};
|
||||
|
||||
return (
|
||||
<section className="py-20 bg-white">
|
||||
<Container>
|
||||
<div className="text-center mb-12">
|
||||
<Heading className="text-3xl md:text-4xl font-bold text-neutral-900">
|
||||
How It Works
|
||||
</Heading>
|
||||
<p className="mt-4 text-lg text-neutral-600 max-w-2xl mx-auto">
|
||||
Getting started is simple. Just four easy steps to find your perfect trip.
|
||||
</p>
|
||||
</div>
|
||||
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8 mb-12">
|
||||
{steps.map((step, index) => (
|
||||
<div key={index} className="text-center">
|
||||
<div className="inline-flex items-center justify-center w-16 h-16 rounded-full bg-green-700 mb-4">
|
||||
{step.icon}
|
||||
</div>
|
||||
<div className="text-sm font-semibold text-green-700 mb-2">STEP {step.number}</div>
|
||||
<h3 className="text-lg font-semibold text-neutral-900 mb-2">{step.title}</h3>
|
||||
<p className="text-neutral-600 text-sm">{step.description}</p>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
<div className="text-center">
|
||||
<Button
|
||||
size="lg"
|
||||
className="bg-green-700 hover:bg-green-800 text-white px-8 py-6 text-lg"
|
||||
onClick={handleWhatsAppClick}
|
||||
>
|
||||
<MessageCircle className="mr-2 h-5 w-5" />
|
||||
Start Your Journey
|
||||
</Button>
|
||||
</div>
|
||||
</Container>
|
||||
</section>
|
||||
);
|
||||
}
|
||||
Loading…
Reference in New Issue