app/template/default/Block/category.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-categoryRole">
  9.     <div class="ec-role">
  10.         <div class="ec-secHeading">
  11.             <span class="ec-secHeading__en">{{ 'CATEGORY'|trans }}</span>
  12.             <span class="ec-secHeading__line"></span>
  13.             <span class="ec-secHeading__ja">{{ 'カテゴリ'|trans }}</span>
  14.         </div>
  15.         <div class="ec-categoryRole__list">
  16.             <div class="ec-categoryRole__listItem">
  17.                 <a href="{{ url('product_list') }}?category_id=2">
  18.                     <img src="{{ asset('assets/img/top/cat_1.jpg') }}">
  19.                 </a>
  20.             </div>
  21.             <div class="ec-categoryRole__listItem">
  22.                 <a href="{{ url('product_list') }}?category_id=5">
  23.                     <img src="{{ asset('assets/img/top/cat_2.jpg') }}">
  24.                 </a>
  25.             </div>
  26.             <div class="ec-categoryRole__listItem">
  27.                 <a href="{{ url('product_list') }}?category_id=11">
  28.                     <img src="{{ asset('assets/img/top/cat_3.jpg') }}">
  29.                 </a>
  30.             </div>
  31.              <div class="ec-categoryRole__listItem">
  32.                 <a href="{{ url('product_list') }}?category_id=22">
  33.                     <img src="{{ asset('assets/img/top/cat_4.jpg') }}">
  34.                 </a>
  35.             </div>
  36.         </div>
  37.         <div class="ec-categoryRole__list">
  38.             <div class="ec-categoryRole__listItem">
  39.                 <a href="{{ url('product_list') }}?category_id=15">
  40.                     <img src="{{ asset('assets/img/top/cat_5.jpg') }}">
  41.                 </a>
  42.             </div>
  43.             <div class="ec-categoryRole__listItem">
  44.                 <a href="{{ url('product_list') }}?category_id=20">
  45.                     <img src="{{ asset('assets/img/top/cat_6.jpg') }}">
  46.                 </a>
  47.             </div>
  48.             <div class="ec-categoryRole__listItem">
  49.                 <a href="{{ url('product_list') }}?category_id=18">
  50.                     <img src="{{ asset('assets/img/top/cat_7.jpg') }}">
  51.                 </a>
  52.             </div>
  53.              <div class="ec-categoryRole__listItem">
  54.                 <a href="{{ url('product_list') }}?category_id=19">
  55.                     <img src="{{ asset('assets/img/top/cat_8.jpg') }}">
  56.                 </a>
  57.             </div>
  58.         </div>
  59.     </div>
  60. </div>