New navbar

mobile still wip
This commit is contained in:
2017-11-13 23:13:24 +01:00
parent 2ee9a98277
commit 1ea96f5c0d
3 changed files with 122 additions and 26 deletions

View File

@@ -25,10 +25,21 @@ $agenda = new \pvv\side\Agenda([
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="css/splash.css">
<link rel="stylesheet" href="css/landing.css">
<script>
function navbar() {
var x = document.getElementById("navbar");
if (x.className === "opennav") {
x.className = "";
} else {
x.className = "opennav";
}
}
</script>
</head>
<body>
<nav>
<nav id="navbar" class="">
<?php echo navbar(0, ''); ?>
<?php echo loginbar(); ?>
</nav>