import { motion } from 'framer-motion'; import { LayoutDashboard, Layers, Bot, Map, ShieldCheck, Info, Scale } from 'lucide-react'; import { useTranslation } from 'react-i18next'; import { LanguageSelector } from './LanguageSelector'; 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; } export function DashboardHeader({ title = 'CLIENTE DEMO - Beyond CX Analytics', activeTab, onTabChange, onMetodologiaClick }: DashboardHeaderProps) { const { t } = useTranslation(); const TABS: TabConfig[] = [ { id: 'executive', label: t('tabs.executive'), icon: LayoutDashboard }, { id: 'dimensions', label: t('tabs.dimensions'), icon: Layers }, { id: 'readiness', label: t('tabs.agenticReadiness'), icon: Bot }, { id: 'roadmap', label: t('tabs.roadmap'), icon: Map }, { id: 'law10', label: t('tabs.law10'), icon: Scale }, ]; return (
{/* Top row: Title and Badges */}

{title}

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