import { Brain, LineChart, Droplets, Sun, Bell, Shield, Bug, Mountain } from "lucide-react"; import { Card, CardContent } from "@/components/ui/card"; import { Link } from "react-router-dom"; import aiGardenImage from "@/assets/ai-garden-feature.png"; const features = [ { icon: Bug, title: "Plant Health Detection", description: "AI-powered health diagnosis for 38+ plant species with instant treatment recommendations.", color: "text-flora-green", link: "/plant-disease", }, { icon: Mountain, title: "Soil Analysis", description: "Identify soil types and get tailored recommendations for optimal plant growth.", color: "text-flora-orange", link: "/soil-analysis", }, { icon: LineChart, title: "Growth Analytics", description: "Track plant health metrics, growth patterns, and optimize yields with data insights.", color: "text-flora-blue", }, { icon: Droplets, title: "Smart Watering", description: "Automated irrigation scheduling based on weather, soil moisture, and plant needs.", color: "text-accent", }, { icon: Sun, title: "Climate Control", description: "Monitor and optimize temperature, humidity, and light conditions for each plant species.", color: "text-flora-yellow", }, { icon: Bell, title: "Smart Alerts", description: "Get notified about watering schedules, pest threats, and optimal harvest times.", color: "text-flora-cyan", }, ]; const Features = () => { return (
{/* Section header */}

Everything You Need to Grow Successfully

From backyard gardens to commercial orchards, Flora AI provides intelligent tools for every stage of plant growth.

{/* Feature grid */}
{features.map((feature, index) => { const Icon = feature.icon; const CardWrapper = feature.link ? Link : 'div'; const cardProps = feature.link ? { to: feature.link } : {}; return (

{feature.title}

{feature.description}

); })}
{/* Feature showcase image */}
Smart garden with IoT sensors and automated systems
); }; export default Features;