mario-teacher-student-client 2.0.10 → 2.0.11

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.js CHANGED
@@ -157,7 +157,7 @@ var drawerWidth = 280;
157
157
  var headerHeightDesktop = 64;
158
158
  var headerHeightMobile = 55;
159
159
  var headerHeightScroll = 0;
160
- var LOGO = "/images/logo-new.png";
160
+ var LOGO = "/images/logo-new.svg";
161
161
 
162
162
  var HeaderSideBar = function HeaderSideBar(_ref) {
163
163
  var _currentUrl$split, _clsx;
@@ -301,9 +301,15 @@ var HeaderSideBar = function HeaderSideBar(_ref) {
301
301
  }, {
302
302
  name: "My Conferences",
303
303
  icon: urlActive === "my-conferences" ? React__default.createElement("img", {
304
- src: "/images/teacher-white.png"
304
+ style: {
305
+ imageRendering: "pixelated"
306
+ },
307
+ src: "/images/teacher-white.svg"
305
308
  }) : React__default.createElement("img", {
306
- src: hoverConferences ? "/images/teacher-white.png" : "/images/teacher.png"
309
+ style: {
310
+ imageRendering: "pixelated"
311
+ },
312
+ src: hoverConferences ? "/images/teacher-white.svg" : "/images/teacher.svg"
307
313
  })
308
314
  }, {
309
315
  name: "Settings",
@@ -335,7 +341,7 @@ var HeaderSideBar = function HeaderSideBar(_ref) {
335
341
  className: classes.sectionDesktop
336
342
  }, React__default.createElement("a", {
337
343
  className: classes.textPrivacy,
338
- href: 'https://marioframework.com/mario-for-me-privacy-policy/',
344
+ href: "https://marioframework.com/mario-for-me-privacy-policy/",
339
345
  target: "blank"
340
346
  }, "Privacy Policy"), React__default.createElement(IconButton, {
341
347
  "aria-label": "show 17 new notifications",
@@ -393,7 +399,7 @@ var HeaderSideBar = function HeaderSideBar(_ref) {
393
399
  onClick: function onClick() {
394
400
  return history.push(navigation.to);
395
401
  },
396
- className: classes.drawerItem + " " + (urlActive != '' && (navigation.to.includes(urlActive) || navigation.to.includes('my-student') && urlActive == 'student-detail' || navigation.to.includes('my-one-to-one') && urlActive == 'start-question' || navigation.to.includes('my-conferences') && urlActive == 'start-conference') ? classes.drawerActive : "")
402
+ className: classes.drawerItem + " " + (urlActive != "" && (navigation.to.includes(urlActive) || navigation.to.includes("my-student") && urlActive == "student-detail" || navigation.to.includes("my-one-to-one") && urlActive == "start-question" || navigation.to.includes("my-conferences") && urlActive == "start-conference") ? classes.drawerActive : "")
397
403
  }, React__default.createElement(core.ListItemIcon, null, (_ICON_NAV$find = ICON_NAV.find(function (nav) {
398
404
  return nav.name == navigation.name;
399
405
  })) === null || _ICON_NAV$find === void 0 ? void 0 : _ICON_NAV$find.icon), React__default.createElement(core.ListItemText, null, React__default.createElement("span", {
@@ -417,7 +423,7 @@ var HeaderSideBar = function HeaderSideBar(_ref) {
417
423
  toggleSideBar();
418
424
  history.push(navigation.to);
419
425
  },
420
- className: classes.drawerItem + " " + (urlActive != '' && (navigation.to.includes(urlActive) || navigation.to.includes('my-student') && urlActive == 'student-detail') ? classes.drawerActive : "")
426
+ className: classes.drawerItem + " " + (urlActive != "" && (navigation.to.includes(urlActive) || navigation.to.includes("my-student") && urlActive == "student-detail") ? classes.drawerActive : "")
421
427
  }, React__default.createElement(core.ListItemIcon, null, (_ICON_NAV$find2 = ICON_NAV.find(function (nav) {
422
428
  return nav.name == navigation.name;
423
429
  })) === null || _ICON_NAV$find2 === void 0 ? void 0 : _ICON_NAV$find2.icon), React__default.createElement(core.ListItemText, {
@@ -461,18 +467,18 @@ var useStyles = styles$b.makeStyles(function (theme) {
461
467
  display: "none"
462
468
  }, _drawer),
463
469
  textPrivacy: (_textPrivacy = {
464
- display: 'flex',
465
- alignItems: 'center',
466
- color: '#fff',
467
- textDecoration: 'none',
468
- marginRight: '12px',
470
+ display: "flex",
471
+ alignItems: "center",
472
+ color: "#fff",
473
+ textDecoration: "none",
474
+ marginRight: "12px",
469
475
  "&:hover": {
470
- color: '#fff',
471
- textDecoration: 'none',
476
+ color: "#fff",
477
+ textDecoration: "none",
472
478
  fontWeight: 700
473
479
  }
474
480
  }, _textPrivacy[theme.breakpoints.down(415)] = {
475
- marginRight: '0px'
481
+ marginRight: "0px"
476
482
  }, _textPrivacy),
477
483
  drawerItem: {
478
484
  height: "70px",