feat: indice limpio (sidenav sin botones, sin aviso de vacio)

This commit is contained in:
Nurfog committed 2026-09-08 17:26:41 -03:00
1 parent 4dda7275fd
commit 3deed48c7b
1 file changed
-22
-22
View File
@@ -100,14 +100,6 @@ export default function Home() {
<div className="col-12 text-center">
<h4 className="fw-semibold opacity-75">Aplicaciones</h4>
</div>
<div className="col-12 text-center mt-4 d-flex flex-column gap-2 align-items-center">
<Link href="/tablero" className="btn btn-light btn-sm px-4">
<i className="bx bx-pie-chart-alt-2 me-1" /> Tablero IT
</Link>
<Link href="/upload" className="btn btn-outline-light btn-sm px-4">
<i className="bx bx-plus me-1" /> Nuevo Módulo
</Link>
</div>
<div className="col-12 text-center mt-3">
<small className="opacity-50">Portal de integración</small>
</div>
@@ -142,20 +134,6 @@ export default function Home() {
{!loading && !error && (
<div className="row row-cards">
{modules.length === 0 && (
<div className="col-12">
<div className="app-card p-4 text-center">
<i className="bx bx-inbox fs-1 text-muted" />
<p className="text-muted mt-2 mb-3">
No hay módulos integrados. ¡Sube tu primer proyecto!
</p>
<Link href="/upload" className="btn btn-primary btn-sm">
<i className="bx bx-upload me-1" /> Subir Proyecto
</Link>
</div>
</div>
)}
{SECTIONS.map((section) => {
const list = bySection[section.id] ?? [];
const isReview = section.id === "otras-apps";