import { motion } from 'framer-motion'; import { LayoutDashboard, Layers, Bot, Map } from 'lucide-react'; import { formatDateMonthYear } from '../utils/formatters'; export type TabId = 'executive' | 'dimensions' | 'readiness' | 'roadmap'; export interface TabConfig { id: TabId; label: string; icon: React.ElementType; } interface DashboardHeaderProps { title?: string; activeTab: TabId; onTabChange: (id: TabId) => void; } const TABS: TabConfig[] = [ { id: 'executive', label: 'Resumen', icon: LayoutDashboard }, { id: 'dimensions', label: 'Dimensiones', icon: Layers }, { id: 'readiness', label: 'Agentic Readiness', icon: Bot }, { id: 'roadmap', label: 'Roadmap', icon: Map }, ]; export function DashboardHeader({ title = 'AIR EUROPA - Beyond CX Analytics', activeTab, onTabChange }: DashboardHeaderProps) { return (
{/* Top row: Title and Date */}

{title}

{formatDateMonthYear()}
{/* Tab Navigation */}
); } export default DashboardHeader;