/* global React */ // ── Visual mocks: desktop dashboard + LothusApp phone ───────────────────── function DashboardMock() { // Animated SVG chart with two smooth lines + tooltip on hover point const w = 520, h = 120; const pts1 = [10, 28, 18, 42, 36, 30, 58, 70, 52, 84, 68]; const pts2 = [55, 50, 60, 58, 70, 68, 64, 56, 50, 46, 48]; const toPath = (arr) => { const step = w / (arr.length - 1); const norm = (v) => h - (v / 100) * h; let d = `M 0 ${norm(arr[0])}`; for (let i = 1; i < arr.length; i++) { const x0 = (i - 1) * step; const x1 = i * step; const cx0 = x0 + step / 2; const cx1 = x1 - step / 2; d += ` C ${cx0} ${norm(arr[i - 1])}, ${cx1} ${norm(arr[i])}, ${x1} ${norm(arr[i])}`; } return d; }; const areaPath = toPath(pts1) + ` L ${w} ${h} L 0 ${h} Z`; const tooltipX = w * 0.66; const tooltipY = h - (84 / 100) * h; return (

Faturamento de hoje

Ter · 13 mai 2026 tempo real
2 R$ 8.421,40
Vendas
R$ 8.421
↑ 12,4% vs ontem
Ticket médio
R$ 81,00
↑ R$ 6,20
Cupons
104
↑ 7 vs ontem
Vendas Lucro
R$ 1.842,00
Cupom #20438 — NFC-e emitida
Caixa 02 · Pamela · 14:22
R$ 142,30
há 2 min
Produto removido sem finalizar venda
Caixa 01 · Rodrigo · 14:18
−1 un
há 6 min
Entrada de mercadoria · NF 3128
LothusCompras · 27 itens
R$ 2.840,00
há 1h
); } function PhoneMock() { return ( ); } Object.assign(window, { DashboardMock, PhoneMock });