From 797b3f68151e3c762c79484227fd243ec73c63c2 Mon Sep 17 00:00:00 2001 From: IO <320154041@pcpuma.acatlan.unam.mx> Date: Mon, 23 Mar 2026 15:36:18 -0500 Subject: [PATCH] fixed grammar and deleted toggle button --- .../(Administrador)/reportesGraficas/page.tsx | 37 +------------------ src/components/BarNavigationAdmin.tsx | 6 +-- .../reporteGraficas/Graficas/Antiguedad.tsx | 2 +- .../reporteGraficas/Graficas/Procesador.tsx | 2 +- .../Graficas/SistemaOperativo.tsx | 2 +- .../reporteGraficas/Graficas/Uso.tsx | 2 +- 6 files changed, 8 insertions(+), 43 deletions(-) diff --git a/src/app/(Administrador)/reportesGraficas/page.tsx b/src/app/(Administrador)/reportesGraficas/page.tsx index 7a4640b..e7b1e81 100644 --- a/src/app/(Administrador)/reportesGraficas/page.tsx +++ b/src/app/(Administrador)/reportesGraficas/page.tsx @@ -1,52 +1,17 @@ "use client"; -import { useState } from "react"; import Reporte from "@/components/reporteGraficas/reporte"; import "../../styles/layout/reporte.scss"; -type PreguntaKey = "antiguedad"; - -const LABELS: Record = { - antiguedad: "Antigüedad", -}; - export default function Page() { - const [activeTab, setActiveTab] = useState("antiguedad"); - const renderPregunta = () => { - switch (activeTab) { - case "antiguedad": - return ( - - ); - default: - return ( -
- Contenido no disponible aún. -
- ); - } - }; return (
-
- {Object.entries(LABELS).map(([key, label]) => ( - - ))} -
-
{renderPregunta()}
+
diff --git a/src/components/BarNavigationAdmin.tsx b/src/components/BarNavigationAdmin.tsx index d4a0dbb..d669fde 100644 --- a/src/components/BarNavigationAdmin.tsx +++ b/src/components/BarNavigationAdmin.tsx @@ -41,17 +41,17 @@ function BarNavigation() { */}
  • - Equipo de Computo + Equipo de Cómputo
  • - Perifericos + Periféricos
  • - Reportes y Graficas + Reportes y Gráficas
  • diff --git a/src/components/reporteGraficas/Graficas/Antiguedad.tsx b/src/components/reporteGraficas/Graficas/Antiguedad.tsx index 6c3489e..9afa7e6 100644 --- a/src/components/reporteGraficas/Graficas/Antiguedad.tsx +++ b/src/components/reporteGraficas/Graficas/Antiguedad.tsx @@ -95,7 +95,7 @@ export default function Antiguedad({ filtros }: Props) { }} > -

    Antigüedad

    +

    Antigüedad por equipo

    diff --git a/src/components/reporteGraficas/Graficas/Procesador.tsx b/src/components/reporteGraficas/Graficas/Procesador.tsx index 55a7eb0..b2fda99 100644 --- a/src/components/reporteGraficas/Graficas/Procesador.tsx +++ b/src/components/reporteGraficas/Graficas/Procesador.tsx @@ -63,7 +63,7 @@ export default function Procesador({ filtros }: Props) { return (
    -

    Procesador

    +

    Procesador por equipo

    -

    SistemaOperativo

    +

    SistemaOperativo por equipo

    -

    Uso

    +

    Uso por equipo