<nav>
    <ul>
        <li class="title">Administration</li>
        <li class="nav-item"><a href="./?page=home">Accueil</a></li>
        <li class="nav-item"><a href="./?page=projects">Les projets</a></li>
        <li class="nav-item"><a href="./?page=contact">Données de contacts</a></li>
        <li class="nav-item"><a href="../index.html">Retour au site</a></li>
        <li class="nav-item">
            <form method="post" action="./logout.php" style="display: inline;">
                <input type="hidden" name="csrf_token" value="<?= htmlspecialchars(generateCSRFToken()); ?>">
                <button type="submit" style="background: none; border: none; color: inherit; text-decoration: underline; cursor: pointer;">Déconnexion</button>
            </form>
        </li>
    </ul>
</nav>