proxitok/templates/components/navbar.latte

30 lines
1 KiB
Plaintext
Raw Normal View History

<nav class="navbar" role="navigation" aria-label="main navigation">
<div class="navbar-brand">
2022-10-24 14:38:31 -04:00
<a href="{path('/')}" class="navbar-item">
{include './icon.latte', icon: 'home', text: '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">
<a href="{path('/settings')}" class="navbar-item">
{include './icon.latte', icon: 'options', text: 'Settings'}
</a>
<a href="{path('/about')}" class="navbar-item">
{include './icon.latte', icon: 'info', text: 'About'}
</a>
</div>
2022-09-25 13:53:00 -04:00
<div class="navbar-end">
2022-10-24 14:38:31 -04:00
<a href="https://github.com/pablouser1/ProxiTok" class="navbar-item" target="_blank">
{include './icon.latte', icon: 'code-slash', text: 'Source'}
</a>
2022-09-25 13:53:00 -04:00
</div>
</div>
</nav>
2022-11-04 15:08:19 -04:00
<script src="{static('js', 'navbar.js')}"></script>