ddstats-server/views/components/_navbar.njk

7 lines
354 B
Plaintext

<nav>
<div class="logo"></div>
<a href="/maps" class="{{ "current" if options.currentSection == "maps" }}">Maps</a>
<a href="/leaderboards" class="{{ "current" if options.currentSection == "leaderboards" }}">Leaderboards</a>
<a href="/tournaments" class="{{ "current" if options.currentSection == "tournaments" }}">Tournaments</a>
</nav>