From 4dda7275fd979f523ed7dbcecb9b6a24df7931f9 Mon Sep 17 00:00:00 2001 From: Nurfog Date: Tue, 8 Sep 2026 17:18:00 -0300 Subject: [PATCH] feat: indice solo con aplicaciones subidas (fuera accesos legacy) --- src/app/page.tsx | 44 -------------------------------------------- src/lib/sam.ts | 1 + 2 files changed, 1 insertion(+), 44 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 5978ba2..1b7a9a7 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -8,11 +8,9 @@ import { getModuleMeta, getStatusInfo, moduleUrl, - REFERENCE_APPS, sectionOf, SECTIONS, type ModuleState, - type RefApp, } from "@/lib/sam"; export default function Home() { @@ -84,42 +82,6 @@ export default function Home() { ); }; - const renderRefCard = (app: RefApp) => ( -
-
- - - - - - - - -
- - - - {app.title} - -
- - sam.norteamericano.cl - -
-
- -
-
-
- ); - return ( <>
@@ -218,12 +180,6 @@ export default function Home() { {list.map(renderModuleCard)} - {section.id === "sam" && - REFERENCE_APPS.filter( - (a) => - !list.some((m) => m.name.toLowerCase() === a.name) - ).map(renderRefCard)} - {isReview && backend && ( <>
diff --git a/src/lib/sam.ts b/src/lib/sam.ts index 87a7b40..453e6d8 100644 --- a/src/lib/sam.ts +++ b/src/lib/sam.ts @@ -183,6 +183,7 @@ export const REFERENCE_APPS: RefApp[] = [ url: "https://sam.norteamericano.cl/profesor/", }, ]; +// (Reservado: accesos legacy, hoy sin uso en el índice.) const iconMap: Record = { sam: { icon: "bx-layer", bg: "bg-primary" }, ventas: { icon: "bx-money", bg: "bg-success" },