var/cache/dev/twig/8c/8c8908e6c8a7c5efa14cc487b19622e4b6cc1ee0d1f3122ed8640da8d75c5cf3.php line 16

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* index.twig */
  14. class __TwigTemplate_3d351a01732f8b3b2a815e8bc5302f513461e39e9fdce00e82b092da990647c5 extends \Eccube\Twig\Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'stylesheet' => [$this'block_stylesheet'],
  24.             'main' => [$this'block_main'],
  25.         ];
  26.     }
  27.     protected function doGetParent(array $context)
  28.     {
  29.         // line 11
  30.         return "default_frame.twig";
  31.     }
  32.     protected function doDisplay(array $context, array $blocks = [])
  33.     {
  34.         $macros $this->macros;
  35.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""index.twig"));
  37.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""index.twig"));
  39.         // line 13
  40.         $context["body_class"] = "front_page";
  41.         // line 11
  42.         $this->parent $this->loadTemplate("default_frame.twig""index.twig"11);
  43.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  44.         
  45.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  46.         
  47.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  48.     }
  49.     // line 15
  50.     public function block_stylesheet($context, array $blocks = [])
  51.     {
  52.         $macros $this->macros;
  53.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  54.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  55.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  56.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  57.         // line 16
  58.         echo "    <style>
  59.         .slick-slider {
  60.             margin-bottom: 30px;
  61.         }
  62.         .slick-dots {
  63.             position: absolute;
  64.             bottom: -45px;
  65.             display: block;
  66.             width: 100%;
  67.             padding: 0;
  68.             list-style: none;
  69.             text-align: center;
  70.         }
  71.         .slick-dots li {
  72.             position: relative;
  73.             display: inline-block;
  74.             width: 20px;
  75.             height: 20px;
  76.             margin: 0 5px;
  77.             padding: 0;
  78.             cursor: pointer;
  79.         }
  80.         .slick-dots li button {
  81.             font-size: 0;
  82.             line-height: 0;
  83.             display: block;
  84.             width: 20px;
  85.             height: 20px;
  86.             padding: 5px;
  87.             cursor: pointer;
  88.             color: transparent;
  89.             border: 0;
  90.             outline: none;
  91.             background: transparent;
  92.         }
  93.         .slick-dots li button:hover,
  94.         .slick-dots li button:focus {
  95.             outline: none;
  96.         }
  97.         .slick-dots li button:hover:before,
  98.         .slick-dots li button:focus:before {
  99.             opacity: 1;
  100.         }
  101.         .slick-dots li button:before {
  102.             content: \" \";
  103.             line-height: 20px;
  104.             position: absolute;
  105.             top: 0;
  106.             left: 0;
  107.             width: 12px;
  108.             height: 12px;
  109.             text-align: center;
  110.             opacity: .25;
  111.             background-color: black;
  112.             border-radius: 50%;
  113.         }
  114.         .slick-dots li.slick-active button:before {
  115.             opacity: .75;
  116.             background-color: black;
  117.         }
  118.         .slick-dots li button.thumbnail img {
  119.             width: 0;
  120.             height: 0;
  121.         }
  122.     </style>
  123. ";
  124.         
  125.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  126.         
  127.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  128.     }
  129.     // line 118
  130.     public function block_main($context, array $blocks = [])
  131.     {
  132.         $macros $this->macros;
  133.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  134.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  135.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  136.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  137.         // line 119
  138.         echo "    <div class=\"ec-sliderRole\">
  139.         <div class=\"main_visual\">
  140.             <div class=\"main_visual__movie\">
  141.                 <video controls loop autoplay muted playsinline controlsList=\"nodownload nofullscreen\" poster=\"";
  142.         // line 122
  143.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top/movie_thumbnail.jpg"), "html"nulltrue);
  144.         echo "\" src=\"";
  145.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/movie/darcys_main.mp4"), "html"nulltrue);
  146.         echo "\"></video>
  147.             </div>
  148.         </div>
  149.     </div>
  150. ";
  151.         
  152.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  153.         
  154.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  155.     }
  156.     public function getTemplateName()
  157.     {
  158.         return "index.twig";
  159.     }
  160.     public function isTraitable()
  161.     {
  162.         return false;
  163.     }
  164.     public function getDebugInfo()
  165.     {
  166.         return array (  172 => 122,  167 => 119,  157 => 118,  72 => 16,  62 => 15,  51 => 11,  49 => 13,  36 => 11,);
  167.     }
  168.     public function getSourceContext()
  169.     {
  170.         return new Source("{#
  171. This file is part of EC-CUBE
  172. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  173. http://www.ec-cube.co.jp/
  174. For the full copyright and license information, please view the LICENSE
  175. file that was distributed with this source code.
  176. #}
  177. {% extends 'default_frame.twig' %}
  178. {% set body_class = 'front_page' %}
  179. {% block stylesheet %}
  180.     <style>
  181.         .slick-slider {
  182.             margin-bottom: 30px;
  183.         }
  184.         .slick-dots {
  185.             position: absolute;
  186.             bottom: -45px;
  187.             display: block;
  188.             width: 100%;
  189.             padding: 0;
  190.             list-style: none;
  191.             text-align: center;
  192.         }
  193.         .slick-dots li {
  194.             position: relative;
  195.             display: inline-block;
  196.             width: 20px;
  197.             height: 20px;
  198.             margin: 0 5px;
  199.             padding: 0;
  200.             cursor: pointer;
  201.         }
  202.         .slick-dots li button {
  203.             font-size: 0;
  204.             line-height: 0;
  205.             display: block;
  206.             width: 20px;
  207.             height: 20px;
  208.             padding: 5px;
  209.             cursor: pointer;
  210.             color: transparent;
  211.             border: 0;
  212.             outline: none;
  213.             background: transparent;
  214.         }
  215.         .slick-dots li button:hover,
  216.         .slick-dots li button:focus {
  217.             outline: none;
  218.         }
  219.         .slick-dots li button:hover:before,
  220.         .slick-dots li button:focus:before {
  221.             opacity: 1;
  222.         }
  223.         .slick-dots li button:before {
  224.             content: \" \";
  225.             line-height: 20px;
  226.             position: absolute;
  227.             top: 0;
  228.             left: 0;
  229.             width: 12px;
  230.             height: 12px;
  231.             text-align: center;
  232.             opacity: .25;
  233.             background-color: black;
  234.             border-radius: 50%;
  235.         }
  236.         .slick-dots li.slick-active button:before {
  237.             opacity: .75;
  238.             background-color: black;
  239.         }
  240.         .slick-dots li button.thumbnail img {
  241.             width: 0;
  242.             height: 0;
  243.         }
  244.     </style>
  245. {% endblock %}
  246. {#% block javascript %}
  247.     <script>
  248.         \$(function() {
  249.             \$('.main_visual').slick({
  250.                 dots: true,
  251.                 arrows: false,
  252.                 autoplay: true,
  253.                 autoplaySpeed: 2800,
  254.                 speed: 600,
  255.                 fade: true,
  256.                 infinite: true
  257.             });
  258.         });
  259.     </script>
  260. {% endblock javascript %#}
  261. {#% block main %}
  262.     <div class=\"ec-sliderRole\">
  263.         <div class=\"main_visual\">
  264.             {#<div class=\"item slick-slide\"><img src=\"{{ asset('assets/img/top/hero_01_pc.jpg') }}\"></div>
  265.             <div class=\"item slick-slide\"><img src=\"{{ asset('assets/img/top/hero_02_pc.jpg') }}\"></div>
  266.             <div class=\"item slick-slide\"><img src=\"{{ asset('assets/img/top/hero_03_pc.jpg') }}\"></div>
  267.         </div>
  268.     </div>
  269. {% endblock %#}
  270. {% block main %}
  271.     <div class=\"ec-sliderRole\">
  272.         <div class=\"main_visual\">
  273.             <div class=\"main_visual__movie\">
  274.                 <video controls loop autoplay muted playsinline controlsList=\"nodownload nofullscreen\" poster=\"{{ asset('assets/img/top/movie_thumbnail.jpg') }}\" src=\"{{ asset('assets/movie/darcys_main.mp4') }}\"></video>
  275.             </div>
  276.         </div>
  277.     </div>
  278. {% endblock %}""index.twig""/home/offshore2022/test-darcys-factory.xyz/public_html/app/template/default/index.twig");
  279.     }
  280. }