2019-11-28 01:05:31 +00:00
|
|
|
{{ if .IsHome }}
|
|
|
|
<header class="header header--home">
|
|
|
|
{{ else }}
|
|
|
|
<header class="header">
|
|
|
|
{{ end }}
|
2019-11-27 17:06:26 +00:00
|
|
|
<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>
|
2019-11-28 01:05:31 +00:00
|
|
|
<nav class="navigation" data-menu="navigation">
|
2019-12-03 19:53:14 +00:00
|
|
|
<a class="navigation__item {{ if .IsHome }}active{{ end }}" href="/">Latest</a>
|
2019-11-28 01:05:31 +00:00
|
|
|
<button class="navigation__item" data-random="btn">Random</button>
|
2019-11-27 17:06:26 +00:00
|
|
|
</nav>
|
2019-11-28 01:05:31 +00:00
|
|
|
<div class="navigation__mobileOverlay" data-menu="overlay"></div>
|
|
|
|
<button class="navigation__mobileBtn" data-menu="btn">
|
2019-11-27 17:06:26 +00:00
|
|
|
Menu
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</header>
|