1
0
Fork 0
mirror of https://github.com/GuerillaStudio/now-playing synced 2024-11-30 01:01:40 +00:00
now-playing/layouts/partials/header.html
2019-12-03 20:53:14 +01:00

22 lines
762 B
HTML

{{ if .IsHome }}
<header class="header header--home">
{{ else }}
<header class="header">
{{ end }}
<div class="container">
<div class="header__left">
<a class="header__logo glitch--hover" data-text="Now Playing" href="/" title="Homepage">Now Playing</a>
<div class="header__tagline">
Great music should be shared
</div>
</div>
<nav class="navigation" data-menu="navigation">
<a class="navigation__item {{ if .IsHome }}active{{ end }}" href="/">Latest</a>
<button class="navigation__item" data-random="btn">Random</button>
</nav>
<div class="navigation__mobileOverlay" data-menu="overlay"></div>
<button class="navigation__mobileBtn" data-menu="btn">
Menu
</button>
</div>
</header>