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

24 lines
896 B
Handlebars
Raw Normal View History

2019-11-13 11:50:52 +00:00
<div class="w-full flex flex-row justify-begin items-center fixed index-navbar">
2019-11-14 08:25:28 +00:00
<header class="flex flex-row py-2 w-full relative">
2019-11-09 06:03:26 +00:00
{{#if @site.logo}}
2019-11-13 09:57:29 +00:00
<div class="w-12 h-12">
2019-11-09 06:03:26 +00:00
<img src="{{img_url @site.logo size="l"}}" alt="{{@site.title}}" class="w-full h-full object-contain">
</div>
{{/if}}
2019-11-13 09:57:29 +00:00
<div class="flex flex-col pl-4 flex-grow">
2019-11-09 06:03:26 +00:00
<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">
2019-11-14 07:57:11 +00:00
<img src="{{asset "images/menu.svg"}}" class="h-12 w-12 px-3 py-3 text-white md:hidden" style="filter: invert(1);" alt="menu"/>
2019-11-09 06:03:26 +00:00
</div>
2019-11-14 08:25:28 +00:00
{{navigation}}
2019-11-09 06:03:26 +00:00
</header>
2019-11-12 17:51:01 +00:00
</div>