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

22 lines
812 B
Handlebars
Raw Normal View History

2019-11-09 06:03:26 +00:00
<header class="flex flex-row py-2 flex-wrap w-full">
{{#if @site.logo}}
<div class="flex flex-col 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 ml-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>
2019-11-09 19:00:39 +00:00
<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}}
2019-11-09 06:03:26 +00:00
</div>
</header>