Spaces:
Build error
Build error
Download components/Solution.js from ryeisi/anycoder-2d506362: direct link, hf CLI and curl.
- Browser
- Download file 5.97 kB
-
https://huggingface.co/spaces/ryeisi/anycoder-2d506362/resolve/main/components/Solution.js
- Command line
-
hf download hf://spaces/ryeisi/anycoder-2d506362/components/Solution.js
-
curl -L -o Solution.js https://huggingface.co/spaces/ryeisi/anycoder-2d506362/resolve/main/components/Solution.js
5.97 kB
| import { ShoppingCart, Instagram, FileSpreadsheet, ArrowRight } from 'lucide-react' | |
| export default function Solution() { | |
| const solutions = [ | |
| { | |
| icon: <ShoppingCart className="w-10 h-10" />, | |
| title: "Shopify Online Store", | |
| description: "A professional online store that works on mobile and desktop. Customers can browse, compare, and buy directly — 24/7.", | |
| features: ["Mobile-optimized design", "Secure payment gateway", "Order management system", "Customer accounts"], | |
| color: "bg-blue-100 text-blue-600" | |
| }, | |
| { | |
| icon: <Instagram className="w-10 h-10" />, | |
| title: "Automated Instagram Posts", | |
| description: "Your products are automatically posted to Instagram with beautiful images and AI-generated captions. Save hours every week.", | |
| features: ["Auto-post from your Excel", "AI-generated captions", "Hashtag optimization", "Consistent posting schedule"], | |
| color: "bg-pink-100 text-pink-600" | |
| }, | |
| { | |
| icon: <FileSpreadsheet className="w-10 h-10" />, | |
| title: "Excel Inventory Management", | |
| description: "Use a simple Excel sheet to manage all your products. Update one cell and it reflects everywhere — store, Instagram, and orders.", | |
| features: ["Single source of truth", "Real-time sync", "Low stock alerts", "Sales tracking reports"], | |
| color: "bg-green-100 text-green-600" | |
| } | |
| ] | |
| return ( | |
| <section className="section-padding bg-white"> | |
| <div className="container-custom"> | |
| {/* Section Header */} | |
| <div className="text-center mb-12"> | |
| <div className="inline-flex items-center space-x-2 bg-primary-100 text-primary-800 px-4 py-2 rounded-full text-sm font-medium mb-4"> | |
| <span>The Solution</span> | |
| </div> | |
| <h2 className="section-title">One System, Three Powerful Tools</h2> | |
| <p className="section-subtitle mx-auto"> | |
| We set up a complete automation system that works together seamlessly. | |
| You update Excel, and everything else happens automatically. | |
| </p> | |
| </div> | |
| {/* Solutions Grid */} | |
| <div className="grid lg:grid-cols-3 gap-8"> | |
| {solutions.map((solution, index) => ( | |
| <div key={index} className="card hover:border-primary-200 group"> | |
| <div className={`w-16 h-16 ${solution.color} rounded-xl flex items-center justify-center mb-6 group-hover:scale-110 transition-transform duration-300`}> | |
| {solution.icon} | |
| </div> | |
| <h3 className="card-title text-xl">{solution.title}</h3> | |
| <p className="card-text mb-6">{solution.description}</p> | |
| <ul className="space-y-3"> | |
| {solution.features.map((feature, fIndex) => ( | |
| <li key={fIndex} className="flex items-center space-x-3"> | |
| <div className="w-5 h-5 bg-primary-100 rounded-full flex items-center justify-center flex-shrink-0"> | |
| <ArrowRight className="w-3 h-3 text-primary-600" /> | |
| </div> | |
| <span className="text-secondary-600 text-sm">{feature}</span> | |
| </li> | |
| ))} | |
| </ul> | |
| </div> | |
| ))} | |
| </div> | |
| {/* Integration Visual */} | |
| <div className="mt-16 bg-secondary-900 rounded-2xl p-8 md:p-12"> | |
| <div className="text-center mb-8"> | |
| <h3 className="text-2xl md:text-3xl font-bold text-white mb-4">Everything Works Together</h3> | |
| <p className="text-secondary-300 max-w-2xl mx-auto"> | |
| Your Excel file is the single source of truth. Update product details once, | |
| and it automatically updates your Shopify store and Instagram posts. | |
| </p> | |
| </div> | |
| {/* Flow Visualization */} | |
| <div className="flex flex-col md:flex-row items-center justify-center gap-6 md:gap-12"> | |
| <div className="bg-white rounded-xl p-4 text-center min-w-[140px]"> | |
| <FileSpreadsheet className="w-10 h-10 text-green-600 mx-auto mb-2" /> | |
| <p className="font-semibold text-secondary-900">Your Excel</p> | |
| <p className="text-xs text-secondary-500">Update products</p> | |
| </div> | |
| <div className="hidden md:block text-secondary-500"> | |
| <ArrowRight className="w-8 h-8" /> | |
| </div> | |
| <div className="md:hidden text-secondary-500"> | |
| <ArrowRight className="w-8 h-8 rotate-90" /> | |
| </div> | |
| <div className="bg-primary-600 rounded-xl p-4 text-center min-w-[140px]"> | |
| <div className="w-10 h-10 bg-primary-500 rounded-full flex items-center justify-center mx-auto mb-2"> | |
| <span className="text-white font-bold text-lg">⚡</span> | |
| </div> | |
| <p className="font-semibold text-white">Auto Sync</p> | |
| <p className="text-xs text-primary-200">Instant update</p> | |
| </div> | |
| <div className="hidden md:block text-secondary-500"> | |
| <ArrowRight className="w-8 h-8" /> | |
| </div> | |
| <div className="md:hidden text-secondary-500"> | |
| <ArrowRight className="w-8 h-8 rotate-90" /> | |
| </div> | |
| <div className="flex gap-4"> | |
| <div className="bg-white rounded-xl p-4 text-center min-w-[100px]"> | |
| <ShoppingCart className="w-8 h-8 text-blue-600 mx-auto mb-2" /> | |
| <p className="font-semibold text-secondary-900 text-sm">Shopify</p> | |
| </div> | |
| <div className="bg-white rounded-xl p-4 text-center min-w-[100px]"> | |
| <Instagram className="w-8 h-8 text-pink-600 mx-auto mb-2" /> | |
| <p className="font-semibold text-secondary-900 text-sm">Instagram</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| ) | |
| } |