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. {% block stylesheet %}
  11.     <link rel="stylesheet" href="{{ asset('assets/css/home.css', 'user_data') }}">
  12. {% endblock %}
  13. {% block javascript %}
  14.     <script src="{{ asset('assets/js/slick.js', 'user_data') }}"></script>
  15.     <script>
  16.         $(function() {
  17.             $('.main_visual').slick({
  18.                 dots: false,
  19.                 arrows: true,
  20.                 autoplay: true,
  21.                 speed: 500,
  22.                 cssEase: "linear",
  23.                 rtl: true,
  24.                 autoplaySpeed: 4500,
  25.                 centerMode: true,
  26.                 centerPadding: "8%",
  27.                 slidesToShow: 3,
  28.                 responsive: [
  29.                     {breakpoint: 768,settings: {
  30.                         slidesToShow: 1,
  31.                         centerPadding: "50px",
  32.                     },
  33.                     },
  34.                 ],
  35.             });
  36.         });
  37.     </script>
  38. {% endblock javascript %}
  39. {% block main %}
  40. {% endblock %}