|
| 1 | +import React from 'react'; |
| 2 | +import { motion } from 'framer-motion'; |
| 3 | +import AnimatedSection from './AnimatedSection'; |
| 4 | +import Icons from './Icons'; |
| 5 | + |
| 6 | +const FeaturesSection = () => { |
| 7 | + const features = [ |
| 8 | + { |
| 9 | + icon: <Icons.Calendar />, |
| 10 | + title: 'Online Lab Test Booking', |
| 11 | + description: |
| 12 | + 'Book lab appointments online with ease. Choose home sample collection or visit the lab at your convenience.', |
| 13 | + }, |
| 14 | + { |
| 15 | + icon: <Icons.Doctor />, |
| 16 | + title: 'Doctor-Linked Reports', |
| 17 | + description: |
| 18 | + 'Reports from labs suggested by your QuickClinic doctor are sent directly to them with personalized remarks—no extra fees for normal results.', |
| 19 | + badge: 'Key Feature', |
| 20 | + }, |
| 21 | + { |
| 22 | + icon: <Icons.Home />, |
| 23 | + title: 'Home Sample Collection', |
| 24 | + description: |
| 25 | + 'Get samples collected from the comfort of your home. Professional staff, timely service, safe handling.', |
| 26 | + }, |
| 27 | + { |
| 28 | + icon: <Icons.Star />, |
| 29 | + title: 'Honest Lab Reviews', |
| 30 | + description: |
| 31 | + 'Compare labs based on genuine user reviews, ratings, and test availability to make informed decisions.', |
| 32 | + }, |
| 33 | + { |
| 34 | + icon: <Icons.Flask />, |
| 35 | + title: 'Search by Test Name', |
| 36 | + description: |
| 37 | + 'Find labs offering specific tests across your city. Filter by distance, ratings, and availability.', |
| 38 | + }, |
| 39 | + { |
| 40 | + icon: <Icons.Shield />, |
| 41 | + title: 'No Hidden Costs', |
| 42 | + description: |
| 43 | + 'Transparent pricing, no consultation fee when results are normal—saving you time and money.', |
| 44 | + }, |
| 45 | + ]; |
| 46 | + |
| 47 | + return ( |
| 48 | + <section id="features" className="py-20 bg-white dark:bg-lab-black-900"> |
| 49 | + <div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> |
| 50 | + <AnimatedSection> |
| 51 | + <div className="text-center mb-16"> |
| 52 | + <h2 className="text-3xl sm:text-4xl font-bold mb-4"> |
| 53 | + Why Choose{' '} |
| 54 | + <span className="text-lab-yellow-600 dark:text-lab-yellow-400">QuickLab</span>? |
| 55 | + </h2> |
| 56 | + <p className="text-lg text-lab-black-600 dark:text-lab-black-300 max-w-2xl mx-auto"> |
| 57 | + Experience seamless lab test booking with features designed for your convenience |
| 58 | + </p> |
| 59 | + </div> |
| 60 | + </AnimatedSection> |
| 61 | + |
| 62 | + <div className="grid md:grid-cols-2 lg:grid-cols-3 gap-8"> |
| 63 | + {features.map((feature, index) => ( |
| 64 | + <AnimatedSection key={index}> |
| 65 | + <motion.div |
| 66 | + whileHover={{ y: -8, boxShadow: '0 20px 25px -5px rgba(234, 179, 8, 0.1)' }} |
| 67 | + className="card-quicklab h-full relative" |
| 68 | + > |
| 69 | + {feature.badge && ( |
| 70 | + <div className="absolute -top-3 -right-3"> |
| 71 | + <span className="badge-quicklab text-xs">{feature.badge}</span> |
| 72 | + </div> |
| 73 | + )} |
| 74 | + <div className="text-lab-yellow-600 dark:text-lab-yellow-400 mb-4"> |
| 75 | + {feature.icon} |
| 76 | + </div> |
| 77 | + <h3 className="text-xl font-semibold mb-3">{feature.title}</h3> |
| 78 | + <p className="text-lab-black-600 dark:text-lab-black-400">{feature.description}</p> |
| 79 | + </motion.div> |
| 80 | + </AnimatedSection> |
| 81 | + ))} |
| 82 | + </div> |
| 83 | + </div> |
| 84 | + </section> |
| 85 | + ); |
| 86 | +}; |
| 87 | + |
| 88 | +export default FeaturesSection; |
0 commit comments