The website of Ura Design
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
830 B

<div class="container">
<div id="navigation" class="navbar">
<a class="nav-brand" href="/" title="Home"><img src="{{site.url}}/assets/img/logo.svg" alt="Ura Design Logo" class="logo"></a>
<a id="menu" href="javascript:void(0);" onclick="menu()">
<i class="fas fa-bars align-right"></i>
</a>
<nav id="topnav" class="nav-menu">
{% for item in site.data.nav %}
<a class="nav-link" href="{{site.baseurl}}/{{ item.path }}">{{ item.name }}</a>
{% endfor %}
</nav>
</div>
</div>
<script>
function menu() {
var x = document.getElementById("topnav");
if (x.className === "nav-menu") {
x.className += " responsive";
document.getElementById("navigation").style.height = "300px";
} else {
x.className = "nav-menu";
document.getElementById("navigation").style.height = "100px";
}
}
</script>