Proyectos de Subversion LeadersLinked - SPA

Rev

Rev 3727 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 3727 Rev 3743
Línea 38... Línea 38...
38
 
38
 
39
  const [showMenu, setShowMenu] = useState(false);
39
  const [showMenu, setShowMenu] = useState(false);
40
  const logo = useSelector(({ auth }) => auth.navbar_url);
40
  const logo = useSelector(({ auth }) => auth.navbar_url);
41
  const labels = useSelector(({ intl }) => intl.labels);
41
  const labels = useSelector(({ intl }) => intl.labels);
42
  const navigate = useNavigate();
-
 
43
  const userAgent = navigator.userAgent;
-
 
Línea 44... Línea 42...
44
  const isIphone = /iPad|iPhone|iPod|Mac/.test(userAgent);
42
  const navigate = useNavigate();
Línea 45... Línea 43...
45
 
43
 
46
  const ICON_OPTIONS = [Home, People, BusinessCenter, Groups, Sell, Chat, School];
44
  const ICON_OPTIONS = [Home, People, BusinessCenter, Groups, Sell, Chat, School];
Línea 61... Línea 59...
61
  return (
59
  return (
62
    <>
60
    <>
63
      <AppBar
61
      <AppBar
64
        sx={{
62
        sx={{
65
          position: 'sticky',
63
          position: 'sticky',
66
          paddingTop: isIphone ? '50px' : '0',
-
 
67
          boxShadow: 'none',
64
          boxShadow: 'none',
68
          borderBottom: '1px solid var(--border-primary)'
65
          borderBottom: '1px solid var(--border-primary)'
69
        }}
66
        }}
70
      >
67
      >
71
        <Container>
68
        <Container>