-
Notifications
You must be signed in to change notification settings - Fork 0
/
inc_navbar_aluno.html
32 lines (31 loc) · 1.34 KB
/
inc_navbar_aluno.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<!--navbar-->
<nav>
<!-- Barra de navegação -->
<div class="w3-container-fluid navbar naveg">
<div class="w3-bar naveg">
<a href="#" class="w3-bar-item w3-button w3-disabled">MENU >> </a><!--principal-->
<a href="dashboard_aluno.php" class="w3-bar-item w3-button w3-hide-small w3-hover-blue">Perfil</a>
<a href="logout.php" class="w3-bar-item w3-button w3-hide-small w3-hover-blue w3-right">Sair</a>
<!-- Botão de hamburguer para dispositivos móveis -->
<a href="javascript:void(0)" class="w3-bar-item w3-button w3-right w3-hide-large w3-hide-medium" onclick="myFunction()">☰</a>
</div>
<!-- menu responsivo -->
<div id="demo" class="w3-bar-block naveg w3-card-4 w3-hide w3-hide-large w3-hide-medium">
<a href="dashboard_aluno.php" class="w3-bar-item w3-button w3-hover-blue">Perfil</a>
<a href="logout.php" class="w3-bar-item w3-button w3-hover-blue">Sair</a>
</div>
</div>
</nav>
<!--fim navbar-->
<!--scripts-->
<!-- menu navbar hamburger-->
<script>
function myFunction() {
var x = document.getElementById("demo");
if (x.className.indexOf("w3-show") == -1) {
x.className += " w3-show";
} else {
x.className = x.className.replace(" w3-show", "");
}
}
</script>