app/template/default/index.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. {% extends 'default_frame.twig' %}
  9. {% set body_class = 'front_page' %}
  10. {% set page_class = 'toppage' %}
  11. {% block stylesheet %}
  12.     <link rel="stylesheet" href="{{ asset('ichiro/assets/css/style.css', 'user_data') }}">
  13. {% endblock %}
  14. {% block main %}
  15.     <div class="banner">
  16.         <div class="left">
  17.             <div class="image pc-display">
  18.                 <img src="{{ asset('ichiro/assets/img/maker.png', 'user_data') }}" alt="" />
  19.             </div>
  20.             <h1 class="mv-1">
  21.                 <img src="{{ asset('ichiro/assets/img/mv-1.png', 'user_data') }}" alt="一朗斎" />
  22.             </h1>
  23.         </div>
  24.         <div class="right">
  25.             <div class="image sp-display">
  26.                 <img src="{{ asset('ichiro/assets/img/maker.png', 'user_data') }}" alt="" />
  27.             </div>
  28.             <div class="mv-2">
  29.                 <img src="{{ asset('ichiro/assets/img/mv-2.png', 'user_data') }}" alt="一筆一会をあなたに" />
  30.             </div>
  31.         </div>
  32.     </div>
  33.     <div class="philosophy">
  34.         <div class="title">
  35.             <img src="{{ asset('ichiro/assets/img/philosophy.png', 'user_data') }}" alt="あなただけの企業理念を" />
  36.         </div>
  37.         <p>
  38.             北海道で社会保険労務士事務所に勤務する傍ら、書道家としても活動されている藤渡 一朗が、お客様のご希望された文字を毛筆でお書きします。企業様の想いを受け継ぎ、企業理念や経営理念を達筆な筆遣いで、美しく、魂を込めてお書きいたします。
  39.         </p>
  40.         <div class="kandou">
  41.             <div>
  42.                 <div class="image">
  43.                     <img src="{{ asset('ichiro/assets/img/kandou1.png', 'user_data') }}" alt="" />
  44.                 </div>
  45.                 <div class="image">
  46.                     <img src="{{ asset('ichiro/assets/img/kandou2.png', 'user_data') }}" alt="" />
  47.                 </div>
  48.             </div>
  49.         </div>
  50.     </div>
  51.     <div class="products-list">
  52.         <div class="title">
  53.             <img src="{{ asset('ichiro/assets/img/products-list.png', 'user_data') }}" alt="商品一覧" />
  54.         </div>
  55.         <div class="products-list__wrapper">
  56.             {% for Product in topProducts %}
  57.                 <a class="products-item" href="{{ url('product_detail', {'id': Product.id}) }}">
  58.                     <div class="image">
  59.                         <img src="{{ asset(Product.main_list_image|no_image_product, 'save_image') }}" alt="{{ Product.name }}" {% if loop.index > 5 %} loading="lazy"{% endif %}>
  60.                     </div>
  61.                     <p class="name">
  62.                         <span></span>
  63.                         {{ Product.name }}
  64.                     </p>
  65.                     <p class="price">
  66.                         {% if Product.hasProductClass %}
  67.                             {% if Product.getPrice02Min == Product.getPrice02Max %}
  68.                                 {{ Product.getPrice02IncTaxMin|price }}
  69.                             {% else %}
  70.                                 {{ Product.getPrice02IncTaxMin|price }} ~ {{ Product.getPrice02IncTaxMax|price }}
  71.                             {% endif %}
  72.                         {% else %}
  73.                             {{ Product.getPrice02IncTaxMin|price }}
  74.                         {% endif %}
  75.                     </p>
  76.                 </a>
  77.             {% endfor %}
  78.         </div>
  79.         <div class="btn-more">
  80.             <a href="{{ url('product_list') }}">
  81.                 その他の商品はこちら <i class="fas fa-angle-right"></i>
  82.             </a>
  83.         </div>
  84.     </div>
  85.     <div class="calligrapher">
  86.         <div class="left">
  87.             <div class="image">
  88.                 <img src="{{ asset('ichiro/assets/img/maker.png', 'user_data') }}" alt="" />
  89.             </div>
  90.             <div class="title">
  91.                 <img src="{{ asset('ichiro/assets/img/calligrapher.png', 'user_data') }}" alt="書道家藤渡一朗斎" />
  92.             </div>
  93.         </div>
  94.         <div class="right">
  95.             <p>幼少の頃より、習字にいそしみ、現在は書道家として国内だけでなく海外での活動も視野に入れ活動中。独創的なタッチで描く「一斎流踊書体」の創始者でもある一朗斎は社会保険労務士の側、さまざまな経営者への社是の提供などを行いながら、俗社会にとらわれがちな経営者にあらためて
  96. 日本語の素晴らしき響きや象形に触れ「感性」を養う啓蒙活動「日本語再顕現」を行っている。</p>
  97.         </div>
  98.     </div>
  99.     <div class="news">
  100.         <div class="news-title">
  101.             <img src="{{ asset('ichiro/assets/img/news.png', 'user_data') }}" alt="新着情報" />
  102.         </div>
  103.         <div class="news__wrapper">
  104.             {% for blog in topBlogs %}
  105.                 <a href="{{ url('cm_blog_pro_page_detail', {'id': blog.slug ? blog.slug : blog.id}) }}" class="news-item">
  106.                     <p class="date">{{ blog.release_date|date('Y.m.d')}}</p>
  107.                     <p class="title">{{ blog.getTitle|length > 40 ? blog.getTitle|striptags|replace({('&nbsp;'):' '})|slice(0, 40)|raw ~ '...' : blog.getTitle|raw }}</p>
  108.                 </a>
  109.             {% endfor %}
  110.         </div>
  111.         <div class="btn-more">
  112.             <a href="{{ url('cm_blog_pro_page_list') }}">
  113.                 一覧を見る <i class="fas fa-angle-right"></i>
  114.             </a>
  115.         </div>
  116.     </div>
  117. {% endblock %}