import { motion } from 'framer-motion'; import { LayoutDashboard, Layers, Bot, Map, ShieldCheck, Info, Scale } from 'lucide-react'; export type TabId = 'executive' | 'dimensions' | 'readiness' | 'roadmap' | 'law10'; export interface TabConfig { id: TabId; label: string; icon: React.ElementType; } interface DashboardHeaderProps { title?: string; activeTab: TabId; onTabChange: (id: TabId) => void; onMetodologiaClick?: () => 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 }, { id: 'law10', label: 'Ley 10/2025', icon: Scale }, ]; export function DashboardHeader({ title = 'CLIENTE DEMO - Beyond CX Analytics', activeTab, onTabChange, onMetodologiaClick }: DashboardHeaderProps) { return (
{/* Top row: Title and Metodología Badge */}

{title}

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