diff --git a/src/app/(Administrador)/equipoComputo/page.tsx b/src/app/(Administrador)/equipoComputo/page.tsx index e0bbf0f..4b36420 100644 --- a/src/app/(Administrador)/equipoComputo/page.tsx +++ b/src/app/(Administrador)/equipoComputo/page.tsx @@ -8,6 +8,7 @@ import Pregunta3 from "@/components/Equipo_Computo/Pregunta3"; import Pregunta7EP from "@/components/Perifericos/Pregunta7EP"; import Pregunta9 from "@/components/Equipo_Computo/Pregunta9"; import "../../styles/layout/reporte.scss"; +import Pregunta_4 from "@/components/Equipo_Computo/Pregunta_4"; type PreguntaKey = | "pregunta1" @@ -61,10 +62,7 @@ export default function Page() { return (
-
- -
{Object.entries(LABELS).map(([key, label]) => ( @@ -83,7 +81,8 @@ export default function Page() { {renderPregunta()}
+
); -} \ No newline at end of file +} diff --git a/src/components/Equipo_Computo/Pregunta_4.tsx b/src/components/Equipo_Computo/Pregunta_4.tsx new file mode 100644 index 0000000..46c96be --- /dev/null +++ b/src/components/Equipo_Computo/Pregunta_4.tsx @@ -0,0 +1,25 @@ +"use client"; + +import React from "react"; + +import "./pregunta_4.css"; + +export default function Pregunta4() { + return ( +
+
+ +
+

Generales

+ + + + + +

Servidor y Uso

+
+
+ ); +} diff --git a/src/components/Equipo_Computo/pregunta_4.css b/src/components/Equipo_Computo/pregunta_4.css new file mode 100644 index 0000000..d580274 --- /dev/null +++ b/src/components/Equipo_Computo/pregunta_4.css @@ -0,0 +1,52 @@ +.pregunta-page { + min-height: 100vh; + display: flex; + flex-direction: column; + align-items: center; + background: #f7f8f9; + padding: 40px 20px; + font-family: Arial, sans-serif; +} + +.brand img { + width: 320px; + margin-bottom: 20px; +} + +.card { + width: 700px; + max-width: 95%; + background: white; + border-radius: 12px; + padding: 32px; + box-shadow: 0 6px 22px rgba(0, 0, 0, 0.08); + text-align: left; +} + +.card h2 { + text-align: center; + margin-bottom: 20px; + font-weight: 600; +} + +.question-label { + font-size: 15px; + margin-bottom: 8px; + display: block; + color: #333; +} + +.single-input { + width: 110px; + padding: 10px 12px; + font-size: 18px; + border-radius: 6px; + border: 1px solid #ccc; + text-align: center; + margin-bottom: 12px; +} + +.hint { + font-size: 13px; + color: #777; +} diff --git a/tsconfig.json b/tsconfig.json index b575f7d..5d606a9 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -15,7 +15,7 @@ "moduleResolution": "bundler", "resolveJsonModule": true, "isolatedModules": true, - "jsx": "react-jsx", + "jsx": "preserve", "incremental": true, "plugins": [ {