mario-core 2.5.1 → 2.5.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.css CHANGED
@@ -91,17 +91,26 @@
91
91
  letter-spacing: normal;
92
92
  line-height: 1.5; }
93
93
 
94
+ ._38Lo1 {
95
+ width: 826px; }
96
+
97
+ ._1OzGy {
98
+ width: 50%;
99
+ max-width: 826px;
100
+ border-radius: 5px; }
101
+
94
102
  ._wWIyO {
95
- width: 400px;
103
+ width: 100%;
104
+ height: 100%;
96
105
  background-color: #ffffff;
97
- border-radius: 10px;
106
+ border-radius: 5px 0 0 5px;
98
107
  box-shadow: 0 3px 6px #00000029; }
99
108
 
100
109
  ._3nuns {
101
- color: #8b0000;
102
- text-align: center;
103
- font-size: 32px;
104
- font-weight: 500; }
110
+ font-size: 24px;
111
+ font-weight: bold;
112
+ line-height: 28px;
113
+ margin-bottom: 20px; }
105
114
 
106
115
  ._21qb6 {
107
116
  margin-bottom: 5px; }
@@ -117,38 +126,40 @@
117
126
  color: #8b0000; }
118
127
 
119
128
  ._3IL10 {
120
- background-color: #c70000;
129
+ background-color: rgba(0, 0, 0, 0.1);
121
130
  cursor: pointer;
122
131
  color: #ffffff;
123
132
  font-size: 16px;
124
133
  font-weight: 500;
125
134
  text-align: center;
126
- padding: 8px;
127
- border-radius: 5px;
135
+ padding: 13px 27px;
136
+ border-radius: 4px;
128
137
  display: block;
129
138
  border: none;
130
139
  outline: none;
131
140
  width: 100%; }
132
141
 
133
142
  ._Ce3Kg {
134
- color: #c70000;
143
+ color: #2196f3;
135
144
  text-align: center;
136
145
  font-weight: 500; }
137
146
  ._Ce3Kg:hover {
138
- color: #c70000; }
147
+ color: #0a4da2; }
139
148
 
140
149
  ._2t6d9 {
141
- color: #8b0000;
142
- text-align: center;
143
- font-weight: 600; }
150
+ text-align: left;
151
+ font-weight: normal;
152
+ font-size: 16px !important; }
144
153
 
145
- ._2oh2a {
146
- color: #c70000;
147
- text-align: center;
154
+ ._3bDsd {
155
+ color: #2196f3;
156
+ font-size: 16px;
148
157
  display: inline-block;
149
158
  font-weight: 500; }
150
- ._2oh2a:hover {
151
- color: #c70000; }
159
+ ._3bDsd:hover {
160
+ color: #0a4da2;
161
+ -webkit-text-decoration: revert;
162
+ text-decoration: revert; }
152
163
 
153
164
  ._11FZt {
154
165
  font-weight: 500; }
@@ -201,7 +212,7 @@
201
212
  width: 70%; }
202
213
 
203
214
  ._wWIyO {
204
- padding: 20px;
215
+ padding: 89px 50px;
205
216
  position: relative; }
206
217
  ._wWIyO label:not(._11FZt) {
207
218
  color: #8f9bb3;
@@ -209,22 +220,23 @@
209
220
  ._wWIyO input[type="text"],
210
221
  ._wWIyO input[type="password"] {
211
222
  width: 100%;
212
- border: 1px #e4e9f2;
213
223
  border-radius: 4px;
214
224
  background-color: #f7f9fc;
215
- height: 40px;
216
- margin-bottom: 5px; }
225
+ height: 50px;
226
+ margin-bottom: 5px;
227
+ padding: 4px; }
217
228
  ._wWIyO ._39BJD {
218
229
  margin-bottom: 30px; }
219
230
  ._wWIyO input[type="checkbox"]._2K9b2 {
220
231
  margin-left: 0; }
221
232
  ._wWIyO ._11FZt {
222
- padding-left: 20px;
223
- margin-bottom: 30px; }
233
+ padding-left: 20px; }
224
234
  ._wWIyO ._3IL10 {
225
- margin-bottom: 20px;
226
- color: #ffffff; }
235
+ margin: 30px 0;
236
+ color: rgba(0, 0, 0, 0.36);
237
+ font-weight: 500; }
227
238
  ._wWIyO ._3IL10:hover {
239
+ background-color: #2196f3;
228
240
  color: #ffffff; }
229
241
  ._wWIyO ._3LXoI {
230
242
  position: absolute;
@@ -234,11 +246,6 @@
234
246
  right: 0;
235
247
  bottom: 0;
236
248
  text-align: center; }
237
- ._wWIyO ._2oh2a {
238
- margin-bottom: 100px; }
239
-
240
- ._2TucC {
241
- min-height: 40vh; }
242
249
 
243
250
  ._23Sua {
244
251
  min-height: 40vh; }
@@ -263,8 +270,11 @@
263
270
  margin-left: -30px;
264
271
  margin-right: -30px; }
265
272
 
273
+ ._jOY7o {
274
+ background-image: url("/images/home.png") !important; }
275
+
266
276
  ._F-hjL {
267
- background-image: url("/images/home.png");
277
+ background-color: #0a4da2;
268
278
  background-repeat: no-repeat;
269
279
  background-size: cover;
270
280
  width: 100%;
@@ -272,8 +282,7 @@
272
282
  background-position: center; }
273
283
  @media (max-width: 768px) {
274
284
  ._F-hjL {
275
- background-image: url("/images/mobile bg@2x.png");
276
- background-color: #ede9ec;
285
+ background-color: #0a4da2;
277
286
  overflow: hidden; } }
278
287
  ._F-hjL ._1TT1q {
279
288
  padding-top: 40px;
@@ -284,6 +293,14 @@
284
293
  padding-right: 50px;
285
294
  padding-left: 50px; }
286
295
 
296
+ ._2v-L_ {
297
+ padding: 0 !important; }
298
+
299
+ ._3ncTL {
300
+ width: 100%;
301
+ height: 100%;
302
+ border-radius: 0 5px 5px 0 !important; }
303
+
287
304
  ._39l0X {
288
305
  padding: 0; }
289
306
  ._39l0X > ._1BMwK {
@@ -417,36 +434,62 @@
417
434
  background-color: transparent;
418
435
  color: #8b0000; }
419
436
  ._1INnO {
420
- display: none; } }
437
+ display: none; }
438
+ ._38Lo1 {
439
+ width: 358px; }
440
+ ._wWIyO {
441
+ padding: 50px 20px !important; } }
421
442
 
422
- @media (min-width: 768px) and (max-width: 991px) {
423
- ._F-hjL {
424
- background-image: url("/images/mobile bg@2x.png");
425
- background-color: #ede9ec;
426
- overflow: hidden; }
427
- ._F-hjL ._1TT1q {
428
- padding: 0;
429
- height: 93vh;
430
- flex-flow: column; }
431
- ._F-hjL ._1TT1q ._NszFe,
432
- ._F-hjL ._1TT1q ._MDjzH {
433
- color: #8b0000;
434
- font-weight: 500;
435
- margin-bottom: 10px;
436
- font-size: 24px; }
437
- ._F-hjL ._1TT1q ._r9cAh {
438
- justify-content: center;
439
- width: 70%;
440
- margin: 0 auto;
441
- border: #8b0000;
442
- color: #ffffff;
443
- background-color: #8b0000; }
444
- ._F-hjL ._1TT1q ._r9cAh :hover {
445
- background-color: transparent;
446
- color: #8b0000; }
447
- ._2uvkV {
443
+ @media (max-width: 991px) {
444
+ ._2v-L_ {
445
+ display: none; }
446
+ ._wWIyO {
447
+ border-radius: 5px !important; }
448
+ ._38Lo1 {
449
+ width: 500px !important;
450
+ max-width: 95%; }
451
+ ._jOY7o {
452
+ background-image: url("/images/mobile bg@2x.png") !important; }
453
+ ._F-hjL ._1TT1q {
454
+ padding: 0;
455
+ height: 90vh;
456
+ flex-flow: column; }
457
+ ._F-hjL ._1TT1q ._NszFe {
458
+ width: 70%;
459
+ border: #8b0000;
460
+ color: #ffffff;
461
+ max-width: 500px;
462
+ margin: 5px auto;
463
+ background-color: #8b0000;
464
+ border-radius: 10px;
465
+ padding: 5px 40px; }
466
+ ._F-hjL ._1TT1q ._MDjzH {
467
+ width: 70%;
468
+ border: #8b0000;
469
+ max-width: 500px;
470
+ margin: 5px auto;
471
+ border-radius: 10px;
472
+ color: #ffffff;
473
+ background-color: #8b0000;
474
+ padding: 5px 40px; }
475
+ ._F-hjL ._1TT1q ._r9cAh {
476
+ justify-content: center;
477
+ width: 70%;
478
+ max-width: 500px;
479
+ margin: 5px auto;
480
+ border: #8b0000;
481
+ color: #ffffff;
482
+ background-color: #8b0000; }
483
+ ._F-hjL ._1TT1q ._r9cAh :hover {
484
+ background-color: transparent;
485
+ color: #8b0000; }
486
+ ._1INnO {
448
487
  display: none; } }
449
488
 
489
+ @media (min-width: 992px) {
490
+ ._2e7fZ {
491
+ width: 80%; } }
492
+
450
493
  @media (min-width: 992px) and (max-width: 1199px) {
451
494
  ._2LIqK {
452
495
  display: none; } }
package/dist/index.js CHANGED
@@ -46,7 +46,7 @@ function _catch(body, recover) {
46
46
  return result;
47
47
  }
48
48
 
49
- var styles = {"notification-count":"_2sew7","text-introduction":"_3OgWF","btn-trans-border":"_r9cAh","contact":"_NszFe","learn-more":"_MDjzH","title-quote":"_1Swkw","descriptions-quote":"_gi8vj","descriptions-icon":"_3SOdX","block-login":"_wWIyO","title-login":"_3nuns","title-forgot-password":"_21qb6","btn-close":"_NhW9l","btn-login":"_3IL10","return-to-login":"_Ce3Kg","recover-account":"_2t6d9","forgot-password":"_2oh2a","remember":"_11FZt","term-and-conditions":"_3LXoI","descriptions-forgot-pass":"_PMcjT","content-icon":"_2rZY6","title-icon":"_y9lM2","nav-home":"_1TT1q","box-introduction":"_32V6L","icon":"_20YJX","form-user-name":"_39BJD","checkbox-remember":"_2K9b2","block-forgot-password":"_2TucC","block-reset-password":"_23Sua","block-forgot-pass":"_3CWP6","page-not-login":"_3Wmco","content-quote":"_13Rk0","home-page":"_o6HKW","login":"_F-hjL","c-main":"_39l0X","container-fluid":"_1BMwK","input-file-label":"_1XNpH","delete-avatar-button":"_1z5h9","header-logo":"_Gewcf","sidebar-logo":"_1hXpy","nav-mobile":"_1qjbW","filter-media-file":"_1I62C","div":"_3cLcM","dropdown-menu":"_1krbH","header-avatar":"_RQaHE","dropdown-content":"_3ys4W","dropdown-change":"_ToOW_","item-address":"_3sQlR","item-logout":"_3bqSM","title-address":"_1jgSI","img-avatar":"_35Ttz","item-contact":"_1wc7o","logout":"_1_9tV","content-text":"_3S4f2","hide-in-mobile":"_1INnO","hide-in-tablet":"_2uvkV","hide-in-desktop":"_2LIqK","control-input":"_2Zz97","custom-control":"_3-yp5"};
49
+ var styles = {"notification-count":"_2sew7","text-introduction":"_3OgWF","btn-trans-border":"_r9cAh","contact":"_NszFe","learn-more":"_MDjzH","title-quote":"_1Swkw","descriptions-quote":"_gi8vj","descriptions-icon":"_3SOdX","box-login":"_38Lo1","block-verification":"_1OzGy","block-login":"_wWIyO","title-login":"_3nuns","title-forgot-password":"_21qb6","btn-close":"_NhW9l","btn-login":"_3IL10","return-to-login":"_Ce3Kg","recover-account":"_2t6d9","link-to-login":"_3bDsd","remember":"_11FZt","term-and-conditions":"_3LXoI","descriptions-forgot-pass":"_PMcjT","content-icon":"_2rZY6","title-icon":"_y9lM2","nav-home":"_1TT1q","box-introduction":"_32V6L","icon":"_20YJX","form-user-name":"_39BJD","checkbox-remember":"_2K9b2","block-reset-password":"_23Sua","block-forgot-pass":"_3CWP6","page-not-login":"_3Wmco","content-quote":"_13Rk0","home-page":"_o6HKW","red-background":"_jOY7o","login":"_F-hjL","img-box":"_2v-L_","img-login":"_3ncTL","c-main":"_39l0X","container-fluid":"_1BMwK","input-file-label":"_1XNpH","delete-avatar-button":"_1z5h9","header-logo":"_Gewcf","sidebar-logo":"_1hXpy","nav-mobile":"_1qjbW","filter-media-file":"_1I62C","div":"_3cLcM","dropdown-menu":"_1krbH","header-avatar":"_RQaHE","dropdown-content":"_3ys4W","dropdown-change":"_ToOW_","item-address":"_3sQlR","item-logout":"_3bqSM","title-address":"_1jgSI","img-avatar":"_35Ttz","item-contact":"_1wc7o","logout":"_1_9tV","content-text":"_3S4f2","hide-in-mobile":"_1INnO","block-form":"_2e7fZ","hide-in-desktop":"_2LIqK","control-input":"_2Zz97","custom-control":"_3-yp5"};
50
50
 
51
51
  var style = {
52
52
  fontSize: "0.85rem"
@@ -60,14 +60,6 @@ var ErrorHandler = function ErrorHandler(_ref) {
60
60
  }, text);
61
61
  };
62
62
 
63
- var CloseBlock = function CloseBlock(_ref) {
64
- var to = _ref.to;
65
- return React__default.createElement(reactRouterDom.Link, {
66
- to: to,
67
- className: "" + styles["btn-close"]
68
- }, "\xD7");
69
- };
70
-
71
63
  var containerStyle = {
72
64
  height: "40px",
73
65
  backgroundColor: "#f7f9fc",
@@ -93,7 +85,7 @@ var PasswordInput = function PasswordInput(_ref) {
93
85
  className: "d-flex align-items-center w-100",
94
86
  style: containerStyle
95
87
  }, React__default.createElement(reactstrap.Input, {
96
- className: "border border-0 password-input",
88
+ className: "border password-input",
97
89
  style: inputStyle,
98
90
  type: isShowPassword ? "text" : "password",
99
91
  name: "password",
@@ -218,7 +210,7 @@ var CHAT_CHANNEL = "chat-channel";
218
210
  var NOTIFICATION_CHANNEL = "NOTIFICATION_CHANNEL";
219
211
  var NEW_NOTIFICATION = "NEW_NOTIFICATION";
220
212
  var DEFAULT_IMAGE_URL = "https://tleliteracy.com/wp-content/uploads/2017/02/default-avatar.png";
221
- var EMOTIONS = ["Excited", "Happy", "Satisfied", "Bored", "Nervous", "Stressed", "Tired", "Sad", "Mad", "Sick"];
213
+ var EMOTIONS = ["Unwell", "Mad", "Stressed", "Easygoing", "Proud", "Inspired"];
222
214
  var TAB_COLORS = {
223
215
  reflect: "#c08497",
224
216
  goal: "#00979b"
@@ -333,8 +325,8 @@ var defaultInfo = {
333
325
  captcha: "",
334
326
  rememberMe: false
335
327
  };
336
- var HOMEPAGE_TEACHER = "/home";
337
- var HOMEPAGE_STUDENT = "/studenthome";
328
+ var HOMEPAGE_TEACHER = "/my-one-to-one/up-coming";
329
+ var HOMEPAGE_STUDENT = "/my-one-to-one/up-coming";
338
330
  var HOMEPAGE_ADMIN = "/admin/dashboard";
339
331
  var HOMEPAGE_PARENT = "/parent";
340
332
  var HOMEPAGE_DISTRICT = "/admin/schools";
@@ -502,30 +494,32 @@ var BlockLogin = function BlockLogin(_ref) {
502
494
  setFieldValue = formikProps.setFieldValue;
503
495
  var emailError = touched.email && errors.email;
504
496
  var passwordError = touched.password && errors.password;
505
- return React__default.createElement(reactstrap.Form, {
497
+ return React__default.createElement(reactstrap.Row, {
498
+ className: "" + styles["box-login"]
499
+ }, React__default.createElement(reactstrap.Col, {
500
+ className: "p-0"
501
+ }, React__default.createElement(reactstrap.Form, {
506
502
  className: "" + styles["block-login"],
507
503
  onSubmit: handleSubmit
508
- }, React__default.createElement(CloseBlock, {
509
- to: "/"
510
- }), React__default.createElement("p", {
504
+ }, React__default.createElement("div", {
505
+ className: "" + styles["block-form"]
506
+ }, React__default.createElement("p", {
511
507
  className: "" + styles["title-login"]
512
- }, "Login"), React__default.createElement(reactstrap.FormGroup, {
508
+ }, "Sign in"), React__default.createElement("p", {
509
+ className: "recover-account"
510
+ }, "Lorem ipsum dolor sit amet, consectetur adipiscing elit."), React__default.createElement(reactstrap.FormGroup, {
513
511
  className: "" + styles["form-user-name"]
514
- }, React__default.createElement(reactstrap.Label, {
515
- "for": "userName"
516
- }, "user name"), React__default.createElement(reactstrap.Input, {
512
+ }, React__default.createElement(reactstrap.Input, {
517
513
  type: "text",
518
514
  name: "email",
519
- placeholder: "User name",
515
+ placeholder: "Email",
520
516
  value: values.email,
521
517
  onChange: handleChange,
522
518
  onBlur: handleBlur("email"),
523
519
  required: true
524
520
  }), emailError && React__default.createElement(ErrorHandler, {
525
521
  text: errors.email
526
- })), React__default.createElement(reactstrap.FormGroup, null, React__default.createElement(reactstrap.Label, {
527
- "for": "password"
528
- }, "Password"), React__default.createElement(PasswordInput, {
522
+ })), React__default.createElement(reactstrap.FormGroup, null, React__default.createElement(PasswordInput, {
529
523
  isShowPassword: isShowPassword,
530
524
  togglePasswordVisible: togglePasswordVisible,
531
525
  onChange: function onChange(e) {
@@ -536,19 +530,24 @@ var BlockLogin = function BlockLogin(_ref) {
536
530
  })), React__default.createElement(reactstrap.FormGroup, null, React__default.createElement(reactGoogleRecaptchaV3.GoogleReCaptcha, {
537
531
  action: "login",
538
532
  onVerify: handleVerify
539
- })), React__default.createElement(reactstrap.Col, null, React__default.createElement("button", {
533
+ })), React__default.createElement(reactstrap.Col, {
534
+ className: "p-0 mt-5"
535
+ }, React__default.createElement("button", {
540
536
  className: "" + styles["btn-login"],
541
537
  type: "submit"
542
- }, "Login")), React__default.createElement("div", {
543
- className: "d-flex justify-content-center"
538
+ }, "LOGIN")), React__default.createElement("div", {
539
+ className: "d-flex justify-content-end"
544
540
  }, React__default.createElement(reactRouterDom.Link, {
545
541
  to: "/forgot-password",
546
- className: "" + styles["forgot-password"]
547
- }, "Forgot password or username?")), React__default.createElement("p", {
548
- className: "" + styles["term-and-conditions"]
549
- }, "Check out our ", React__default.createElement("a", {
550
- href: ""
551
- }, "Terms and Conditions")));
542
+ className: "" + styles["link-to-login"]
543
+ }, "Forgot password ?"))))), React__default.createElement(reactstrap.Col, {
544
+ lg: 4,
545
+ md: 4,
546
+ className: "" + styles["img-box"]
547
+ }, React__default.createElement("img", {
548
+ src: "/images/img-login.png",
549
+ className: "" + styles["img-login"]
550
+ })));
552
551
  });
553
552
  };
554
553
 
@@ -738,16 +737,18 @@ var BlockForgetPassword = function BlockForgetPassword() {
738
737
  values = formikProps.values,
739
738
  touched = formikProps.touched,
740
739
  errors = formikProps.errors;
741
- return React__default.createElement("div", {
742
- className: styles["block-forgot-password"] + " " + styles["block-login"] + " d-flex flex-column align-items-center"
740
+ return React__default.createElement(reactstrap.Row, {
741
+ className: "" + styles["box-login"]
742
+ }, React__default.createElement(reactstrap.Col, {
743
+ className: "p-0"
743
744
  }, React__default.createElement("div", {
744
- className: "w-100"
745
- }, React__default.createElement(CloseBlock, {
746
- to: "/"
747
- })), React__default.createElement("p", {
748
- className: styles["title-login"] + " " + styles["title-forgot-password"]
745
+ className: "" + styles["block-login"]
746
+ }, React__default.createElement("div", {
747
+ className: "" + styles["block-form"]
748
+ }, React__default.createElement("p", {
749
+ className: styles["title-login"] + " "
749
750
  }, "Forgot password"), React__default.createElement("p", {
750
- className: "" + styles["recover-account"]
751
+ className: styles["recover-account"] + " mb-5"
751
752
  }, "Enter email to recover your account"), React__default.createElement("div", {
752
753
  className: "w-100"
753
754
  }, React__default.createElement(reactstrap.Label, {
@@ -764,28 +765,29 @@ var BlockForgetPassword = function BlockForgetPassword() {
764
765
  })), React__default.createElement(reactGoogleRecaptchaV3.GoogleReCaptcha, {
765
766
  action: "forgetPass",
766
767
  onVerify: handleVerify
767
- }), React__default.createElement(reactstrap.Col, null, React__default.createElement("button", {
768
- className: styles["btn-login"] + " mt-4",
768
+ }), React__default.createElement(reactstrap.Col, {
769
+ className: "p-0"
770
+ }, React__default.createElement("button", {
771
+ className: styles["btn-login"] + " mt-5",
769
772
  onClick: function onClick() {
770
773
  return handleSubmit();
771
774
  }
772
775
  }, "Continue")), React__default.createElement("p", {
773
- className: styles[""] + " w-100 d-flex justify-content-center align-items-end flex-grow-1"
776
+ className: "d-flex justify-content-end"
774
777
  }, React__default.createElement(reactRouterDom.Link, {
775
778
  to: "/login",
776
- className: styles[""] + " " + styles["return-to-login"]
777
- }, "Return to login")));
779
+ className: "" + styles["link-to-login"]
780
+ }, "Return to login"))))), React__default.createElement(reactstrap.Col, {
781
+ lg: 4,
782
+ md: 4,
783
+ className: "" + styles["img-box"]
784
+ }, React__default.createElement("img", {
785
+ src: "/images/img-login.png",
786
+ className: "" + styles["img-login"]
787
+ })));
778
788
  });
779
789
  };
780
790
 
781
- var CloseButton = function CloseButton(_ref) {
782
- var toggle = _ref.toggle;
783
- return React__default.createElement("a", {
784
- onClick: toggle,
785
- className: "" + styles["btn-close"]
786
- }, "\xD7");
787
- };
788
-
789
791
  var initialValues$1 = {
790
792
  token: "",
791
793
  password: "",
@@ -811,12 +813,6 @@ var BlockResetPassword = function BlockResetPassword() {
811
813
  isShowReTypePassword = _useForgotPassword.isShowReTypePassword,
812
814
  setIsShowReTypePassword = _useForgotPassword.setIsShowReTypePassword;
813
815
 
814
- var history = reactRouterDom.useHistory();
815
-
816
- var close = function close() {
817
- history.push("/login");
818
- };
819
-
820
816
  React.useEffect(function () {
821
817
  checkResetTokenRequest(token);
822
818
  }, []);
@@ -835,15 +831,15 @@ var BlockResetPassword = function BlockResetPassword() {
835
831
  React.useEffect(function () {
836
832
  setFieldValue("token", token);
837
833
  }, []);
838
- return React__default.createElement("div", {
839
- className: styles["block-login"] + " " + styles["block-reset-password"] + " d-flex flex-column align-items-center"
834
+ return React__default.createElement(reactstrap.Row, {
835
+ className: "" + styles["box-login"]
836
+ }, React__default.createElement(reactstrap.Col, {
837
+ className: "p-0"
840
838
  }, React__default.createElement("div", {
841
- className: "w-100"
842
- }, React__default.createElement(CloseButton, {
843
- toggle: function toggle() {
844
- return close();
845
- }
846
- })), React__default.createElement("p", {
839
+ className: "" + styles["block-login"]
840
+ }, React__default.createElement("div", {
841
+ className: "" + styles["block-form"]
842
+ }, React__default.createElement("p", {
847
843
  className: "" + styles["title-login"]
848
844
  }, "Reset Password"), React__default.createElement("div", {
849
845
  className: "w-100"
@@ -872,20 +868,29 @@ var BlockResetPassword = function BlockResetPassword() {
872
868
  }), touched.reEnterPassword && errors.reEnterPassword && React__default.createElement(ErrorHandler, {
873
869
  text: errors.reEnterPassword
874
870
  })) : React__default.createElement(React__default.Fragment, null, React__default.createElement("p", {
875
- className: "w-100 text-center"
871
+ className: styles["recover-account"] + " mb-5"
876
872
  }, "Invalid reset password link"), React__default.createElement("p", {
877
873
  className: "w-100"
878
- }, "It may have been accessed before or expired or you have just tried to reset another account's password"))), validLink && React__default.createElement(reactstrap.Col, null, React__default.createElement("button", {
874
+ }, "It may have been accessed before or expired or you have just tried to reset another account's password"))), validLink && React__default.createElement(reactstrap.Col, {
875
+ className: "p-0"
876
+ }, React__default.createElement("button", {
879
877
  className: styles["btn-login"] + " mt-4",
880
878
  onClick: function onClick() {
881
879
  return handleSubmit();
882
880
  }
883
881
  }, "Confirm")), React__default.createElement("p", {
884
- className: "w-100 d-flex justify-content-center align-items-end flex-grow-1"
882
+ className: "d-flex justify-content-end"
885
883
  }, React__default.createElement(reactRouterDom.Link, {
886
884
  to: "/login",
887
- className: "" + styles["return-to-login"]
888
- }, "Return to login")));
885
+ className: "" + styles["link-to-login"]
886
+ }, "Return to login"))))), React__default.createElement(reactstrap.Col, {
887
+ lg: 4,
888
+ md: 4,
889
+ className: "" + styles["img-box"]
890
+ }, React__default.createElement("img", {
891
+ src: "/images/img-login.png",
892
+ className: "" + styles["img-login"]
893
+ })));
889
894
  });
890
895
  };
891
896
 
@@ -968,8 +973,8 @@ function _createForOfIteratorHelperLoose(o, allowArrayLike) {
968
973
  return it.next.bind(it);
969
974
  }
970
975
 
971
- var HOMEPAGE_TEACHER$1 = "/home";
972
- var HOMEPAGE_STUDENT$1 = "/studenthome";
976
+ var HOMEPAGE_TEACHER$1 = "/my-one-to-one/up-coming";
977
+ var HOMEPAGE_STUDENT$1 = "/my-one-to-one/up-coming";
973
978
  var HOMEPAGE_ADMIN$1 = "/admin/dashboard";
974
979
  var HOMEPAGE_PARENT$1 = "/parent";
975
980
  var HOMEPAGE_DISTRICT$1 = "/admin/schools";
@@ -1059,12 +1064,6 @@ var BlockTwoFactorLogin = function BlockTwoFactorLogin() {
1059
1064
  var _useLoginTwoFactor = useLoginTwoFactor(),
1060
1065
  userLoginTwoFactor = _useLoginTwoFactor.userLoginTwoFactor;
1061
1066
 
1062
- var history = reactRouterDom.useHistory();
1063
-
1064
- var close = function close() {
1065
- history.push("/login");
1066
- };
1067
-
1068
1067
  return React__default.createElement(formik.Formik, {
1069
1068
  initialValues: _extends({}, initialValues$2, {
1070
1069
  id: id
@@ -1081,21 +1080,19 @@ var BlockTwoFactorLogin = function BlockTwoFactorLogin() {
1081
1080
  handleSubmit = formikProps.handleSubmit,
1082
1081
  touched = formikProps.touched,
1083
1082
  errors = formikProps.errors;
1084
- return React__default.createElement("div", {
1085
- className: styles["block-login"] + " " + styles["block-reset-password"] + " d-flex flex-column align-items-center"
1083
+ return React__default.createElement(reactstrap.Row, {
1084
+ className: "" + styles["box-login"]
1085
+ }, React__default.createElement(reactstrap.Col, {
1086
+ className: "p-0"
1086
1087
  }, React__default.createElement("div", {
1087
- className: "w-100"
1088
- }, React__default.createElement(CloseButton, {
1089
- toggle: function toggle() {
1090
- return close();
1091
- }
1092
- })), React__default.createElement("p", {
1088
+ className: "" + styles["block-login"]
1089
+ }, React__default.createElement("div", {
1090
+ className: "" + styles["block-form"]
1091
+ }, React__default.createElement("p", {
1093
1092
  className: "" + styles["title-login"]
1094
1093
  }, "Additional Verification"), React__default.createElement("p", {
1095
- className: "text-small text-secondary"
1096
- }, React__default.createElement("i", null, "Check your email to get Additional Verification. This code will be expired in 5 minutes")), React__default.createElement("div", {
1097
- className: "w-100"
1098
- }, React__default.createElement(reactstrap.FormGroup, null, React__default.createElement(reactstrap.Label, null, "Additional Verification"), React__default.createElement(reactstrap.Input, {
1094
+ className: "recover-account"
1095
+ }, "Check your email to get Additional Verification. This code will be expired in 5 minutes"), React__default.createElement("div", null, React__default.createElement(reactstrap.FormGroup, null, React__default.createElement(reactstrap.Label, null, "Additional Verification"), React__default.createElement(reactstrap.Input, {
1099
1096
  name: "twoFactorCode",
1100
1097
  value: values.twoFactorCode,
1101
1098
  onChange: handleChange
@@ -1111,17 +1108,26 @@ var BlockTwoFactorLogin = function BlockTwoFactorLogin() {
1111
1108
  }), React__default.createElement(reactstrap.Label, {
1112
1109
  "for": "rememberMe",
1113
1110
  className: "" + styles["remember"]
1114
- }, "Remember my browser & IP"))), React__default.createElement(reactstrap.Col, null, React__default.createElement("button", {
1115
- className: styles["btn-login"] + " mt-4",
1111
+ }, "Remember my browser & IP"))), React__default.createElement(reactstrap.Col, {
1112
+ className: "p-0 mt-5"
1113
+ }, React__default.createElement("button", {
1114
+ className: styles["btn-login"] + " ",
1116
1115
  onClick: function onClick() {
1117
1116
  return handleSubmit();
1118
1117
  }
1119
1118
  }, "Confirm")), React__default.createElement("p", {
1120
- className: "w-100 d-flex justify-content-center align-items-end flex-grow-1"
1119
+ className: "d-flex justify-content-end"
1121
1120
  }, React__default.createElement(reactRouterDom.Link, {
1122
1121
  to: "/login",
1123
- className: "" + styles["return-to-login"]
1124
- }, "Return to login")));
1122
+ className: "" + styles["link-to-login"]
1123
+ }, "Return to login"))))), React__default.createElement(reactstrap.Col, {
1124
+ lg: 4,
1125
+ md: 4,
1126
+ className: "" + styles["img-box"]
1127
+ }, React__default.createElement("img", {
1128
+ src: "/images/img-login.png",
1129
+ className: "" + styles["img-login"]
1130
+ })));
1125
1131
  });
1126
1132
  };
1127
1133
 
@@ -1149,10 +1155,10 @@ var Login = function Login(props) {
1149
1155
  }, React__default.createElement(reactstrap.Row, {
1150
1156
  className: "h-100"
1151
1157
  }, React__default.createElement(reactstrap.Col, {
1152
- lg: 6,
1158
+ lg: 12,
1153
1159
  md: 12,
1154
1160
  xs: 12,
1155
- className: "offset-lg-6 d-flex justify-content-center h-100 align-items-center"
1161
+ className: "d-flex justify-content-center h-100 align-items-center"
1156
1162
  }, React__default.createElement(reactGoogleRecaptchaV3.GoogleReCaptchaProvider, {
1157
1163
  useRecaptchaNet: true,
1158
1164
  reCaptchaKey: GOOGLE_RECAPTCHA_KEY,
@@ -1251,7 +1257,7 @@ var Dashboard = function Dashboard() {
1251
1257
  !!user ? document.title = DASHBOARD_TITLE : document.title = ROOT_TITLE;
1252
1258
  }, [user]);
1253
1259
  return React__default.createElement("div", {
1254
- className: "" + styles["login"]
1260
+ className: styles["login"] + " " + styles["red-background"]
1255
1261
  }, React__default.createElement(reactstrap.Row, null, React__default.createElement(reactstrap.Col, {
1256
1262
  className: styles["nav-home"] + " d-flex w-100"
1257
1263
  }, React__default.createElement("a", {
@@ -1920,7 +1926,7 @@ var useFilters = function useFilters() {
1920
1926
  var changeFilters = function changeFilters(updatedFilters) {
1921
1927
  var newFilters = _extends({}, filters, updatedFilters);
1922
1928
 
1923
- if (!!newFilters.searchString) {
1929
+ if (!!newFilters.searchString && !!updatedFilters.searchString && updatedFilters.searchString != filters.searchString) {
1924
1930
  newFilters.currentPage = 1;
1925
1931
  }
1926
1932