feat(shell): mover Creatividades Ads debajo de Plataforma de marca en Biblioteca de activos
This commit is contained in:
@@ -21,7 +21,7 @@ export default async function MarcaPage() {
|
||||
<div className="space-y-6">
|
||||
<PageHeader
|
||||
eyebrow="Marca"
|
||||
title="Zona de marca"
|
||||
title="Plataforma de marca"
|
||||
description="Brandbooks por cliente para ads, calendarios, LinkedIn y blog."
|
||||
/>
|
||||
<EmptyState
|
||||
|
||||
@@ -657,7 +657,7 @@ export default function BrandZone({
|
||||
</div>
|
||||
<div className="min-w-0">
|
||||
<h2 className="text-base font-bold text-gray-900 truncate">
|
||||
Zona de marca · {book.brand_name || tenantLabel}
|
||||
Plataforma de marca · {book.brand_name || tenantLabel}
|
||||
</h2>
|
||||
<p className="text-xs text-gray-600 mt-0.5">
|
||||
ADN, voz, visual, audiencias y copy de ads/RRSS · mismo layout que Estilo y Brief
|
||||
@@ -831,7 +831,7 @@ export default function BrandZone({
|
||||
{section !== 'overview' ? (
|
||||
<div className="pb-1">
|
||||
<p className="text-[10px] font-bold uppercase tracking-[0.16em] text-brand-600">
|
||||
Zona de marca
|
||||
Plataforma de marca
|
||||
</p>
|
||||
<h3 className="text-lg font-bold text-gray-900 tracking-tight mt-1">
|
||||
{secMeta?.label}
|
||||
|
||||
@@ -75,13 +75,6 @@ const NAV_ITEMS: NavItem[] = [
|
||||
iconClass: 'text-blue-500',
|
||||
moduleId: 'activos',
|
||||
},
|
||||
{
|
||||
href: '/dashboard/creatividades',
|
||||
label: 'Creatividades Ads',
|
||||
icon: Sparkles,
|
||||
iconClass: 'text-brand-500',
|
||||
moduleId: 'creatives',
|
||||
},
|
||||
{
|
||||
href: '/dashboard/asistente',
|
||||
label: 'Asistente IA Financiero',
|
||||
@@ -250,6 +243,8 @@ export default function DashboardShell({
|
||||
(pathname !== null && pathname.startsWith('/dashboard/activos/')) ||
|
||||
pathname === '/dashboard/marca' ||
|
||||
(pathname !== null && pathname.startsWith('/dashboard/marca/')) ||
|
||||
pathname === '/dashboard/creatividades' ||
|
||||
(pathname !== null && pathname.startsWith('/dashboard/creatividades/')) ||
|
||||
pathname === '/dashboard/creatives' ||
|
||||
(pathname !== null && pathname.startsWith('/dashboard/creatives/'));
|
||||
|
||||
@@ -291,7 +286,12 @@ export default function DashboardShell({
|
||||
);
|
||||
}
|
||||
if (item.moduleId === 'activos') {
|
||||
return moduleOn('activos') || moduleOn('marca') || moduleOn('pipeline');
|
||||
return (
|
||||
moduleOn('activos') ||
|
||||
moduleOn('marca') ||
|
||||
moduleOn('creatives') ||
|
||||
moduleOn('pipeline')
|
||||
);
|
||||
}
|
||||
return moduleOn(item.moduleId);
|
||||
};
|
||||
@@ -434,7 +434,24 @@ export default function DashboardShell({
|
||||
: 'text-mist-400 group-hover:text-mist-300'
|
||||
}`}
|
||||
/>
|
||||
<span className="truncate">Zona de marca</span>
|
||||
<span className="truncate">Plataforma de marca</span>
|
||||
</Link>
|
||||
) : null}
|
||||
|
||||
{moduleOn('creatives') ? (
|
||||
<Link
|
||||
href="/dashboard/creatividades"
|
||||
onClick={close}
|
||||
className={subLinkCls('/dashboard/creatividades')}
|
||||
>
|
||||
<Sparkles
|
||||
className={`h-3.5 w-3.5 shrink-0 ${
|
||||
isActive(pathname, '/dashboard/creatividades')
|
||||
? 'text-amber-400'
|
||||
: 'text-mist-400 group-hover:text-mist-300'
|
||||
}`}
|
||||
/>
|
||||
<span className="truncate">Creatividades Ads</span>
|
||||
</Link>
|
||||
) : null}
|
||||
|
||||
|
||||
@@ -65,7 +65,7 @@ export const DASHBOARD_MODULES: DashboardModuleDef[] = [
|
||||
{
|
||||
id: 'marca',
|
||||
href: '/dashboard/marca',
|
||||
label: 'Zona de marca',
|
||||
label: 'Plataforma de marca',
|
||||
providers: [],
|
||||
hint: 'Brandbook: voz, oferta, ads, LinkedIn, blog',
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user