Spaces:
Build error
Build error
Download components/Hero.js from ryeisi/anycoder-2d506362: direct link, hf CLI and curl.
- Browser
- Download file 7.28 kB
-
https://huggingface.co/spaces/ryeisi/anycoder-2d506362/resolve/main/components/Hero.js
- Command line
-
hf download hf://spaces/ryeisi/anycoder-2d506362/components/Hero.js
-
curl -L -o Hero.js https://huggingface.co/spaces/ryeisi/anycoder-2d506362/resolve/main/components/Hero.js
7.28 kB
| import { ArrowRight, MessageCircle, CheckCircle } from 'lucide-react' | |
| export default function Hero() { | |
| const handleWhatsAppClick = () => { | |
| window.open('https://wa.me/919999999999?text=Hi! I want to automate my business. Please tell me more.', '_blank') | |
| } | |
| const handleBookCall = () => { | |
| window.location.href = '#contact' | |
| } | |
| const benefits = [ | |
| "Shopify Online Store Setup", | |
| "Automated Instagram Posts", | |
| "Excel Inventory Management" | |
| ] | |
| return ( | |
| <section className="relative bg-gradient-to-b from-primary-50 via-white to-white pt-12 pb-16 md:pt-20 md:pb-24"> | |
| <div className="container-custom"> | |
| <div className="grid lg:grid-cols-2 gap-12 items-center"> | |
| {/* Left Content */} | |
| <div className="max-w-2xl"> | |
| {/* Trust Badge */} | |
| <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-6"> | |
| <span className="w-2 h-2 bg-primary-600 rounded-full"></span> | |
| <span>Serving Ghaziabad Businesses Since 2020</span> | |
| </div> | |
| {/* Headline */} | |
| <h1 className="text-4xl md:text-5xl lg:text-6xl font-bold text-secondary-900 leading-tight mb-6"> | |
| Automate Your Business Selling —{' '} | |
| <span className="text-primary-600">Without Hiring a Tech Team</span> | |
| </h1> | |
| {/* Subheadline */} | |
| <p className="text-lg md:text-xl text-secondary-600 mb-8 leading-relaxed"> | |
| Shopify Store • Instagram Automation • Excel Inventory Management for Ghaziabad Businesses. | |
| Go digital in 10-14 days without learning any technology. | |
| </p> | |
| {/* Benefits List */} | |
| <div className="flex flex-col sm:flex-row gap-4 mb-8"> | |
| {benefits.map((benefit, index) => ( | |
| <div key={index} className="flex items-center space-x-2 text-secondary-700"> | |
| <CheckCircle className="w-5 h-5 text-primary-600 flex-shrink-0" /> | |
| <span className="text-sm font-medium">{benefit}</span> | |
| </div> | |
| ))} | |
| </div> | |
| {/* CTA Buttons */} | |
| <div className="flex flex-col sm:flex-row gap-4"> | |
| <button | |
| onClick={handleBookCall} | |
| className="btn-primary group" | |
| > | |
| <span>Book Free 15-Minute Automation Call</span> | |
| <ArrowRight className="ml-2 w-5 h-5 group-hover:translate-x-1 transition-transform" /> | |
| </button> | |
| <button | |
| onClick={handleWhatsAppClick} | |
| className="btn-secondary group" | |
| > | |
| <MessageCircle className="mr-2 w-5 h-5" /> | |
| <span>WhatsApp Us</span> | |
| </button> | |
| </div> | |
| {/* Trust Indicators */} | |
| <div className="mt-10 pt-8 border-t border-secondary-200"> | |
| <p className="text-sm text-secondary-500 mb-4">Trusted by 50+ local businesses in Ghaziabad</p> | |
| <div className="flex items-center space-x-4 text-secondary-400 text-sm"> | |
| <span>✓ No Technical Skills Required</span> | |
| <span>✓ Transparent Pricing</span> | |
| <span>✓ Local Support</span> | |
| </div> | |
| </div> | |
| </div> | |
| {/* Right Content - Image */} | |
| <div className="relative hidden lg:block"> | |
| <div className="relative bg-white rounded-2xl shadow-2xl p-8 border border-secondary-100"> | |
| {/* Mock Dashboard */} | |
| <div className="space-y-6"> | |
| {/* Header */} | |
| <div className="flex items-center justify-between pb-4 border-b border-secondary-100"> | |
| <div className="flex items-center space-x-3"> | |
| <div className="w-10 h-10 bg-primary-100 rounded-lg flex items-center justify-center"> | |
| <span className="text-primary-600 font-bold">GA</span> | |
| </div> | |
| <div> | |
| <p className="font-semibold text-secondary-900">My Shopify Store</p> | |
| <p className="text-sm text-secondary-500">ghaziabad-store.myshopify.com</p> | |
| </div> | |
| </div> | |
| <div className="flex items-center space-x-2"> | |
| <span className="px-3 py-1 bg-green-100 text-green-700 text-xs font-medium rounded-full">Live</span> | |
| </div> | |
| </div> | |
| {/* Stats Grid */} | |
| <div className="grid grid-cols-3 gap-4"> | |
| <div className="bg-secondary-50 rounded-lg p-4"> | |
| <p className="text-2xl font-bold text-secondary-900">₹2.5L</p> | |
| <p className="text-sm text-secondary-500">Monthly Sales</p> | |
| </div> | |
| <div className="bg-secondary-50 rounded-lg p-4"> | |
| <p className="text-2xl font-bold text-secondary-900">156</p> | |
| <p className="text-sm text-secondary-500">Orders This Month</p> | |
| </div> | |
| <div className="bg-secondary-50 rounded-lg p-4"> | |
| <p className="text-2xl font-bold text-secondary-900">89%</p> | |
| <p className="text-sm text-secondary-500">Inventory Accuracy</p> | |
| </div> | |
| </div> | |
| {/* Automation Status */} | |
| <div className="bg-primary-50 rounded-lg p-4"> | |
| <div className="flex items-center justify-between mb-2"> | |
| <p className="font-medium text-secondary-900">Instagram Automation</p> | |
| <span className="text-primary-600 text-sm">✓ Active</span> | |
| </div> | |
| <p className="text-sm text-secondary-600">12 products auto-posted this week</p> | |
| </div> | |
| {/* Quick Actions */} | |
| <div className="flex gap-3"> | |
| <div className="flex-1 bg-secondary-50 rounded-lg p-3 text-center"> | |
| <p className="text-lg font-semibold text-secondary-900">24</p> | |
| <p className="text-xs text-secondary-500">Pending Orders</p> | |
| </div> | |
| <div className="flex-1 bg-secondary-50 rounded-lg p-3 text-center"> | |
| <p className="text-lg font-semibold text-secondary-900">8</p> | |
| <p className="text-xs text-secondary-500">Low Stock Items</p> | |
| </div> | |
| <div className="flex-1 bg-secondary-50 rounded-lg p-3 text-center"> | |
| <p className="text-lg font-semibold text-secondary-900">5</p> | |
| <p className="text-xs text-secondary-500">New Messages</p> | |
| </div> | |
| </div> | |
| </div> | |
| {/* Decorative Elements */} | |
| <div className="absolute -top-4 -right-4 w-20 h-20 bg-primary-100 rounded-full opacity-50"></div> | |
| <div className="absolute -bottom-4 -left-4 w-16 h-16 bg-secondary-100 rounded-full opacity-50"></div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| ) | |
| } |