/** * Composant de navigation pour AfriDataHub * Created by BlackBenAI Team - AfriDataHub Platform */ import { useState } from 'react' import { motion, AnimatePresence } from 'framer-motion' import { Button } from '@/components/ui/button' import { BarChart3, Database, AlertTriangle, User, Menu, X, Globe, TrendingUp, Moon, Sun } from 'lucide-react' import { useTheme } from 'next-themes' const Navigation = ({ currentPage, onPageChange, user, onLogout }) => { const [isMobileMenuOpen, setIsMobileMenuOpen] = useState(false) const { theme, setTheme } = useTheme() const menuItems = [ { id: 'dashboard', label: 'Dashboard', icon: BarChart3 }, { id: 'datasets', label: 'Datasets', icon: Database }, { id: 'analytics', label: 'Analyse', icon: TrendingUp }, { id: 'alerts', label: 'Alertes', icon: AlertTriangle }, { id: 'api-docs', label: 'API', icon: Globe }, { id: 'profile', label: 'Profil', icon: User }, ] const handlePageChange = (pageId) => { onPageChange(pageId) setIsMobileMenuOpen(false) } return ( ) } export default Navigation