modified styles and orden
This commit is contained in:
@@ -16,8 +16,7 @@ type PreguntaKey =
|
||||
| "pregunta2"
|
||||
| "pregunta3"
|
||||
| "pregunta7EP"
|
||||
| "pregunta9"
|
||||
| "pregunta10";
|
||||
| "pregunta9";
|
||||
|
||||
const LABELS: Record<PreguntaKey, string> = {
|
||||
pregunta1: "Perfil de Usuario",
|
||||
@@ -25,7 +24,6 @@ const LABELS: Record<PreguntaKey, string> = {
|
||||
pregunta3: "Plataforma y tipo procesador",
|
||||
pregunta7EP: "Laboratorios",
|
||||
pregunta9: "Generales",
|
||||
pregunta10: "Garantía de Proveedor",
|
||||
};
|
||||
|
||||
// Mapeo de fondo por pregunta (puedes personalizarlo)
|
||||
@@ -35,7 +33,6 @@ const TAB_BACKGROUNDS: Record<PreguntaKey, string> = {
|
||||
pregunta3: "bg-gray",
|
||||
pregunta7EP: "bg-gray",
|
||||
pregunta9: "bg-blue",
|
||||
pregunta10: "bg-blue",
|
||||
};
|
||||
|
||||
export default function Page() {
|
||||
@@ -53,8 +50,6 @@ export default function Page() {
|
||||
return <Pregunta7EP />;
|
||||
case "pregunta9":
|
||||
return <Pregunta9 />;
|
||||
case "pregunta10":
|
||||
return <Pregunta10 />;
|
||||
default:
|
||||
return (
|
||||
<div className="p-6 text-center text-gray-500">
|
||||
|
||||
@@ -152,6 +152,7 @@
|
||||
left: 0;
|
||||
display: flex;
|
||||
width: 100vw;
|
||||
z-index: 3;
|
||||
}
|
||||
|
||||
.barNavigation li:hover {
|
||||
|
||||
@@ -77,7 +77,7 @@
|
||||
box-shadow:
|
||||
0 -2px 6px rgba(0,0,0,0.05),
|
||||
inset 0 -3px 0 #fff; /* simula borde inferior */
|
||||
z-index: 5;
|
||||
z-index: 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -5,6 +5,7 @@ import Cookies from "js-cookie";
|
||||
import axios from "axios";
|
||||
import "./pregunta9.css";
|
||||
import Pregunta4 from "./Pregunta_4";
|
||||
import Pregunta10 from "./pregunta10";
|
||||
|
||||
type AntiguedadItem = {
|
||||
antiguedad: string | null;
|
||||
@@ -72,7 +73,6 @@ export default function Pregunta9() {
|
||||
|
||||
const pct = (valor: number) => ((valor / totalEquipo) * 100).toFixed(2);
|
||||
|
||||
// [Menor a 2, Entre 2-3, Entre 4-5, Mayor a 6]
|
||||
return [pct(menores2), pct(entre2_3), pct(entre4_6), pct(mayores6),pct(notfound)];
|
||||
};
|
||||
|
||||
@@ -177,7 +177,8 @@ export default function Pregunta9() {
|
||||
</table>
|
||||
</div>
|
||||
|
||||
|
||||
<Pregunta10/>
|
||||
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user