Spaces:
Build error
Build error
Download components/HowItWorks.js from ryeisi/anycoder-2d506362: direct link, hf CLI and curl.
- Browser
- Download file 4.23 kB
-
https://huggingface.co/spaces/ryeisi/anycoder-2d506362/resolve/main/components/HowItWorks.js
- Command line
-
hf download hf://spaces/ryeisi/anycoder-2d506362/components/HowItWorks.js
-
curl -L -o HowItWorks.js https://huggingface.co/spaces/ryeisi/anycoder-2d506362/resolve/main/components/HowItWorks.js
4.23 kB
| 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> | |
| ) | |
| } |