/* global React, Icon */ const { useState: useStateDash, useEffect: useEffectDash, useRef: useRefDash } = React; // ============================================ // DashboardMockup — shown in hero (3D perspective) // Inspired by the real product grid but redesigned // ============================================ function DashboardMockup() { const modules = [ { n: 'Atendimentos', i: 'whatsapp', c: '#25D366', badge: 8 }, { n: 'CRM Kanban', i: 'kanban', c: '#8b5cf6' }, { n: 'Contatos', i: 'users', c: '#06b6d4' }, { n: 'Contratos', i: 'contract', c: '#f59e0b' }, { n: 'Financeiro', i: 'money', c: '#10b981', badge: 3 }, { n: 'Agendamentos', i: 'calendar', c: '#3b82f6' }, { n: 'Campanhas', i: 'megaphone', c: '#ec4899' }, { n: 'BOT & IA', i: 'bot', c: '#6366f1' }, { n: 'Tarefas', i: 'task', c: '#14b8a6' }, { n: 'E-mail', i: 'mail', c: '#ef4444' }, { n: 'Tickets', i: 'ticket', c: '#f97316' }, { n: 'Relatórios', i: 'chart', c: '#3b5bdb' }, ]; return (
{/* Top bar */}
TSA Connect Pro
Configurações Atendimentos 8 Cadastros Contatos Monitoramento
Online
{/* Greeting */}
Boa tarde, Guilherme
Sáb, 18 abr • 17:22:01
{/* Module grid */}
{modules.map((m, i) => (
{m.badge && ( {m.badge} )}
{m.n}
))}
{/* Stats row */}
{[ { l: 'Em atendimento', v: '24', c: '#25D366' }, { l: 'Pendentes', v: '07', c: '#f59e0b' }, { l: 'Resolvidos hoje', v: '148', c: '#3b5bdb' }, { l: 'SLA médio', v: '1m 42s', c: '#8b5cf6' }, ].map((s, i) => (
{s.l}
{s.v}
))}
); } window.DashboardMockup = DashboardMockup;