Add Pipeline RRSS under Social with the existing editorial board.
Keep Creatividades Ads for paid Meta approval and surface organic pipeline again as a clear Social sub-nav link. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -1,46 +1,11 @@
|
||||
/**
|
||||
* Pipeline de creatividades — selector entre Aprobación Meta Ads y Pipeline RRSS.
|
||||
* Pipeline RRSS — producción editorial orgánica (IG/FB).
|
||||
* Creatividades Ads (paid) vive en /dashboard/creatividades.
|
||||
*/
|
||||
'use client';
|
||||
|
||||
import React, { useState } from 'react';
|
||||
import CreativePipelineBoard from '@/components/CreativePipelineBoard';
|
||||
import ClientCreativesView from '@/components/ClientCreativesView';
|
||||
import { Sparkles, CalendarDays } from 'lucide-react';
|
||||
|
||||
export default function CreativesPage() {
|
||||
const [mode, setMode] = useState<'ads' | 'social'>('ads');
|
||||
|
||||
return (
|
||||
<div className="space-y-4">
|
||||
<div className="flex items-center gap-2 px-4 pt-2 border-b border-gray-200">
|
||||
<button
|
||||
type="button"
|
||||
onClick={() => setMode('ads')}
|
||||
className={`flex items-center gap-1.5 pb-2.5 px-3 text-xs font-semibold border-b-2 transition-colors ${
|
||||
mode === 'ads'
|
||||
? 'border-brand-500 text-brand-600'
|
||||
: 'border-transparent text-gray-500 hover:text-gray-700'
|
||||
}`}
|
||||
>
|
||||
<Sparkles className="w-3.5 h-3.5" />
|
||||
Aprobación & Anuncios Meta Ads
|
||||
</button>
|
||||
<button
|
||||
type="button"
|
||||
onClick={() => setMode('social')}
|
||||
className={`flex items-center gap-1.5 pb-2.5 px-3 text-xs font-semibold border-b-2 transition-colors ${
|
||||
mode === 'social'
|
||||
? 'border-brand-500 text-brand-600'
|
||||
: 'border-transparent text-gray-500 hover:text-gray-700'
|
||||
}`}
|
||||
>
|
||||
<CalendarDays className="w-3.5 h-3.5" />
|
||||
Pipeline Editorial RRSS
|
||||
</button>
|
||||
</div>
|
||||
|
||||
{mode === 'ads' ? <ClientCreativesView /> : <CreativePipelineBoard />}
|
||||
</div>
|
||||
);
|
||||
return <CreativePipelineBoard />;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user