File tree 4 files changed +31
-18
lines changed
4 files changed +31
-18
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ function App() {
70
70
if ( countRef . current - 1 < 5 ) {
71
71
setTimeout ( myFunction , randomIntFromInterval ( 8 , 20 ) * 1000 ) ;
72
72
} else {
73
- setTimeout ( myFunction , randomIntFromInterval ( 1 , 11 ) * 1000 ) ;
73
+ setTimeout ( myFunction , randomIntFromInterval ( 1 , 9 ) * 1000 ) ;
74
74
}
75
75
}
76
76
}
@@ -84,7 +84,9 @@ function App() {
84
84
console . info ( "CA VA REPRENDRE" ) ;
85
85
86
86
if ( cookies . get ( "remaining" ) < 23 ) {
87
- setTimeout ( myFunction , 7000 ) ;
87
+ if ( cookies . get ( "remaining" ) > 1 ) {
88
+ setTimeout ( myFunction , 7000 ) ;
89
+ }
88
90
} else {
89
91
setTimeout ( myFunction , 1000 ) ;
90
92
}
Original file line number Diff line number Diff line change @@ -39,13 +39,15 @@ function Header({ startQuestions, remaining }) {
39
39
40
40
{ remaining == 1 && (
41
41
< p className = "timeInfo" >
42
- ⏰ Encore seulement < strong > { remaining } demande disponible.</ strong > { " " }
42
+ ⏰ Encore seulement < strong > { remaining } candidature</ strong > { " " }
43
+ disponible.
43
44
</ p >
44
45
) }
45
46
46
47
{ remaining != 1 && (
47
48
< p className = "timeInfo" >
48
- ⏰ Encore seulement < strong > { remaining } demandes disponibles.</ strong >
49
+ ⏰ Encore seulement < strong > { remaining } candidatures</ strong > { " " }
50
+ disponibles.
49
51
</ p >
50
52
) }
51
53
</ div >
Original file line number Diff line number Diff line change @@ -187,17 +187,17 @@ function Question({
187
187
appuyez sur < strong > Entrée ↵</ strong >
188
188
</ p >
189
189
</ div >
190
-
191
190
{ remaining == 1 && (
192
191
< p className = "timeInfo" >
193
- ⏰ Encore seulement < strong > { remaining } demande disponible.</ strong > { " " }
192
+ ⏰ Encore seulement < strong > { remaining } candidature</ strong > { " " }
193
+ disponible.
194
194
</ p >
195
195
) }
196
196
197
197
{ remaining != 1 && (
198
198
< p className = "timeInfo" >
199
- ⏰ Encore seulement{ " " }
200
- < strong > { remaining } demandes disponibles.</ strong >
199
+ ⏰ Encore seulement < strong > { remaining } candidatures </ strong > { " " }
200
+ disponibles.
201
201
</ p >
202
202
) }
203
203
</ div >
Original file line number Diff line number Diff line change @@ -369,6 +369,25 @@ input::placeholder {
369
369
}
370
370
}
371
371
372
+ .timeInfo {
373
+ margin-top : 20px !important ;
374
+ color : red !important ;
375
+ font-weight : 400 ;
376
+ }
377
+
378
+ .timeInfo strong {
379
+ color : red !important ;
380
+ }
381
+
382
+ @media (max-width : 400px ) {
383
+ .timeInfo {
384
+ margin-top : 20px !important ;
385
+ color : red !important ;
386
+ font-weight : 400 ;
387
+ font-size : 13px !important ;
388
+ }
389
+ }
390
+
372
391
@media (max-width : 340px ) {
373
392
.logo {
374
393
height : 40px ;
@@ -410,13 +429,3 @@ input::placeholder {
410
429
display : none ;
411
430
}
412
431
}
413
-
414
- .timeInfo {
415
- margin-top : 20px !important ;
416
- color : red !important ;
417
- font-weight : 400 ;
418
- }
419
-
420
- .timeInfo strong {
421
- color : red !important ;
422
- }
You can’t perform that action at this time.
0 commit comments