Browse Source

Tercer commit: Se añadió al Quizzes.json el template de las biografias de las capsulas nuevas

ryanbarreto1 1 year ago
parent
commit
649fe9bb4c
2 changed files with 133 additions and 7 deletions
  1. 131
    5
      src/data/Quizzes.json
  2. 2
    2
      src/pages/Questions.tsx

+ 131
- 5
src/data/Quizzes.json View File

@@ -22,21 +22,21 @@
22 22
     },
23 23
     {
24 24
         "id":2,
25
-        "title": "Marian Villaronga Toro",
25
+        "title": "Rebekah Colberg Cabrera",
26 26
         
27
-        "pregunta1": "¿En que año nació Marian Villaronga Toro1?",
27
+        "pregunta1": "¿En que año nació Rebekah Colberg Cabrera?",
28 28
         "res1": ["11","12","13","14"],
29 29
         "correcta1":"11",
30 30
 
31
-        "pregunta2": "¿En que año nació Marian Villaronga Toro2?",
31
+        "pregunta2": "¿En que año nació Rebekah Colberg Cabrera?",
32 32
         "res2": ["21","22","23","24"],
33 33
         "correcta2":"22",
34 34
 
35
-        "pregunta3": "¿En que año nació Marian Villaronga Toro3",
35
+        "pregunta3": "¿En que año nació Rebekah Colberg Cabrera3",
36 36
         "res3": ["31","32","33","34"],
37 37
         "correcta3":"33",
38 38
 
39
-        "pregunta4": "¿En que año nació Marian Villaronga Toro4",
39
+        "pregunta4": "¿En que año nació Rebekah Colberg Cabrera4",
40 40
         "res4": ["41","42","43","44"],
41 41
         "correcta4":"44"
42 42
 
@@ -62,4 +62,130 @@
62 62
         "res4": ["41","42","43","44"],
63 63
         "correcta4":"44"
64 64
     }
65
+    ,
66
+    {
67
+        "id":4,
68
+        "title": "Narciso Figueroa Sanabria",
69
+
70
+        "pregunta1": "Narciso1",
71
+        "res1": ["11","12","13","14"],
72
+        "correcta1":"11",
73
+
74
+        "pregunta2": "Narciso2",
75
+        "res2": ["21","22","23","24"],
76
+        "correcta2":"22",
77
+
78
+        "pregunta3": "Narciso3",
79
+        "res3": ["31","32","33","34"],
80
+        "correcta3":"33",
81
+
82
+        "pregunta4": "Narciso4",
83
+        "res4": ["41","42","43","44"],
84
+        "correcta4":"44"
85
+    }
86
+    ,
87
+    {
88
+        "id":5,
89
+        "title": "Angelina Figueroa Sanabria",
90
+
91
+        "pregunta1": "Angelina1",
92
+        "res1": ["11","12","13","14"],
93
+        "correcta1":"11",
94
+
95
+        "pregunta2": "Angelina2",
96
+        "res2": ["21","22","23","24"],
97
+        "correcta2":"22",
98
+
99
+        "pregunta3": "Angelina3",
100
+        "res3": ["31","32","33","34"],
101
+        "correcta3":"33",
102
+
103
+        "pregunta4": "Angelina4",
104
+        "res4": ["41","42","43","44"],
105
+        "correcta4":"44"
106
+    }
107
+    ,
108
+    {
109
+        "id":6,
110
+        "title": "Leonor Figueroa Sanabria",
111
+
112
+        "pregunta1": "Leonor1",
113
+        "res1": ["11","12","13","14"],
114
+        "correcta1":"11",
115
+
116
+        "pregunta2": "Leonor2",
117
+        "res2": ["21","22","23","24"],
118
+        "correcta2":"22",
119
+
120
+        "pregunta3": "Leonor3",
121
+        "res3": ["31","32","33","34"],
122
+        "correcta3":"33",
123
+
124
+        "pregunta4": "Leonor4",
125
+        "res4": ["41","42","43","44"],
126
+        "correcta4":"44"
127
+    }
128
+    ,
129
+    {
130
+        "id":7,
131
+        "title": "Ruth Fernández Cortada",
132
+
133
+        "pregunta1": "Ruth1",
134
+        "res1": ["11","12","13","14"],
135
+        "correcta1":"11",
136
+
137
+        "pregunta2": "Ruth2",
138
+        "res2": ["21","22","23","24"],
139
+        "correcta2":"22",
140
+
141
+        "pregunta3": "Ruth3",
142
+        "res3": ["31","32","33","34"],
143
+        "correcta3":"33",
144
+
145
+        "pregunta4": "Ruth4",
146
+        "res4": ["41","42","43","44"],
147
+        "correcta4":"44"
148
+    }
149
+    ,
150
+    {
151
+        "id":8,
152
+        "title": "Sylvia Rexach González",
153
+
154
+        "pregunta1": "Sylvia1",
155
+        "res1": ["11","12","13","14"],
156
+        "correcta1":"11",
157
+
158
+        "pregunta2": "Sylvia2",
159
+        "res2": ["21","22","23","24"],
160
+        "correcta2":"22",
161
+
162
+        "pregunta3": "Sylvia3",
163
+        "res3": ["31","32","33","34"],
164
+        "correcta3":"33",
165
+
166
+        "pregunta4": "Sylvia4",
167
+        "res4": ["41","42","43","44"],
168
+        "correcta4":"44"
169
+    }
170
+    ,
171
+    {
172
+        "id":9,
173
+        "title": "Luz Esther Benítez",
174
+
175
+        "pregunta1": "Luz1",
176
+        "res1": ["11","12","13","14"],
177
+        "correcta1":"11",
178
+
179
+        "pregunta2": "Luz2",
180
+        "res2": ["21","22","23","24"],
181
+        "correcta2":"22",
182
+
183
+        "pregunta3": "Luz3",
184
+        "res3": ["31","32","33","34"],
185
+        "correcta3":"33",
186
+
187
+        "pregunta4": "Luz4",
188
+        "res4": ["41","42","43","44"],
189
+        "correcta4":"44"
190
+    }
65 191
 ]

+ 2
- 2
src/pages/Questions.tsx View File

@@ -84,10 +84,10 @@ const Questions: React.FC = () => {
84 84
         console.log([qres1, qres2, qres3, qres4]);
85 85
         console.log(countres);
86 86
 
87
-        // reset a los icons, count y acertadas por si hubo seleccion anterior
87
+        // reset a los icons, count por si hubo seleccion anterior
88 88
         let count = 0;
89 89
         setCountRes(count);
90
-        setVerResPresionado(true);
90
+        setVerResPresionado(true); // buton verificar respuestas precionado
91 91
 
92 92
         setIcon11(null);
93 93
         setIcon12(null);