Spaces:
Build error
Build error
File size: 4,229 Bytes
c9588b0 | 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 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 | import { Upload, Settings, Zap, RefreshCw, Check } from 'lucide-react'
export default function HowItWorks() {
const steps = [
{
step: "01",
icon: <Upload className="w-6 h-6" />,
title: "You Share Product Excel",
description: "Send us your product list in Excel. Include product names, prices, descriptions, and images. If you don't have one, we'll create a template for you.",
duration: "Day 1"
},
{
step: "02",
icon: <Settings className="w-6 h-6" />,
title: "We Set Up Shopify",
description: "We create your professional Shopify store, upload all products, set up payments, and configure everything according to your brand.",
duration: "Day 2-5"
},
{
step: "03",
icon: <Zap className="w-6 h-6" />,
title: "Instagram Posts Are Automated",
description: "We connect your Excel to Instagram. Products are automatically posted with beautiful images and AI captions. You approve once, it runs forever.",
duration: "Day 6-8"
},
{
step: "04",
icon: <RefreshCw className="w-6 h-6" />,
title: "Inventory Syncs Automatically",
description: "Every time you sell on Shopify or Instagram, your Excel updates instantly. No more stock mismatches. No more manual updates.",
duration: "Day 9-10"
}
]
return (
<section id="how-it-works" className="section-padding bg-secondary-50">
<div className="container-custom">
{/* Section Header */}
<div className="text-center mb-12">
<h2 className="section-title">How It Works — 4 Simple Steps</h2>
<p className="section-subtitle mx-auto">
We've simplified the entire process. Just share your Excel, and we handle everything else.
You focus on your business, we handle the technology.
</p>
</div>
{/* Steps Timeline */}
<div className="relative">
{/* Desktop Timeline Line */}
<div className="hidden md:block absolute top-12 left-[12%] right-[12%] h-1 bg-primary-200"></div>
<div className="grid md:grid-cols-4 gap-8">
{steps.map((item, index) => (
<div key={index} className="relative">
{/* Step Card */}
<div className="card h-full text-center relative z-10">
{/* Step Number Badge */}
<div className="absolute -top-6 left-1/2 transform -translate-x-1/2">
<div className="w-12 h-12 bg-primary-600 rounded-full flex items-center justify-center text-white font-bold text-sm border-4 border-secondary-50">
{item.step}
</div>
</div>
{/* Duration Badge */}
<div className="mt-8 mb-4">
<span className="inline-block px-3 py-1 bg-primary-100 text-primary-700 text-xs font-medium rounded-full">
{item.duration}
</span>
</div>
{/* Icon */}
<div className="w-14 h-14 bg-primary-100 rounded-xl flex items-center justify-center mx-auto mb-4 text-primary-600">
{item.icon}
</div>
{/* Content */}
<h3 className="card-title text-lg mb-2">{item.title}</h3>
<p className="card-text text-sm">{item.description}</p>
</div>
{/* Mobile Timeline Line */}
{index < steps.length - 1 && (
<div className="md:hidden absolute top-1/2 -right-4 transform -translate-y-1/2">
<Check className="w-6 h-6 text-primary-600" />
</div>
)}
</div>
))}
</div>
</div>
{/* CTA */}
<div className="mt-12 text-center">
<p className="text-secondary-600 mb-4">Ready to get started? Let's talk about your business.</p>
<a
href="#contact"
className="btn-primary inline-flex items-center"
>
Book Your Free 15-Minute Call
</a>
</div>
</div>
</section>
)
} |