import React from 'react'; import { LayoutDashboard, Newspaper, Users, BarChart3, Settings, HelpCircle, TrendingUp, Eye, Clock, AlertCircle, ChevronRight, Edit3, Trash2, ExternalLink } from 'lucide-react'; const DashboardMain = () => { return (
{/* Sidebar Lateral - Consistente com a página de criação */} {/* Main Content Area */}
{/* Header Superior */} {/* Header Superior - Secção do Utilizador Atualizada */}
{/* Notificações (Opcional, mas completa o look) */} {/* Menu do Utilizador */}

James Wilson

Online

{/* Container da Imagem com Efeito de Anel */}
Avatar do utilizador
{/* Indicador de Status (Mobile) */}
{/* Seta para indicar menu (Chevron) */}
{/* Métricas Principais (Grid de 4 colunas) */}
} /> } /> } /> } isAlert />
{/* Tabela de Artigos Recentes (Coluna Dupla) */}

Artigos Recentes

Título Estado Autor Visualizações Ações
{/* Performance por Categoria (Coluna Única) */}

Performance de Conteúdo

O tráfego orgânico cresceu 15% nos últimos 7 dias.

); }; // --- Subcomponentes para Organização --- const NavItem = ({ icon, label, active = false }: { icon: any, label: string, active?: boolean }) => (
{icon} {label}
); const StatCard = ({ label, value, trend, icon, isAlert = false }: any) => (
{icon}
{trend}

{label}

{value}

); const TableRow = ({ title, status, author, views }: any) => (

{title}

{status} {author} {views}
); const CategoryBar = ({ label, percentage, color }: any) => (
{label} {percentage}%
); export default DashboardMain; {/* Subcomponente ActivityItem (Coloque fora do componente principal) */} const ActivityItem = ({ name, action, target, time, avatar }: { name: string, action: string, target: string, time: string, avatar: string }) => (
{/* Avatar com Ring */}
{name}
{/* Texto da Atividade */}

{name} {" "}{action}{" "} {target}

{time}
);