<?php
require_once("./controller/version.php");
?>

<sidebar class="sidebar">
    <div class="backdrop-sidebar"></div>
    <div class="menu-container">
        <div class="logo">
            <img src="" alt="Logo">
        </div>
        <nav class="menu">
            <ul class="menu-items">
                <div class="load" id="loadMenus"></div>
            </ul>
        </nav>
    </div>
    <div class="profile">
        <div class="inner-profile">
            <div class="user">
                <figure class="img-user">
                    <img src="./assets/img/default_profile.svg" alt="Foto de perfil" id="fotoPerfilSidebar">
                </figure>
                <div class="dados">
                    <p class="nome-usuario"></p>
                    <p class="perfil-usuario"></p>
                </div>
            </div>
            <div class="icone">
                <span class="material-icons-round">more_vert</span>
            </div>
            <div class="options-user">
                <nav class="menu">
                    <ul>
                        <li>
                            <a href="./perfil">
                                <div class="icone"><span class="material-symbols-rounded">person</span></div>
                                <div class="texto">Perfil</div>
                            </a>
                        </li>
                        <li>
                            <a class="sair" href="./sair/<?=$chave;?>">
                                <div class="icone"><span class="material-symbols-rounded">logout</span></div>
                                <div class="texto">Sair</div>
                            </a>
                        </li>
                        <li class="divider d70 small"></li>
                        <li>
                            <p class="termos">Workspace versão <?= $version; ?>
                        </li>
                    </ul>
                </nav>
            </div>
        </div>
    </div>
</sidebar>