1
0
Fork 0
mirror of https://github.com/GuerillaStudio/now-playing synced 2024-12-04 03:31:00 +00:00
now-playing/layouts/partials/header.html

28 lines
1.1 KiB
HTML
Raw Normal View History

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" style="view-transition-name: header-title;">Now Playing</a>
<div class="header__tagline" style="view-transition-name: header-tagline;">
2019-11-27 17:06:26 +00:00
Great music should be shared
</div>
</div>
2019-11-28 01:05:31 +00:00
<nav class="navigation" data-menu="navigation">
<a class="navigation__item {{ if .IsHome }}active{{ end }}" href="/" style="view-transition-name: nav-latest;">Latest</a>
{{ with .Site.GetPage "/" }}
{{ with .OutputFormats.Get "RSS" }}
<a class="navigation__item" href="{{ .RelPermalink }}" style="view-transition-name: nav-rss;">RSS</a>
{{ end }}
2019-12-07 21:02:48 +00:00
{{ end }}
<button class="navigation__item" data-random="btn" style="view-transition-name: header-random;">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>