Major update: ESG, KPIs, metas, alertas, auditoria, documentos, importação, relatórios, subcategorias, dashboard orçamentos

This commit is contained in:
bigtux
2026-02-10 18:52:52 -03:00
parent d8ca580acb
commit 90c7a2cacb
92 changed files with 10265 additions and 1238 deletions

View File

@@ -14,7 +14,12 @@ import {
Flame,
ChevronLeft,
Bell,
Search
Search,
Leaf,
Shield,
Upload,
Target,
Settings
} from 'lucide-react'
import { User } from '../types'
@@ -32,6 +37,13 @@ const navItems: NavItem[] = [
{ path: '/app/ordens-servico', label: 'Ordens de Serviço', icon: <ClipboardList className="w-5 h-5" /> },
{ path: '/app/fornecedores', label: 'Fornecedores', icon: <Building2 className="w-5 h-5" /> },
{ path: '/app/relatorios', label: 'Relatórios', icon: <BarChart3 className="w-5 h-5" /> },
{ path: '/app/esg', label: 'ESG', icon: <Leaf className="w-5 h-5" /> },
{ path: '/app/kpis', label: 'KPIs', icon: <BarChart3 className="w-5 h-5" /> },
{ path: '/app/metas', label: 'Metas', icon: <Target className="w-5 h-5" /> },
{ path: '/app/auditoria', label: 'Auditoria', icon: <Shield className="w-5 h-5" /> },
{ path: '/app/importacao', label: 'Importação', icon: <Upload className="w-5 h-5" /> },
{ path: '/app/alertas-config', label: 'Alertas', icon: <Bell className="w-5 h-5" /> },
{ path: '/app/configuracao', label: 'Configuração', icon: <Settings className="w-5 h-5" /> },
{ path: '/app/usuarios', label: 'Usuários', icon: <Users className="w-5 h-5" />, adminOnly: true },
]
@@ -74,7 +86,7 @@ export default function Layout() {
<Flame className="w-6 h-6 text-white" />
</div>
{sidebarOpen && (
<span className="font-bold text-white text-xl tracking-tight">HEFESTO</span>
<span className="font-bold text-white text-lg tracking-tight">Nexus Facilities</span>
)}
</div>
<button
@@ -153,7 +165,7 @@ export default function Layout() {
<div className="w-10 h-10 rounded-xl bg-gradient-to-br from-primary to-accent flex items-center justify-center">
<Flame className="w-6 h-6 text-white" />
</div>
<span className="font-bold text-white text-xl">HEFESTO</span>
<span className="font-bold text-white text-lg">Nexus Facilities</span>
</div>
<button
onClick={() => setMobileMenuOpen(false)}