<header class="block-header">
<div class="py-5">
<div class="container d-lg-flex justify-content-between align-items-center">
<h1 class="block-heasder__logo m-0">
{#<a href="{{ url('homepage') }}">{{ BaseInfo.shop_name }}</a>#}
<a href="{{ url('homepage') }}">
<img style="height: 80px;" src="{{ asset('/html/user_data/logo_02.png')}}" alt="EC-CUBE SHOP demo">
</a>
</h1>
{{ render(controller('Eccube\\Controller\\Block\\SearchProductController::index')) }}
<ul class="nav flex-column flex-lg-row mt-5 mt-lg-0 ml-lg-8 align-items-center">
<li class="py-3 py-lg-0"><a class="px-2 fz-4 c-gray-b" href="{{ url('help_about') }}">{{ 'ショップについて'|trans }}</a></li>
<li class="py-3 py-lg-0"><a class="px-2 fz-4 c-gray-b" href="{{ url('contact') }}">{{ 'お問い合わせ'|trans }}</a></li>
<li class="py-3 py-lg-0 mx-2 ta-center"><a href="{{ url('mypage') }}">
<i data-feather="user" width="24" height="24" stroke-width="1"></i>
<span class="d-lg-none">マイページ</span>
</a></li>
{% set Carts = get_all_carts() %}
{% set totalPrice = get_carts_total_price() %}
{% set totalQuantity = get_carts_total_quantity() %}
<li class="py-3 py-lg-0 mx-2"><a class="d-flex" href="{{ url('cart') }}">
<div class="pos-relative px-2">
<i data-feather="shopping-cart" width="24" height="24" stroke-width="1"></i>
<div class="pos-absolute pos-3 ta-center c-white">
<span class="d-block w-1 h-1 bgc-key bdrs-circle fz-2">{{ totalQuantity|number_format }}</span>
</div>
</div>
<span class="d-lg-none ml-3">カート</span>
</a></li>
<li class="py-3 py-lg-0 ml-2 ta-center"><a href="{{ url('mypage_favorite') }}">
<i data-feather="heart" width="24" height="24" stroke-width="1"></i>
<span class="d-lg-none">お気に入り</span>
</a></li>
</ul>
</div>
</div>
<nav class="headnav my-5 my-lg-0 bgc-dark-b">
<div class="container">
<ul class="nav d-block d-lg-flex justify-content-between ta-center">
<li class="flex-fill">
<a class="d-inline-block py-4 c-white ch-gray" href="{{ url('homepage') }}">
トップページ
</a>
</li>
<li class="flex-fill">
<a class="d-inline-block py-4 c-white ch-gray" href="{{ url('product_list') }}">
商品一覧
</a>
</li>
<li class="flex-fill">
<a class="d-inline-block py-4 c-white ch-gray" href="{{ url('help_about') }}">
{{ 'ショップについて'|trans }}
</a>
</li>
<li class="flex-fill">
<a class="d-inline-block py-4 c-white ch-gray" href="{{ url('help_about') }}">
{{ 'ご利用ガイド'|trans }}
</a>
</li>
<li class="flex-fill">
<a class="d-inline-block py-4 c-white ch-gray" href="{{ url('contact') }}">
{{ 'お問い合わせ'|trans }}
</a>
</li>
</ul>
</div>
</nav>
</header>