'use client'; import React, { useState } from 'react'; import Link from 'next/link'; import { usePathname } from 'next/navigation'; import { HomeIcon, RocketLaunchIcon, Squares2X2Icon } from '@heroicons/react/24/outline'; import { HomeIcon as HomeIconSolid, RocketLaunchIcon as RocketIconSolid, Squares2X2Icon as GridIconSolid } from '@heroicons/react/24/solid'; export const MobileBottomBar: React.FC = () => { const pathname = usePathname(); const [showMoreMenu, setShowMoreMenu] = useState(false); const isActive = (path: string) => { if (path === '/dashboard') { return pathname === '/dashboard'; } return pathname.startsWith(path); }; const navItems = [ { label: 'Início', path: '/dashboard', icon: HomeIcon, iconSolid: HomeIconSolid }, { label: 'CRM', path: '/crm', icon: RocketLaunchIcon, iconSolid: RocketIconSolid }, { label: 'Mais', path: '#', icon: Squares2X2Icon, iconSolid: GridIconSolid, onClick: () => setShowMoreMenu(true) } ]; return ( <> {/* Bottom Navigation - Mobile Only */} {/* More Menu Modal */} {showMoreMenu && (