diff --git a/js/layout.js b/js/layout.js index 30653ad..2e0e43a 100644 --- a/js/layout.js +++ b/js/layout.js @@ -29,16 +29,17 @@ function renderSidebar() { const path = window.location.pathname.split("/").pop() || "index.html"; - // MENU ITEMS (Recuperados Dashboard y Usuarios) - const menuItems = [ - { name: "Dashboard", link: "panel.html", icon: "layout-dashboard" }, - { name: "Servicios", link: "servicios.html", icon: "briefcase" }, - { name: "Calendario", link: "calendario.html", icon: "calendar" }, - { name: "Clientes", link: "clientes.html", icon: "users" }, - { name: "Usuarios", link: "usuarios.html", icon: "user-cog" }, - { name: "Automatizaciones", link: "automatizaciones.html", icon: "zap" }, - { name: "Configuración", link: "configuracion.html", icon: "settings" }, - ]; + // MENUS. +const menuItems = [ + { name: "Dashboard", link: "panel.html", icon: "layout-dashboard" }, + { name: "Servicios", link: "servicios.html", icon: "briefcase" }, + { name: "Proveedores", link: "proveedores.html", icon: "building-2" }, // Nuevo nombre para el buzón actual + { name: "Calendario", link: "calendario.html", icon: "calendar" }, + { name: "Clientes", link: "clientes.html", icon: "users" }, + { name: "Usuarios", link: "usuarios.html", icon: "user-cog" }, + { name: "Automatizaciones", link: "automatizaciones.html", icon: "zap" }, // Queda libre para lo nuevo + { name: "Configuración", link: "configuracion.html", icon: "settings" }, +]; const linksHtml = menuItems.map(item => { const isActive = path === item.link;