1
0
mirror of https://github.com/Damillora/Yuika synced 2024-11-05 10:27:32 +00:00
Yuika/partials/site-header.hbs
2021-03-11 00:19:06 +07:00

49 lines
1.4 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}}
{{#unless @member.paid}}
<li>
<a href="{{@site.url}}/subscribe/">Join The Damillora Network</a>
</li>
<li class="separator"></li>
{{/unless}}
<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}}/subscribe/">Subscribe</a>
</li>
{{/if}}
<li class="separator"></li>
</ul>
{{navigation}}
</div>
</header>
</div>
</div>