import { motion } from 'framer-motion'; import { LayoutDashboard, Layers, Bot, Map } from 'lucide-react'; 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 }, ]; const formatDate = (): string => { const now = new Date(); const months = [ 'Enero', 'Febrero', 'Marzo', 'Abril', 'Mayo', 'Junio', 'Julio', 'Agosto', 'Septiembre', 'Octubre', 'Noviembre', 'Diciembre' ]; return `${months[now.getMonth()]} ${now.getFullYear()}`; }; export function DashboardHeader({ title = 'AIR EUROPA - Beyond CX Analytics', activeTab, onTabChange }: DashboardHeaderProps) { return (
{/* Top row: Title and Date */}

{title}

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