proxitok/components/navbar.latte

21 lines
739 B
Plaintext
Raw Normal View History

<nav class="navbar" role="navigation" aria-label="main navigation">
<div class="navbar-brand">
2022-09-03 08:01:03 -04:00
<a href="{path('/')}" class="navbar-item">ProxiTok</a>
<a role="button" id="navbar-burger" class="navbar-burger" aria-label="menu" aria-expanded="false">
<span aria-hidden="true"></span>
<span aria-hidden="true"></span>
<span aria-hidden="true"></span>
</a>
</div>
<div id="navbar-menu" class="navbar-menu">
<div class="navbar-start">
2022-02-05 18:58:30 -05:00
<a href="{path('/settings')}" class="navbar-item">Settings</a>
<a href="{path('/about')}" class="navbar-item">
{include './icon.latte', icon: 'info', text: 'About'}
</a>
</div>
</div>
</nav>
2022-02-05 18:58:30 -05:00
<script src="{path('/scripts/navbar.js')}"></script>