Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 6711 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 6711 Rev 6753
Línea 23... Línea 23...
23
 
23
 
24
  const toggleMenu = () => {
24
  const toggleMenu = () => {
25
    setIsShow((prevIsShow) => !prevIsShow)
25
    setIsShow((prevIsShow) => !prevIsShow)
Línea -... Línea 26...
-
 
26
  }
-
 
27
 
-
 
28
  const closeMenu = () => {
-
 
29
    setIsShow(false)
26
  }
30
  }
27
 
31
 
28
  return (
32
  return (
29
    <>
33
    <>
30
      <header className="header">
34
      <header className="main-header">
31
        <a href="/" className="logo d-none d-xl-block">
35
        <a href="/" className="logo">
32
          <img src={logo} alt="logo" />
36
          <img src={logo} alt="Company logo" />
33
        </a>
37
        </a>
34
        <SearchInput />
38
        <SearchInput />
35
        <div className="hamburgerIcon">
39
        <div className="hamburgerIcon d-xl-none">
36
          <i className="fa fa-bars text-gray" onClick={toggleMenu} />
40
          <i className="fa fa-bars text-gray" onClick={toggleMenu} />
37
        </div>
41
        </div>
38
        <nav className="header-navigation">
42
        <nav className="header-navigation">
Línea 51... Línea 55...
51
          linkImpersonate={linkImpersonate}
55
          linkImpersonate={linkImpersonate}
52
        />
56
        />
53
      </header>
57
      </header>
54
      <ResponsiveNavbar
58
      <ResponsiveNavbar
55
        show={isShow}
59
        show={isShow}
56
        toggleMenu={toggleMenu}
60
        toggleMenu={closeMenu}
57
        name={name}
61
        name={name}
58
        image={image}
62
        image={image}
59
        visits={visits}
63
        visits={visits}
60
        country={country}
64
        country={country}
61
        description={description}
65
        description={description}