app/template/default/index.twig line 1

Open in your IDE?
  1. {% extends 'default_frame.twig' %}
  2. {% set body_class = 'preload' %}
  3. {% block stylesheet %}
  4.     <link rel="stylesheet" href="{{ asset('assets/css/top.css', 'user_data') }}">
  5. {% endblock %}
  6. {% block javascript %}
  7. {% endblock javascript %}
  8. {% block main %}
  9.     <div class="common-bg">
  10.         <div class="content__wrapper">
  11.             <section class="content01">
  12.                 <div class="h__ttl">What’s bichiku Onigiri</div>
  13.                 <div class="content01__ttl__under">特許出願中</div>
  14.                 <h2 class="h__ttl02">保存料不使用の備蓄おにぎり</h2>
  15.                 <p class="content__txt">
  16.                     震災が多いここ日本で、<br class="br__sp">
  17.                     安心安全な商品を届けたい。<br>
  18.                     そんな想いから5年の常温保存を可能にした<br>備蓄おにぎりは誕生しました。
  19.                 </p>
  20.                 <img src="{{ asset('assets/img/top/content01__img.png', 'user_data') }}" alt="" class="content01__img01">
  21.                 <div class="content01__content__wrap content01__content__wrap-sp">
  22.                     <ul class="content01__content" id="top__content01__slider">
  23.                         <li class="content01__content-item">
  24.                             <div class="tr">
  25.                                 <img src="{{ asset('assets/img/top/tr.svg', 'user_data') }}" alt="">
  26.                                 <div class="tr__txt">水不要<br>調理不要で<br>食べられます</div>
  27.                             </div>
  28.                             <div class="content01__content-item__txt">加熱などの調理や水が不要のため緊急時にも困りません。開封後すぐお召し上がりいただけます。</div>
  29.                         </li>
  30.                         <li class="content01__content-item">
  31.                             <div class="tr">
  32.                                 <img src="{{ asset('assets/img/top/tr.svg', 'user_data') }}" alt="">
  33.                                 <div class="tr__txt">保存料<br>不使用</div>
  34.                             </div>
  35.                             <div class="content01__content-item__txt">保存料は一切使用しておりません。安心してお召し上がりになれます。</div>
  36.                         </li>
  37.                         <li class="content01__content-item">
  38.                             <div class="tr">
  39.                                 <img src="{{ asset('assets/img/top/tr.svg', 'user_data') }}" alt="">
  40.                                 <div class="tr__txt">5年<br>保存可能</div>
  41.                             </div>
  42.                             <div class="content01__content-item__txt">直射日光・高温多湿の場所を避ければ、常温での保存も可能です。</div>
  43.                         </li>
  44.                         <li class="content01__content-item">
  45.                             <div class="tr">
  46.                                 <img src="{{ asset('assets/img/top/tr.svg', 'user_data') }}" alt="">
  47.                                 <div class="tr__txt">常温で<br>保存可能</div>
  48.                             </div>
  49.                             <div class="content01__content-item__txt">加熱などの調理や水が不要のため緊急時にも困りません。開封後すぐお召し上がりいただけます。</div>
  50.                         </li>
  51.                     </ul>
  52.                     <div class="slide-arrow__wrap">
  53.                         <div class="mv__arrow-l"><img src="{{ asset('assets/img/allow-l.svg', 'user_data') }}" alt=""></div>
  54.                         <div class="mv__arrow-r"><img src="{{ asset('assets/img/allow-r.svg', 'user_data') }}" alt=""></div>
  55.                     </div>
  56.                 </div>
  57.                 <div class="content01__content__wrap content01__content__wrap-pc">
  58.                     <ul class="content01__content">
  59.                         <li class="content01__content-item">
  60.                             <div class="tr">
  61.                                 <img src="{{ asset('assets/img/top/tr.svg', 'user_data') }}" alt="">
  62.                                 <div class="tr__txt">5年<br>保存可能</div>
  63.                             </div>
  64.                             <div class="content01__content-item__txt">直射日光・高温多湿の場所を避ければ、常温での保存も可能です。</div>
  65.                         </li>
  66.                         <li class="content01__content-item">
  67.                             <div class="tr">
  68.                                 <img src="{{ asset('assets/img/top/tr.svg', 'user_data') }}" alt="">
  69.                                 <div class="tr__txt">常温で<br>保存可能</div>
  70.                             </div>
  71.                             <div class="content01__content-item__txt">加熱などの調理や水が不要のため緊急時にも困りません。開封後すぐお召し上がりいただけます。</div>
  72.                         </li>
  73.                         <li class="content01__content-item">
  74.                             <div class="tr">
  75.                                 <img src="{{ asset('assets/img/top/tr.svg', 'user_data') }}" alt="">
  76.                                 <div class="tr__txt">水不要<br>調理不要で<br>食べられます</div>
  77.                             </div>
  78.                             <div class="content01__content-item__txt">加熱などの調理や水が不要のため緊急時にも困りません。開封後すぐお召し上がりいただけます。</div>
  79.                         </li>
  80.                         <li class="content01__content-item">
  81.                             <div class="tr">
  82.                                 <img src="{{ asset('assets/img/top/tr.svg', 'user_data') }}" alt="">
  83.                                 <div class="tr__txt">保存料<br>不使用</div>
  84.                             </div>
  85.                             <div class="content01__content-item__txt">保存料は一切使用しておりません。安心してお召し上がりになれます。</div>
  86.                         </li>
  87.                     </ul>
  88.                 </div>
  89.                 <div class="common__btn"><a href="{{ url('product_about') }}">商品について詳しく見る</a></div>
  90.             </section>
  91.             <section class="content02">
  92.                 <div class="content02__inner">
  93.                     {#
  94.                     <div class="h__ttl">{{ 'Category'|trans }}</div>
  95.                     <h2 class="h__ttl02">{{ '商品カテゴリー'|trans }}</h2>
  96.                     <div class="content02__img__wrap">
  97.                         {% set Categories = repository('Eccube\\Entity\\Category').getList() %}
  98.                         {% for Category in Categories %}
  99.                             <div class="content02__img {% if loop.index > 1 %}content02__img02{% endif %}">
  100.                                 <a href="{{ url('product_list') }}?category_id={{ Category.id }}">
  101.                                     <img src="{{ asset('assets/img/top/content02__img01.png', 'user_data') }}" alt="">
  102.                                     <div class="content02__img__txt">{{ Category.name }}</div>
  103.                                 </a>
  104.                             </div>
  105.                         {% endfor %}
  106.                     </div>
  107.                     #}
  108.                     <h3 class="content02__ttl02">特殊製法で<br class="br__sp">保存料不使用なのに<br class="br__sp">長期保存可能!</h3>
  109.                     <div class="video__wrap"><video src="{{ asset('assets/img/top/video01.mp4', 'user_data') }}" muted playsinline controls></video></div>
  110.                     <div class="content02__txt02">動画はイメージです。<br>
  111.                         開封後は賞味期限にかかわらず、<br class="br__sp">お早めにお召し上がりください。</div>
  112.                     <div class="common__btn"><a href="{{ url('product_list') }}">全ての商品を見る</a></div>
  113.                     <div class="content02__under__box">
  114.                         <h3 class="content02__under__ttl">大規模施設などの<br class="br__sp">大型発注について</h3>
  115.                         <p class="content02__under__txt">弊社では、大型施設や行政などの大型発注も承っております。<br>
  116.                             100箱以上の発注に関しては別途お問い合わせください。</p>
  117.                         <div class="common__btn"><a href="{{ url('contact') }}">{{ 'お問い合わせ'|trans }}</a></div>
  118.                     </div>
  119.                 </div>
  120.             </section>
  121.             <section class="content03">
  122.                 <div class="content03__inner">
  123.                     {% set Products = repository('Eccube\\Entity\\Product').findBy({ Status: 1 }, { create_date: 'desc' }, 5) %}
  124.                     <div class="h__ttl">{{ 'New Item'|trans }}</div>
  125.                     <h2 class="h__ttl02">{{ '新商品'|trans }}</h2>
  126.                     <div class="content03__slider__wrap">
  127.                         <ul class="content03__slider" id="top__content03__slider">
  128.                             {% for Product in Products %}
  129.                                 <li class="content03__slider-item">
  130.                                     <a href="{{ url('product_detail', {'id': Product.id}) }}">
  131.                                         <img src="{{ asset(Product.main_list_image|no_image_product, 'save_image') }}" alt="{{ Product.name }}" {% if loop.index > 5 %} loading="lazy"{% endif %}>
  132.                                         <div class="content03__slider__name">{{ Product.name }}</div>
  133.                                         <div class="content03__slider__price">
  134.                                             {% if Product.hasProductClass -%}
  135.                                                 {% if Product.getPrice02IncTaxMin == Product.getPrice02IncTaxMax %}
  136.                                                     {{ Product.getPrice02IncTaxMin|price }}
  137.                                                 {% else %}
  138.                                                     {{ Product.getPrice02IncTaxMin|price }} ~ {{ Product.getPrice02IncTaxMax|price }}
  139.                                                 {% endif %}
  140.                                             {% else %}
  141.                                                 {{ Product.getPrice02IncTaxMin|price }}
  142.                                             {% endif %}
  143.                                             (税込)
  144.                                         </div>
  145.                                     </a>
  146.                                 </li>
  147.                             {% endfor %}
  148.                         </ul>
  149.                     </div>
  150.                     <div class="common__btn"><a href="{{ url('product_list') }}">商品一覧を見る</a></div>
  151.                 </div>
  152.             </section>
  153.             {% set NewsList = repository('Eccube\\Entity\\News').getList() %}
  154.             <section class="content04">
  155.                 <div class="h__ttl">{{ 'News'|trans }}</div>
  156.                 <h2 class="h__ttl02">{{ '新着情報'|trans }}</h2>
  157.                 <ul class="content04__list">
  158.                     {% for News in NewsList %}
  159.                         <li>
  160.                             <div class="content04__list__ttl__wrap">
  161.                                 <time datetime="" class="content04__list__time">{{ News.publish_date|date_day }}</time>
  162.                                 <div class="content04__list__ttl">{{ News.title }}</div>
  163.                             </div>
  164.                             <div class="content04__list__info">
  165.                                 {{ News.description|raw|nl2br }}
  166.                                 {% if News.url %}
  167.                                     <br>
  168.                                     <a href="{{ News.url }}" {% if News.link_method == '1' %}target="_blank"{% endif %}>{{ '詳しくはこちら'|trans }}</a>
  169.                                 {% endif %}
  170.                             </div>
  171.                         </li>
  172.                     {% endfor %}
  173.                 </ul>
  174.             </section>
  175.         </div>
  176.     </div>
  177. {% endblock %}