app/template/default/Block/footer.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. <script >
  9.     const mobi_platform = localStorage.getItem('mobi_platform');
  10.     if (mobi_platform) {
  11.         setTimeout(() => {
  12.             document.querySelector('#app-footer').classList.remove('hide-app-footer');
  13.         }, 100);
  14.     }
  15. </script>
  16. <link rel="stylesheet" href="{{ asset('assets/css/app_footer.css', 'user_data') }}">
  17. <div  class="ec-footerRole">
  18.     <div class="ec-footerRole__inner">
  19.         <ul class="ec-footerNavi">
  20.             <li class="ec-footerNavi__link">
  21.                 <a href="{{ url('help_guide') }}">{{ 'ご利用ガイド'|trans }}</a>
  22.             </li>
  23.             <li class="ec-footerNavi__link">
  24.                 <a href="{{ url('contact') }}">{{ 'お問い合わせ'|trans }}</a>
  25.             </li>
  26.             <li class="ec-footerNavi__link">
  27.                 <a href="{{ url('help_privacy') }}">{{ 'プライバシーポリシー'|trans }}</a>
  28.             </li>
  29.             <li class="ec-footerNavi__link">
  30.                 <a href="{{ url('help_tradelaw') }}">{{ '特定商取引法に基づく表記'|trans }}</a>
  31.             </li>
  32.         </ul>
  33.         {% if is_granted('ROLE_USER') %}
  34.             {% if 'generatebelmony.com' in app.user.email %}
  35.                 <div class="bg_popup_update_email" style="position: fixed;
  36.                                                               top: 0;
  37.                                                               left: 0;
  38.                                                               width: 100%;
  39.                                                               height: 100%;
  40.                                                               z-index: 9999;
  41.                                                               background: rgba(0, 0, 0, 0.4); display: none;"></div>
  42.                 <div class="popup_update_email" style=" position: fixed;
  43.                                                            top: 20%;
  44.                                                            left: 50%;
  45.                                                            transform: translate(-50%, 0);
  46.                                                            z-index: 99999;
  47.                                                            max-width: 500px;
  48.                                                            width: 95%;
  49.                                                            /*height: auto;*/
  50.                                                            background: #fff;
  51.                                                            display: none;">
  52.                     <div style="height: 100%;
  53.                         display: flex;
  54.                         flex-direction: column;
  55.                         justify-content: center;
  56.                         min-height: 330px;
  57.                         padding: 30px;">
  58.                         <p style="margin-bottom: 20px;">購入手続きを進めるにはアカウントにメールアドレスを登録してください。</p>
  59.                         <button type="button" class="ec-blockBtn gotomypage" style="background: #ff9900; color: #fff;border-radius: 30px;margin-top: 35px;">マイページへ</button>
  60.                         <button type="button" class="ec-blockBtn closePopupEmail" style="margin-top: 10px;background: #e06666; color: #fff;border-radius: 30px;">閉じる</button>
  61.                     </div>
  62.                 </div>
  63.             {% endif %}
  64.         {% endif %}
  65.         <div class="ec-footerTitle">
  66.             <div class="ec-footerTitle__logo">
  67.                 <a href="{{ url('homepage') }}">
  68.                 べるのわマーケット
  69.                 </a>
  70.             </div>
  71.             <div class="ec-footerTitle__copyright">copyright (c) {{ BaseInfo.shop_name }} all rights reserved.</div>
  72.         </div>
  73.     </div>
  74. </div>
  75. <div id="app-footer" class=" hide-app-footer ec_custom_app_footer footer fixed bottom-custom-point z-50 px-8 flex justify-between items-center h-10vh w-screen bg-white text-2xl font-bold shadow-footer">
  76.     <!--OFF home-->
  77.     <a class="w-1/6 flex justify-center" href="{{ SYNC_URL  }}">
  78.         <button class="home_button_box flex flex-col justify-center items-center text-[#969696]">
  79.             <img alt="ホーム" src="{{ SYNC_URL }}/static/images/home-off-icon.png" class="w-16 h-14">
  80.             <p class="text-center">ホーム</p>
  81.         </button>
  82.     </a>
  83.     <!--OFF coupon-->
  84.     <a class="w-1/6 flex check-login justify-center custom_ecc_coupon" href="{{ SYNC_URL  }}/coupons">
  85.         <button class="home_button_box flex flex-col justify-center items-center text-[#969696]">
  86.             <img alt="クーポン" src="{{ SYNC_URL  }}/static/images/coupon-icon.png" class="w-16 h-10" style="">
  87.             <p class="text-center">クーポン</p>
  88.         </button>
  89.     </a>
  90.     <!--OFF event-->
  91.     <a class="w-1/6 flex  check-login justify-center " href="{{ SYNC_URL  }}/events">
  92.         <button class="home_button_box flex flex-col justify-center items-center text-[#969696]">
  93.             <img src="{{ SYNC_URL  }}/static/images/event-icon.png" class="w-[60px] h-14" alt="イベント">
  94.             <p class="text-center">イベント</p>
  95.         </button>
  96.     </a>
  97.     <!--ON shopping-->
  98.     <a class="w-1/6 flex justify-center">
  99.         <button class="home_button_box flex flex-col justify-center items-center text-[#969696]">
  100.             <img alt="お買い物" src="{{ SYNC_URL }}/static/images/footer_menu2.png" class="w-16 h-14">
  101.             <p class="text-center" style="color: #ef7800;">お買い物</p>
  102.         </button>
  103.     </a>
  104.     <!--OFF mypage-->
  105.     <a class="w-1/6 flex justify-center check-login " href="{{ SYNC_URL  }}/mypage">
  106.         <button class="home_button_box flex flex-col justify-center items-center text-[#969696]">
  107.             <img alt="マイページ" src="{{ SYNC_URL  }}/static/images/my-page-icon.png" class="w-12 h-14">
  108.             <p class="text-center">マイページ</p>
  109.         </button>
  110.     </a>
  111. </div>