app/template/bootcube/Block/header_3.twig line 10

Open in your IDE?
  1. <header class="block-header">
  2.   <div class="py-5">
  3.     <div class="container d-lg-flex justify-content-between align-items-center">
  4.       <h1 class="block-heasder__logo m-0">
  5.         {#<a href="{{ url('homepage') }}">{{ BaseInfo.shop_name }}</a>#}
  6.         <a href="{{ url('homepage') }}">
  7.             <img style="height: 80px;" src="{{ asset('/html/user_data/logo_02.png')}}" alt="EC-CUBE SHOP demo">
  8.         </a>
  9.       </h1>
  10.       {{ render(controller('Eccube\\Controller\\Block\\SearchProductController::index')) }}
  11.       <ul class="nav flex-column flex-lg-row mt-5 mt-lg-0 ml-lg-8 align-items-center">
  12.         <li class="py-3 py-lg-0"><a class="px-2 fz-4 c-gray-b" href="{{ url('help_about') }}">{{ 'ショップについて'|trans }}</a></li>
  13.         <li class="py-3 py-lg-0"><a class="px-2 fz-4 c-gray-b" href="{{ url('contact') }}">{{ 'お問い合わせ'|trans }}</a></li>
  14.         <li class="py-3 py-lg-0 mx-2 ta-center"><a href="{{ url('mypage') }}">
  15.           <i data-feather="user" width="24" height="24" stroke-width="1"></i>
  16.           <span class="d-lg-none">マイページ</span>
  17.         </a></li>
  18.         {% set Carts = get_all_carts() %}
  19.         {% set totalPrice = get_carts_total_price() %}
  20.         {% set totalQuantity = get_carts_total_quantity() %}
  21.         <li class="py-3 py-lg-0 mx-2"><a class="d-flex" href="{{ url('cart') }}">
  22.           <div class="pos-relative px-2">
  23.             <i data-feather="shopping-cart" width="24" height="24" stroke-width="1"></i>
  24.             <div class="pos-absolute pos-3 ta-center c-white">
  25.                 <span class="d-block w-1 h-1 bgc-key bdrs-circle fz-2">{{ totalQuantity|number_format }}</span>
  26.             </div>
  27.           </div>
  28.           <span class="d-lg-none ml-3">カート</span>
  29.         </a></li>
  30.         <li class="py-3 py-lg-0 ml-2 ta-center"><a href="{{ url('mypage_favorite') }}">
  31.           <i data-feather="heart" width="24" height="24" stroke-width="1"></i>
  32.           <span class="d-lg-none">お気に入り</span>
  33.         </a></li>
  34.       </ul>
  35.     </div>
  36.   </div>
  37.   <nav class="headnav my-5 my-lg-0 bgc-dark-b">
  38.     <div class="container">
  39.       <ul class="nav d-block d-lg-flex justify-content-between ta-center">
  40.         <li class="flex-fill">
  41.           <a class="d-inline-block py-4 c-white ch-gray" href="{{ url('homepage') }}">
  42.             トップページ
  43.           </a>
  44.         </li>
  45.         <li class="flex-fill">
  46.           <a class="d-inline-block py-4 c-white ch-gray" href="{{ url('product_list') }}">
  47.             商品一覧
  48.           </a>
  49.         </li>
  50.         <li class="flex-fill">
  51.           <a class="d-inline-block py-4 c-white ch-gray" href="{{ url('help_about') }}">
  52.             {{ 'ショップについて'|trans }}
  53.           </a>
  54.         </li>
  55.         <li class="flex-fill">
  56.           <a class="d-inline-block py-4 c-white ch-gray" href="{{ url('help_about') }}">
  57.             {{ 'ご利用ガイド'|trans }}
  58.           </a>
  59.         </li>
  60.         <li class="flex-fill">
  61.           <a class="d-inline-block py-4 c-white ch-gray" href="{{ url('contact') }}">
  62.             {{ 'お問い合わせ'|trans }}
  63.           </a>
  64.         </li>
  65.       </ul>
  66.     </div>
  67.   </nav>
  68. </header>