website/templates/nav.html

28 lines
1.1 KiB
HTML
Raw Normal View History

2022-09-08 02:16:15 +05:30
{% import "macros.html" as macros %}
<nav class="nav__container">
<input type="checkbox" class="nav__toggle" id="nav__toggle" />
<div class="nav__header">
<a class="nav__logo-container" href="/">
<p class="nav__home-btn">LibrePages</p>
</a>
<label class="nav__hamburger-menu" for="nav__toggle">
<span class="nav__hamburger-inner"></span>
</label>
</div>
<div class="nav__spacer--small"></div>
<div class="nav__link-group">
{{ macros::nav_link(link="/about/", name="About") }}
{{ macros::nav_link(link="/blog/", name="Blog") }}
{{ macros::nav_link(link="https://matrix.to/#/#librepages:matrix.batsense.net", name="Chat") }}
2022-09-09 20:43:42 +05:30
{{ macros::nav_link(link="https://docs.librepages.org", name="Docs") }}
2022-09-08 02:16:15 +05:30
{{ macros::nav_link(link="https://gts.batsense.net/@librepages", name="Fediverse") }}
2022-09-10 18:21:21 +05:30
{{ macros::nav_link(link="https://git.batsense.net/LibrePages", name="Source Code") }}
2022-09-08 02:16:15 +05:30
</div>
<div class="nav__spacer"></div>
<div class="nav__link-group--small">
{{ macros::nav_link(link="https://demo.librepages.org/", name="Demo") }}
</div>
</nav>