{topNavItems.map((n) => {
const isActive = n.id === "projects" ? isProjects
: n.id === "activity" ? isActivity
: n.id === "settings" ? isSettings
: false;
return (
{n.icon}
{n.label}
);
})}
Projects
{projects.map((p) => {
const isActive = activeProjectId === p.id;
return (
{p.productName}
);
})}
{/* User footer */}