app/template/default/Block/header_first_sp.twig line 1

Open in your IDE?
  1. <div class="ec-headerNaviRole" style="padding-top: 0px; padding-bottom: 5px;">
  2.     <div class="ec-headerNaviRole__left" style="width: 50%; display: flex; flex-wrap: wrap;">
  3.         <div class="ec-headerNavSP" style="top: 0px; font-size: 26px; position: relative; left: 0px; width: 20px; margin-right: 20px;">
  4.             <i class="fas fa-bars"></i>
  5.         </div>
  6.         <div class="ec-headerTitle__title">
  7.             <h2 style="margin: 0px;">
  8.                 <a href="{{ url('homepage') }}">
  9.                     <img style="width: 120px;" src="{{ asset('assets/img/common/top_logo.png', 'user_data') }}" alt="{{ BaseInfo.shop_name }}">
  10.                 </a>
  11.             </h2>
  12.         </div>
  13.     </div>
  14.     <div class="ec-headerNaviRole__right" style="width: 50%; display: flex; flex-wrap: wrap;">
  15.         <div class="" style="display: flex;">
  16.             {% if is_granted('ROLE_USER') %}
  17.                 <a href="{{ url('mypage') }}" style="font-weight: bold; font-size: 13px; line-height: 40px;">注文履歴</a>
  18.                 <span style="font-weight: bold; line-height: 40px;">|</span>
  19.                 <a href="{{ url('mypage_favorite') }}" style="font-weight: bold; font-size: 13px; line-height: 40px;">お気に入り</a>
  20.             {% else %}
  21.                 <a href="{{ url('mypage_login') }}" style="font-weight: bold; font-size: 13px; line-height: 40px;">ログイン</a>
  22.                 <span style="font-weight: bold; line-height: 40px;">|</span>
  23.                 <a href="{{ url('entry_before') }}" style="font-weight: bold; font-size: 13px; line-height: 40px;">無料会員登録</a>
  24.             {% endif %}
  25.         </div>
  26.         <div class="ec-headerTop">
  27.         </div>
  28.     </div>
  29. </div>