mario-teacher-student-client 1.9.1 → 1.9.2

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
@@ -70,7 +70,7 @@
70
70
  width: 80px; }
71
71
  @media (max-width: 767px) {
72
72
  ._1bTW5 ._1gs0Z {
73
- width: 26%;
73
+ width: 36%;
74
74
  padding-top: 0;
75
75
  font-size: 12px; } }
76
76
 
package/dist/index.js CHANGED
@@ -320,7 +320,11 @@ var HeaderSideBar = function HeaderSideBar(_ref) {
320
320
  className: classes.grow
321
321
  }), React__default.createElement("div", {
322
322
  className: classes.sectionDesktop
323
- }, React__default.createElement(IconButton, {
323
+ }, React__default.createElement("a", {
324
+ className: classes.textPrivacy,
325
+ href: 'https://marioframework.com/privacy-policy',
326
+ target: "blank"
327
+ }, "Privacy Policy"), React__default.createElement(IconButton, {
324
328
  "aria-label": "show 17 new notifications",
325
329
  color: "inherit",
326
330
  onClick: handleMenu
@@ -370,7 +374,7 @@ var HeaderSideBar = function HeaderSideBar(_ref) {
370
374
  onClick: function onClick() {
371
375
  return history.push(navigation.to);
372
376
  },
373
- className: classes.drawerItem + " " + (navigation.to.includes(urlActive) || navigation.to.includes('my-student') && urlActive == 'student-detail' ? classes.drawerActive : "")
377
+ className: classes.drawerItem + " " + (urlActive != '' && (navigation.to.includes(urlActive) || navigation.to.includes('my-student') && urlActive == 'student-detail') ? classes.drawerActive : "")
374
378
  }, React__default.createElement(core.ListItemIcon, null, (_ICON_NAV$find = ICON_NAV.find(function (nav) {
375
379
  return nav.name == navigation.name;
376
380
  })) === null || _ICON_NAV$find === void 0 ? void 0 : _ICON_NAV$find.icon), React__default.createElement(core.ListItemText, null, React__default.createElement("span", {
@@ -394,7 +398,7 @@ var HeaderSideBar = function HeaderSideBar(_ref) {
394
398
  toggleSideBar();
395
399
  history.push(navigation.to);
396
400
  },
397
- className: classes.drawerItem + " " + (navigation.to.includes(urlActive) || navigation.to.includes('my-student') && urlActive == 'student-detail' ? classes.drawerActive : "")
401
+ className: classes.drawerItem + " " + (urlActive != '' && (navigation.to.includes(urlActive) || navigation.to.includes('my-student') && urlActive == 'student-detail') ? classes.drawerActive : "")
398
402
  }, React__default.createElement(core.ListItemIcon, null, (_ICON_NAV$find2 = ICON_NAV.find(function (nav) {
399
403
  return nav.name == navigation.name;
400
404
  })) === null || _ICON_NAV$find2 === void 0 ? void 0 : _ICON_NAV$find2.icon), React__default.createElement(core.ListItemText, {
@@ -437,6 +441,17 @@ var useStyles = styles$b.makeStyles(function (theme) {
437
441
  }, _drawer[theme.breakpoints.down(600)] = {
438
442
  display: "none"
439
443
  }, _drawer),
444
+ textPrivacy: {
445
+ display: 'flex',
446
+ alignItems: 'center',
447
+ color: '#fff',
448
+ textDecoration: 'none',
449
+ marginRight: '12px',
450
+ "&:hover": {
451
+ color: '#fff',
452
+ textDecoration: 'none'
453
+ }
454
+ },
440
455
  drawerItem: {
441
456
  height: "70px",
442
457
  display: "flex",