SAE_web/views/header.php

31 lines
813 B
PHP

<nav class="menu-container">
<!-- burger menu -->
<input type="checkbox" aria-label="Toggle menu" />
<span></span>
<span></span>
<span></span>
<!-- logo -->
<a href="../" class="menu-logo">
<img src="https://i.imgur.com/RkmSo9Q.png" alt="Jeux Olympiques - Paris 2024" />
</a>
<!-- menu items -->
<div class="menu">
<ul>
<li>
<a href="/events">
Évènements
</a>
</li>
</ul>
<ul>
<li>
<a href="/account/login">
Connexion
</a>
<!-- script php qui vérifie le cookie. Si cookie, propose déconnexion, si pas cookie propose connexion -->
</li>
</ul>
</div>
</nav>