{/* Main Navigation */}
{/* WhatsApp Section */}
{open && (
WhatsApp
)}
= mainLinks.length && getActiveIndex() < mainLinks.length + whatsappLinks.length ? getActiveIndex() - mainLinks.length : -1}
showLabels={open}
className="space-y-1"
iconContainerClassName={!open ? "justify-center" : ""}
/>
{/* Config Section */}
{open && (
Configurações
)}
= mainLinks.length + whatsappLinks.length ? getActiveIndex() - mainLinks.length - whatsappLinks.length : -1}
showLabels={open}
className="space-y-1"
iconContainerClassName={!open ? "justify-center" : ""}
/>
{/* User Profile */}
{
e.preventDefault();
e.stopPropagation();
setDropdownOpen(false);
handleLogout();
}}
className="flex items-center gap-2 text-red-600 hover:text-red-700 hover:bg-red-50 cursor-pointer"
>
Sair