clean css
This commit is contained in:
@@ -11,16 +11,19 @@ const Header = () => {
|
||||
<Link to="/">Bermite</Link>
|
||||
</div>
|
||||
|
||||
{authUser && <nav className="flex gap-2">
|
||||
<Link to="/pluviometrie">Pluviométrie</Link>
|
||||
<Link to="/meteo">Météo</Link>
|
||||
</nav>}
|
||||
{/*{authUser && <nav className="flex gap-2">*/}
|
||||
{/* <Link to="/pluviometrie">Pluviométrie</Link>*/}
|
||||
{/* <Link to="/meteo">Météo</Link>*/}
|
||||
{/*</nav>}*/}
|
||||
|
||||
{authUser ? <span className="flex gap-2"><Link to="/profile">{authUser.name}</Link><button onClick={logout}>logout</button></span>
|
||||
{authUser
|
||||
? <span className="flex gap-2">
|
||||
<Link to="/profile">{authUser.name}</Link>
|
||||
</span>
|
||||
: <span className="flex gap-2">
|
||||
<Link to="/connexion">Connexion</Link>
|
||||
<Link to="/sinscrire">S'inscrire</Link>
|
||||
</span>}
|
||||
<Link to="/connexion">Connexion</Link>
|
||||
{/*<Link to="/sinscrire">S'inscrire</Link>*/}
|
||||
</span>}
|
||||
</header>
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user