From f9966d439f9d54503217513d131a66ee462ce972 Mon Sep 17 00:00:00 2001
From: IO420 <320154041@pcpuma.acatlan.unam.mx>
Date: Mon, 27 Oct 2025 14:23:52 -0600
Subject: [PATCH] fixed barnavigation styles
---
src/app/AgregarEquipo/page.tsx | 18 ++++++++++++------
src/app/styles/layout/BarNavigation.scss | 12 ++++++------
src/app/styles/layout/agregarEquipo.scss | 3 +--
src/app/styles/layout/header.module.scss | 2 +-
src/app/styles/layout/login.scss | 2 +-
src/components/BarNavigation.tsx | 6 +++---
src/components/header.tsx | 4 ++--
7 files changed, 26 insertions(+), 21 deletions(-)
diff --git a/src/app/AgregarEquipo/page.tsx b/src/app/AgregarEquipo/page.tsx
index 5106777..041f81d 100644
--- a/src/app/AgregarEquipo/page.tsx
+++ b/src/app/AgregarEquipo/page.tsx
@@ -20,7 +20,7 @@ export default function page() {
});
// Estado para saber si mostramos los campos de SO y Procesador
-const mostrarCamposComputadora = formData.tipoEquipo !== "Impresora";
+ const mostrarCamposComputadora = formData.tipoEquipo !== "Impresora";
const handleGuardar = () => {
console.log("Formulario enviado:", formData);
@@ -32,7 +32,7 @@ const mostrarCamposComputadora = formData.tipoEquipo !== "Impresora";
};
// Función para actualizar el estado y limpiar campos si es impresora
- const handleChange = (e) => {
+ const handleChange = (e: any) => {
const { name, value } = e.target;
setFormData((prev) => {
let updated = { ...prev, [name]: value };
@@ -120,7 +120,6 @@ const mostrarCamposComputadora = formData.tipoEquipo !== "Impresora";
-
{/* Columna Centro */}
@@ -161,7 +160,10 @@ const mostrarCamposComputadora = formData.tipoEquipo !== "Impresora";