app/template/mieuree/Block/login.twig line 1

Open in your IDE?
  1. {#
  2. This file is part of EC-CUBE
  3. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  4. http://www.ec-cube.co.jp/
  5. For the full copyright and license information, please view the LICENSE
  6. file that was distributed with this source code.
  7. #}
  8. <div class="ec-headerNav">
  9.     {% if is_granted('ROLE_USER') %}
  10.         <div class="ec-headerNav__item">
  11.             <a href="{{ url('mypage') }}">
  12.                 <svg id="icon-mypage" data-name="" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
  13.                     <path id="" data-name="" class="cls-1" d="M12,4c1.93,0,3.5,1.57,3.5,3.5s-1.57,3.5-3.5,3.5-3.5-1.57-3.5-3.5,1.57-3.5,3.5-3.5m0-1c-2.49,0-4.5,2.01-4.5,4.5s2.01,4.5,4.5,4.5,4.5-2.01,4.5-4.5-2.01-4.5-4.5-4.5"/>
  14.                     <path id="" data-name="" class="cls-1" d="M12,14c3.69,0,6.5,3.01,6.5,4.5-.12,.43-2.22,1.5-6.5,1.5s-6.38-1.07-6.5-1.49c0-1.51,2.81-4.51,6.5-4.51m0-1c-4.14,0-7.5,3.37-7.5,5.51,0,1.47,3.36,2.49,7.5,2.49s7.5-1.02,7.5-2.49c0-2.14-3.36-5.51-7.5-5.51"/>
  15.                 </svg>
  16.             </a>
  17.         </div>
  18.         {% if BaseInfo.option_favorite_product %}
  19.             <div class="ec-headerNav__item">
  20.                 <a href="{{ url('mypage_favorite') }}">
  21.                     <svg id="icon-favorite" data-name="" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
  22.                         <path class="cls-1" d="M12,20.39c-.08,0-.16,0-.24-.01-.67-.06-1.26-.38-1.69-.9l-6.06-7.33c-.87-.95-1.41-2.2-1.51-3.51,0-1.4,.57-2.71,1.56-3.64,1-.95,2.31-1.47,3.69-1.47h.07c1.38,0,2.69,.52,3.69,1.48,.18,.17,.34,.35,.49,.54,.15-.19,.32-.37,.49-.54,2.09-1.96,5.36-1.96,7.45,0h0c.99,.93,1.56,2.24,1.56,3.6-.08,1.35-.63,2.61-1.54,3.57l-6.04,7.31c-.1,.12-.21,.24-.34,.34-.45,.37-1.01,.57-1.59,.57ZM7.76,4.54c-1.13,0-2.2,.43-3.01,1.2-.79,.74-1.24,1.79-1.25,2.87,.09,1.04,.54,2.09,1.27,2.89l6.07,7.35c.25,.31,.62,.5,1.01,.54,.41,.03,.79-.08,1.1-.34,.07-.06,.14-.13,.2-.2l6.06-7.33c.77-.82,1.22-1.85,1.29-2.94,0-1.05-.46-2.1-1.24-2.84-1.7-1.6-4.37-1.6-6.08,0-.29,.28-.54,.6-.75,.96l-.44,.77-.44-.78c-.2-.35-.45-.68-.75-.96-.82-.78-1.93-1.2-3.03-1.2h-.03Z"/>
  23.                     </svg>
  24.                 </a>
  25.             </div>
  26.         {% endif %}
  27.         <div class="ec-headerNav__item">
  28.             <a href="{{ url('logout') }}">
  29.                 <i class="ec-headerNav__itemIcon fas fa-lock fa-fw"></i>
  30.                 <span class="ec-headerNav__itemLink"></span>
  31.             </a>
  32.         </div>
  33.     {% else %}
  34.         <div class="ec-headerNav__item">
  35.             <a href="{{ url('entry') }}">
  36.                 <svg id="icon-entry" data-name="" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
  37.                     <path id="" data-name="" class="cls-1" d="M12,4c1.93,0,3.5,1.57,3.5,3.5s-1.57,3.5-3.5,3.5-3.5-1.57-3.5-3.5,1.57-3.5,3.5-3.5m0-1c-2.49,0-4.5,2.01-4.5,4.5s2.01,4.5,4.5,4.5,4.5-2.01,4.5-4.5-2.01-4.5-4.5-4.5"/>
  38.                     <path id="" data-name="" class="cls-1" d="M12,14c3.69,0,6.5,3.01,6.5,4.5-.12,.43-2.22,1.5-6.5,1.5s-6.38-1.07-6.5-1.49c0-1.51,2.81-4.51,6.5-4.51m0-1c-4.14,0-7.5,3.37-7.5,5.51,0,1.47,3.36,2.49,7.5,2.49s7.5-1.02,7.5-2.49c0-2.14-3.36-5.51-7.5-5.51"/>
  39.                 </svg>
  40.             </a>
  41.         </div>
  42.         {% if BaseInfo.option_favorite_product %}
  43.             <div class="ec-headerNav__item">
  44.                 <a href="{{ url('mypage_favorite') }}">
  45.                     <svg id="icon-favorite" data-name="" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
  46.                         <path class="cls-1" d="M12,20.39c-.08,0-.16,0-.24-.01-.67-.06-1.26-.38-1.69-.9l-6.06-7.33c-.87-.95-1.41-2.2-1.51-3.51,0-1.4,.57-2.71,1.56-3.64,1-.95,2.31-1.47,3.69-1.47h.07c1.38,0,2.69,.52,3.69,1.48,.18,.17,.34,.35,.49,.54,.15-.19,.32-.37,.49-.54,2.09-1.96,5.36-1.96,7.45,0h0c.99,.93,1.56,2.24,1.56,3.6-.08,1.35-.63,2.61-1.54,3.57l-6.04,7.31c-.1,.12-.21,.24-.34,.34-.45,.37-1.01,.57-1.59,.57ZM7.76,4.54c-1.13,0-2.2,.43-3.01,1.2-.79,.74-1.24,1.79-1.25,2.87,.09,1.04,.54,2.09,1.27,2.89l6.07,7.35c.25,.31,.62,.5,1.01,.54,.41,.03,.79-.08,1.1-.34,.07-.06,.14-.13,.2-.2l6.06-7.33c.77-.82,1.22-1.85,1.29-2.94,0-1.05-.46-2.1-1.24-2.84-1.7-1.6-4.37-1.6-6.08,0-.29,.28-.54,.6-.75,.96l-.44,.77-.44-.78c-.2-.35-.45-.68-.75-.96-.82-.78-1.93-1.2-3.03-1.2h-.03Z"/>
  47.                     </svg>
  48.                 </a>
  49.             </div>
  50.         {% endif %}
  51.         <div class="ec-headerNav__item">
  52.             <a href="{{ url('mypage_login') }}">
  53.                 <svg id="icon-login" data-name="レイヤー 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
  54.                     <path class="cls-1" d="M11.99,11.95c-1.02-.01-1.92,.66-2.2,1.64-.24,.87,.09,1.8,.81,2.34v2.18h2.78v-2.18c.72-.54,1.05-1.47,.81-2.34-.29-.98-1.19-1.65-2.21-1.64Zm.65,3.27h0l-.26,.14v1.74h-.78v-1.74l-.26-.14c-.49-.26-.73-.83-.59-1.36,.22-.68,.95-1.06,1.63-.84,.4,.13,.72,.44,.84,.84,.14,.54-.1,1.1-.59,1.37Z"/>
  55.                     <path class="cls-1" d="M19.11,8.53h-1.61v-.57c0-3.04-2.46-5.5-5.5-5.5s-5.5,2.46-5.5,5.5v.57h-1.62c-.76,0-1.37,.6-1.38,1.35v10.29c0,.76,.63,1.36,1.38,1.35h14.23c.76,0,1.37-.6,1.38-1.35V9.89c0-.76-.63-1.36-1.39-1.35Zm-11.61-.57c0-2.49,2.01-4.5,4.5-4.5s4.5,2.01,4.5,4.5v.57H7.5v-.57Zm12,12.21h0c0,.21-.18,.36-.38,.35H4.88c-.2,0-.37-.15-.38-.35h0V9.89c0-.2,.18-.36,.38-.35h14.24c.2,0,.37,.15,.38,.35h0v10.29Z"/>
  56.                 </svg>
  57.             </a>
  58.         </div>
  59.     {% endif %}
  60. </div>