|
| 1 | +import { BarChart3, Users, Search, Zap, Shield, Globe } from 'lucide-react'; |
| 2 | + |
| 3 | +const Features = () => { |
| 4 | + const features = [ |
| 5 | + { |
| 6 | + icon: BarChart3, |
| 7 | + title: 'Activity Analytics', |
| 8 | + description: 'Comprehensive charts and graphs showing commit patterns, contribution streaks, and repository activity over time.', |
| 9 | + bgColor: 'bg-blue-100', |
| 10 | + iconColor: 'text-blue-600' |
| 11 | + }, |
| 12 | + { |
| 13 | + icon: Users, |
| 14 | + title: 'Multi-User Tracking', |
| 15 | + description: 'Monitor multiple GitHub users simultaneously and compare their activity levels and contribution patterns.', |
| 16 | + bgColor: 'bg-green-100', |
| 17 | + iconColor: 'text-green-600' |
| 18 | + }, |
| 19 | + { |
| 20 | + icon: Search, |
| 21 | + title: 'Smart Search', |
| 22 | + description: 'Quickly find and add users to your tracking list with intelligent search and auto-suggestions.', |
| 23 | + bgColor: 'bg-purple-100', |
| 24 | + iconColor: 'text-purple-600' |
| 25 | + }, |
| 26 | + { |
| 27 | + icon: Zap, |
| 28 | + title: 'Real-time Updates', |
| 29 | + description: 'Get instant notifications and updates when tracked users make new contributions or repositories.', |
| 30 | + bgColor: 'bg-orange-100', |
| 31 | + iconColor: 'text-orange-600' |
| 32 | + }, |
| 33 | + { |
| 34 | + icon: Shield, |
| 35 | + title: 'Privacy First', |
| 36 | + description: 'All data is fetched from public GitHub APIs. We don\'t store personal information or require GitHub access.', |
| 37 | + bgColor: 'bg-red-100', |
| 38 | + iconColor: 'text-red-600' |
| 39 | + }, |
| 40 | + { |
| 41 | + icon: Globe, |
| 42 | + title: 'Export & Share', |
| 43 | + description: 'Export activity reports and share insights with your team through various formats and integrations.', |
| 44 | + bgColor: 'bg-indigo-100', |
| 45 | + iconColor: 'text-indigo-600' |
| 46 | + } |
| 47 | + ]; |
| 48 | + |
| 49 | + return ( |
| 50 | + <section id="features" className="px-6 py-6 bg-white dark:bg-gray-900 transition-colors duration-300"> |
| 51 | + <div className="mx-auto"> |
| 52 | + <div className="text-center mb-16"> |
| 53 | + <h2 className="text-3xl font-bold text-gray-900 dark:text-white mb-4">Powerful Features</h2> |
| 54 | + <p className="text-xl text-gray-600 dark:text-gray-300 max-w-2xl mx-auto"> |
| 55 | + Everything you need to track, analyze, and understand GitHub activity patterns |
| 56 | + </p> |
| 57 | + </div> |
| 58 | + |
| 59 | + <div className="grid md:grid-cols-2 lg:grid-cols-3 gap-8"> |
| 60 | + {features.map((feature, index) => { |
| 61 | + const IconComponent = feature.icon; |
| 62 | + return ( |
| 63 | + <div key={index} className="bg-gray-50 dark:bg-gray-800 p-8 rounded-2xl hover:shadow-lg transition-all duration-300"> |
| 64 | + <div className={`${feature.bgColor} w-12 h-12 rounded-lg flex items-center justify-center mb-6`}> |
| 65 | + <IconComponent className={`h-6 w-6 ${feature.iconColor}`} /> |
| 66 | + </div> |
| 67 | + <h3 className="text-xl font-semibold text-gray-900 dark:text-white mb-3">{feature.title}</h3> |
| 68 | + <p className="text-gray-600 dark:text-gray-300 leading-relaxed"> |
| 69 | + {feature.description} |
| 70 | + </p> |
| 71 | + </div> |
| 72 | + ); |
| 73 | + })} |
| 74 | + </div> |
| 75 | + </div> |
| 76 | + </section> |
| 77 | + ); |
| 78 | +}; |
| 79 | + |
| 80 | +export default Features; |
0 commit comments