All checks were successful
Build and Deploy / build-and-push (push) Successful in 1m50s
- Removed all hardcoded MOCK_ATTENDANCES, USERS, and TENANTS generators from constants.ts since the system is now production-ready. - Renamed 'summary' to 'title' in the database and across all frontend components for clarity. - Added 'full_summary' to the attendances schema to explicitly store the large, detailed AI analysis texts from n8n. - Updated the 'Resumo da Interação' UI to render the 'full_summary' without adding any artificial filler text. - Localized all dates and times across the dashboard to Brazilian formatting (pt-BR).
40 lines
1.0 KiB
TypeScript
40 lines
1.0 KiB
TypeScript
|
|
import { FunnelStage } from './types';
|
|
|
|
// Visual Constants
|
|
export const COLORS = {
|
|
primary: '#facc15', // Yellow-400
|
|
secondary: '#18181b', // Zinc-900
|
|
success: '#10b981', // Emerald-500
|
|
warning: '#f59e0b', // Amber-500
|
|
danger: '#ef4444', // Red-500
|
|
|
|
// Prettier, modern SaaS palette for general charts
|
|
charts: [
|
|
'#818cf8', // Soft Indigo
|
|
'#4ade80', // Soft Emerald
|
|
'#fb923c', // Soft Orange
|
|
'#22d3ee', // Soft Cyan
|
|
'#f472b6', // Soft Pink
|
|
'#a78bfa' // Soft Violet
|
|
],
|
|
|
|
// Brand-specific colors for Lead Origins
|
|
origins: {
|
|
'WhatsApp': '#25D366',
|
|
'Instagram': '#E4405F',
|
|
'LinkedIn': '#0077B5',
|
|
'Website': '#f87171', // Coral Red (Distinct from LinkedIn blue)
|
|
'Indicação': '#f59e0b'
|
|
},
|
|
|
|
// Semantic palette for Funnel Stages
|
|
funnel: {
|
|
'Sem atendimento': '#64748b', // Slate-500
|
|
'Identificação': '#818cf8', // Indigo-400
|
|
'Negociação': '#fb923c', // Orange-400
|
|
'Ganhos': '#10b981', // Emerald-500
|
|
'Perdidos': '#f87171' // Red-400
|
|
}
|
|
};
|