From 97670350346ba21003d8065ac5ba4f330452567b Mon Sep 17 00:00:00 2001 From: Marcos Fargas Date: Sun, 18 Oct 2026 00:05:37 +0200 Subject: [PATCH] feat(shell): mover Pipeline RRSS dentro de Biblioteca de activos debajo de Zona de marca --- src/components/DashboardShell.tsx | 30 +++++++++++++++++++++--------- 1 file changed, 21 insertions(+), 9 deletions(-) diff --git a/src/components/DashboardShell.tsx b/src/components/DashboardShell.tsx index 8ba5b9e..290f6db 100644 --- a/src/components/DashboardShell.tsx +++ b/src/components/DashboardShell.tsx @@ -68,13 +68,6 @@ const NAV_ITEMS: NavItem[] = [ iconClass: 'text-amber-500', moduleId: 'calendario', }, - { - href: '/dashboard/creatives', - label: 'Pipeline RRSS', - icon: Images, - iconClass: 'text-pink-500', - moduleId: 'pipeline', - }, { href: '/dashboard/activos', label: 'Biblioteca de Activos', @@ -256,7 +249,9 @@ export default function DashboardShell({ pathname === '/dashboard/activos' || (pathname !== null && pathname.startsWith('/dashboard/activos/')) || pathname === '/dashboard/marca' || - (pathname !== null && pathname.startsWith('/dashboard/marca/')); + (pathname !== null && pathname.startsWith('/dashboard/marca/')) || + pathname === '/dashboard/creatives' || + (pathname !== null && pathname.startsWith('/dashboard/creatives/')); const [expandedSections, setExpandedSections] = useState>({}); @@ -296,7 +291,7 @@ export default function DashboardShell({ ); } if (item.moduleId === 'activos') { - return moduleOn('activos') || moduleOn('marca'); + return moduleOn('activos') || moduleOn('marca') || moduleOn('pipeline'); } return moduleOn(item.moduleId); }; @@ -442,6 +437,23 @@ export default function DashboardShell({ Zona de marca ) : null} + + {moduleOn('pipeline') ? ( + + + Pipeline RRSS + + ) : null} ) : null}