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, MessageCircle, CheckCircle } from 'lucide-react'
|
| 2 |
+
|
| 3 |
+
export default function Hero() {
|
| 4 |
+
const handleWhatsAppClick = () => {
|
| 5 |
+
window.open('https://wa.me/919999999999?text=Hi! I want to automate my business. Please tell me more.', '_blank')
|
| 6 |
+
}
|
| 7 |
+
|
| 8 |
+
const handleBookCall = () => {
|
| 9 |
+
window.location.href = '#contact'
|
| 10 |
+
}
|
| 11 |
+
|
| 12 |
+
const benefits = [
|
| 13 |
+
"Shopify Online Store Setup",
|
| 14 |
+
"Automated Instagram Posts",
|
| 15 |
+
"Excel Inventory Management"
|
| 16 |
+
]
|
| 17 |
+
|
| 18 |
+
return (
|
| 19 |
+
<section className="relative bg-gradient-to-b from-primary-50 via-white to-white pt-12 pb-16 md:pt-20 md:pb-24">
|
| 20 |
+
<div className="container-custom">
|
| 21 |
+
<div className="grid lg:grid-cols-2 gap-12 items-center">
|
| 22 |
+
{/* Left Content */}
|
| 23 |
+
<div className="max-w-2xl">
|
| 24 |
+
{/* Trust Badge */}
|
| 25 |
+
<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">
|
| 26 |
+
<span className="w-2 h-2 bg-primary-600 rounded-full"></span>
|
| 27 |
+
<span>Serving Ghaziabad Businesses Since 2020</span>
|
| 28 |
+
</div>
|
| 29 |
+
|
| 30 |
+
{/* Headline */}
|
| 31 |
+
<h1 className="text-4xl md:text-5xl lg:text-6xl font-bold text-secondary-900 leading-tight mb-6">
|
| 32 |
+
Automate Your Business Selling —{' '}
|
| 33 |
+
<span className="text-primary-600">Without Hiring a Tech Team</span>
|
| 34 |
+
</h1>
|
| 35 |
+
|
| 36 |
+
{/* Subheadline */}
|
| 37 |
+
<p className="text-lg md:text-xl text-secondary-600 mb-8 leading-relaxed">
|
| 38 |
+
Shopify Store • Instagram Automation • Excel Inventory Management for Ghaziabad Businesses.
|
| 39 |
+
Go digital in 10-14 days without learning any technology.
|
| 40 |
+
</p>
|
| 41 |
+
|
| 42 |
+
{/* Benefits List */}
|
| 43 |
+
<div className="flex flex-col sm:flex-row gap-4 mb-8">
|
| 44 |
+
{benefits.map((benefit, index) => (
|
| 45 |
+
<div key={index} className="flex items-center space-x-2 text-secondary-700">
|
| 46 |
+
<CheckCircle className="w-5 h-5 text-primary-600 flex-shrink-0" />
|
| 47 |
+
<span className="text-sm font-medium">{benefit}</span>
|
| 48 |
+
</div>
|
| 49 |
+
))}
|
| 50 |
+
</div>
|
| 51 |
+
|
| 52 |
+
{/* CTA Buttons */}
|
| 53 |
+
<div className="flex flex-col sm:flex-row gap-4">
|
| 54 |
+
<button
|
| 55 |
+
onClick={handleBookCall}
|
| 56 |
+
className="btn-primary group"
|
| 57 |
+
>
|
| 58 |
+
<span>Book Free 15-Minute Automation Call</span>
|
| 59 |
+
<ArrowRight className="ml-2 w-5 h-5 group-hover:translate-x-1 transition-transform" />
|
| 60 |
+
</button>
|
| 61 |
+
<button
|
| 62 |
+
onClick={handleWhatsAppClick}
|
| 63 |
+
className="btn-secondary group"
|
| 64 |
+
>
|
| 65 |
+
<MessageCircle className="mr-2 w-5 h-5" />
|
| 66 |
+
<span>WhatsApp Us</span>
|
| 67 |
+
</button>
|
| 68 |
+
</div>
|
| 69 |
+
|
| 70 |
+
{/* Trust Indicators */}
|
| 71 |
+
<div className="mt-10 pt-8 border-t border-secondary-200">
|
| 72 |
+
<p className="text-sm text-secondary-500 mb-4">Trusted by 50+ local businesses in Ghaziabad</p>
|
| 73 |
+
<div className="flex items-center space-x-4 text-secondary-400 text-sm">
|
| 74 |
+
<span>✓ No Technical Skills Required</span>
|
| 75 |
+
<span>✓ Transparent Pricing</span>
|
| 76 |
+
<span>✓ Local Support</span>
|
| 77 |
+
</div>
|
| 78 |
+
</div>
|
| 79 |
+
</div>
|
| 80 |
+
|
| 81 |
+
{/* Right Content - Image */}
|
| 82 |
+
<div className="relative hidden lg:block">
|
| 83 |
+
<div className="relative bg-white rounded-2xl shadow-2xl p-8 border border-secondary-100">
|
| 84 |
+
{/* Mock Dashboard */}
|
| 85 |
+
<div className="space-y-6">
|
| 86 |
+
{/* Header */}
|
| 87 |
+
<div className="flex items-center justify-between pb-4 border-b border-secondary-100">
|
| 88 |
+
<div className="flex items-center space-x-3">
|
| 89 |
+
<div className="w-10 h-10 bg-primary-100 rounded-lg flex items-center justify-center">
|
| 90 |
+
<span className="text-primary-600 font-bold">GA</span>
|
| 91 |
+
</div>
|
| 92 |
+
<div>
|
| 93 |
+
<p className="font-semibold text-secondary-900">My Shopify Store</p>
|
| 94 |
+
<p className="text-sm text-secondary-500">ghaziabad-store.myshopify.com</p>
|
| 95 |
+
</div>
|
| 96 |
+
</div>
|
| 97 |
+
<div className="flex items-center space-x-2">
|
| 98 |
+
<span className="px-3 py-1 bg-green-100 text-green-700 text-xs font-medium rounded-full">Live</span>
|
| 99 |
+
</div>
|
| 100 |
+
</div>
|
| 101 |
+
|
| 102 |
+
{/* Stats Grid */}
|
| 103 |
+
<div className="grid grid-cols-3 gap-4">
|
| 104 |
+
<div className="bg-secondary-50 rounded-lg p-4">
|
| 105 |
+
<p className="text-2xl font-bold text-secondary-900">₹2.5L</p>
|
| 106 |
+
<p className="text-sm text-secondary-500">Monthly Sales</p>
|
| 107 |
+
</div>
|
| 108 |
+
<div className="bg-secondary-50 rounded-lg p-4">
|
| 109 |
+
<p className="text-2xl font-bold text-secondary-900">156</p>
|
| 110 |
+
<p className="text-sm text-secondary-500">Orders This Month</p>
|
| 111 |
+
</div>
|
| 112 |
+
<div className="bg-secondary-50 rounded-lg p-4">
|
| 113 |
+
<p className="text-2xl font-bold text-secondary-900">89%</p>
|
| 114 |
+
<p className="text-sm text-secondary-500">Inventory Accuracy</p>
|
| 115 |
+
</div>
|
| 116 |
+
</div>
|
| 117 |
+
|
| 118 |
+
{/* Automation Status */}
|
| 119 |
+
<div className="bg-primary-50 rounded-lg p-4">
|
| 120 |
+
<div className="flex items-center justify-between mb-2">
|
| 121 |
+
<p className="font-medium text-secondary-900">Instagram Automation</p>
|
| 122 |
+
<span className="text-primary-600 text-sm">✓ Active</span>
|
| 123 |
+
</div>
|
| 124 |
+
<p className="text-sm text-secondary-600">12 products auto-posted this week</p>
|
| 125 |
+
</div>
|
| 126 |
+
|
| 127 |
+
{/* Quick Actions */}
|
| 128 |
+
<div className="flex gap-3">
|
| 129 |
+
<div className="flex-1 bg-secondary-50 rounded-lg p-3 text-center">
|
| 130 |
+
<p className="text-lg font-semibold text-secondary-900">24</p>
|
| 131 |
+
<p className="text-xs text-secondary-500">Pending Orders</p>
|
| 132 |
+
</div>
|
| 133 |
+
<div className="flex-1 bg-secondary-50 rounded-lg p-3 text-center">
|
| 134 |
+
<p className="text-lg font-semibold text-secondary-900">8</p>
|
| 135 |
+
<p className="text-xs text-secondary-500">Low Stock Items</p>
|
| 136 |
+
</div>
|
| 137 |
+
<div className="flex-1 bg-secondary-50 rounded-lg p-3 text-center">
|
| 138 |
+
<p className="text-lg font-semibold text-secondary-900">5</p>
|
| 139 |
+
<p className="text-xs text-secondary-500">New Messages</p>
|
| 140 |
+
</div>
|
| 141 |
+
</div>
|
| 142 |
+
</div>
|
| 143 |
+
|
| 144 |
+
{/* Decorative Elements */}
|
| 145 |
+
<div className="absolute -top-4 -right-4 w-20 h-20 bg-primary-100 rounded-full opacity-50"></div>
|
| 146 |
+
<div className="absolute -bottom-4 -left-4 w-16 h-16 bg-secondary-100 rounded-full opacity-50"></div>
|
| 147 |
+
</div>
|
| 148 |
+
</div>
|
| 149 |
+
</div>
|
| 150 |
+
</div>
|
| 151 |
+
</section>
|
| 152 |
+
)
|
| 153 |
+
}
|