From 180114ce38b38820a3dd2b1d87619b26ba029c58 Mon Sep 17 00:00:00 2001 From: Alexis Date: Fri, 29 May 2026 10:49:40 +0200 Subject: [PATCH] Update AuthDemoPanel component: refine comments for clarity, adjust 'Alto' values in STEP3_TERMS, and enhance layout of Step2Content for better user experience. --- frontend/src/components/AuthDemoPanel.jsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/frontend/src/components/AuthDemoPanel.jsx b/frontend/src/components/AuthDemoPanel.jsx index 05efddd..ea53ebf 100644 --- a/frontend/src/components/AuthDemoPanel.jsx +++ b/frontend/src/components/AuthDemoPanel.jsx @@ -32,12 +32,12 @@ function trapVal(x, s0, c0, c1, s1) { return 0; } -// Solo 'Alto' es IT2 (tiene subescala). LMF es triángulo → banda "lente" visible. +// Solo 'Alto' es IT2 (tiene subescala). UMF más ancha; LMF con el mismo núcleo trapecial que el paso 2. const STEP3_TERMS = [ { name: 'Bajo', color: '#ef4444', type: 't1', pts: [0.00, 0.00, 0.06, 0.30] }, { name: 'Medio', color: '#f59e0b', type: 't1', pts: [0.18, 0.38, 0.38, 0.59] }, - { name: 'Alto', color: '#10b981', type: 't2', u: [0.49, 0.57, 0.71, 0.81], l: [0.56, 0.64, 0.64, 0.76] }, - { name: 'Perfecto', color: '#3b82f6', type: 't1', pts: [0.74, 0.88, 1.00, 1.00] }, + { name: 'Alto', color: '#10b981', type: 't2', u: [0.49, 0.57, 0.71, 0.81], l: [0.56, 0.60, 0.69, 0.76] }, + { name: 'Perfecto', color: '#3b82f6', type: 't1', pts: [0.74, 0.88, 1.00, 1.00] }, ]; // Puntos clave del trapecio (piezas lineales → basta con vértices, como en el paso 2). @@ -127,7 +127,7 @@ function Step2Content({ count }) { const showSubscale = count >= 3; return ( -
+
{STEP2_TERMS.map((term, i) => { const color = STEP2_COLORS[i % STEP2_COLORS.length]; @@ -217,7 +217,7 @@ function Step2Content({ count }) {
{/* Mini SubscaleModal inline */} -
+
Diseñar Subescala · @@ -397,7 +397,7 @@ export default function AuthDemoPanel() {
-
+
{step === 1 && } {step === 2 && } {step === 3 && }