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

24 lines
895 B
Handlebars

<div class="w-full flex flex-row justify-begin items-center fixed index-navbar">
<header class="flex flex-row py-2 flex-wrap w-full">
{{#if @site.logo}}
<div class="w-12 h-12">
<img src="{{img_url @site.logo size="l"}}" alt="{{@site.title}}" class="w-full h-full object-contain">
</div>
{{/if}}
<div class="flex flex-col pl-4 flex-grow">
<div class="">
<a href="{{@site.url}}">
<h1 class="text-lg text-white">{{@site.title}}</h1>
</a>
</div>
<div class="">
<p class="text-sm text-white">{{@site.description}}</p>
</div>
</div>
<div id="menushow" class="cursor-pointer relative">
<img src="{{asset "images/menu.svg"}}" class="h-12 px-3 py-3 text-white md:hidden" style="filter: invert(1);" alt="menu"/>
{{navigation}}
</div>
</header>
</div>