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

32 lines
1.0 KiB
Handlebars
Raw Normal View History

2020-11-11 04:54:56 +00:00
<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>
2019-11-09 06:03:26 +00:00
</div>
2020-11-11 04:54:56 +00:00
<div class="site-head">
{{#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>
2020-11-11 04:54:56 +00:00
{{/if}}
<a href="{{@site.url}}" class="block flex flex-col pl-4 flex-grow">
<div class="">
<h1 class="text-lg text-white">{{@site.title}}</h1>
</div>
<div class="">
<p class="text-sm text-white">{{@site.description}}</p>
</div>
</a>
</div>
2019-11-09 06:03:26 +00:00
</div>
<div class="nav-group">
{{navigation}}
2019-11-09 06:03:26 +00:00
</div>
</header>
2019-11-12 17:51:01 +00:00
</div>