{navItems.map((item, index) => {
const isActive = location.pathname === item.to ||
(item.to === '/discover' && location.pathname === '/');
return (
{/* Active indicator */}
{isActive && (
)}
{/* Glow effect on active */}
{isActive && (
)}
{/* Icon */}
{item.icon}
{/* Tooltip */}
{item.label}
{/* Active dot */}
{isActive && (
)}
);
})}