1
0
mirror of https://github.com/Damillora/Yuika synced 2024-11-05 02:17:32 +00:00
Yuika/partials/site-header.hbs

42 lines
1.2 KiB
Handlebars

<div class="index-navbar">
<div class="site-background">
{{> site-background }}
</div>
</div>
<header class="flex flex-col w-full relative py-0">
<div class="site-title">
<div id="menushow" class="py-2">
<span class="h-12 w-12 px-2 py-3 text-white material-icons" alt="menu">menu</span>
</div>
<div class="site-head">
<a href="{{@site.url}}" class="block flex flex-col flex-grow">
<div class="">
<h1 class="text-lg text-white">{{@site.title}}</h1>
</div>
</a>
</div>
</div>
<div class="nav-group">
<ul class="nav">
{{#if @member}}
<li>
<a href="{{@site.url}}/account/">{{@member.email}}</a>
</li>
<li>
<a href="#signout" data-members-signout>Sign out</a>
</li>
{{else}}
<li>
<a href="{{@site.url}}/signin/">Sign in</a>
</li>
<li>
<a href="{{@site.url}}/signup/">Subscribe</a>
</li>
{{/if}}
<li class="separator"></li>
</ul>
{{navigation}}
</div>
</header>
</div>
</div>