var/cache/dev/twig/81/8178bb7903364039825917cdb254f70ed1c42cfa37956e2a7980242205493809.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_cd5edf3afcf44b15f3c615324f7e57df7fe3468a584e2bf971e0ad3b63130710 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.             'javascript' => [$this'block_javascript'],
  25.             'main' => [$this'block_main'],
  26.         ];
  27.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  28.         $this->checkSecurity();
  29.     }
  30.     protected function doGetParent(array $context)
  31.     {
  32.         // line 11
  33.         return "default_frame.twig";
  34.     }
  35.     protected function doDisplay(array $context, array $blocks = [])
  36.     {
  37.         $macros $this->macros;
  38.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  39.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""index.twig"));
  40.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  41.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""index.twig"));
  42.         // line 13
  43.         $context["body_class"] = "front_page";
  44.         // line 11
  45.         $this->parent $this->loadTemplate("default_frame.twig""index.twig"11);
  46.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  47.         
  48.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  49.         
  50.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  51.     }
  52.     // line 15
  53.     public function block_stylesheet($context, array $blocks = [])
  54.     {
  55.         $macros $this->macros;
  56.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  57.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  58.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  59.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  60.         // line 16
  61.         echo "    <style>
  62.         .slick-slider {
  63.             margin-bottom: 30px;
  64.         }
  65.         .slick-dots {
  66.             position: absolute;
  67.             bottom: -45px;
  68.             display: block;
  69.             width: 100%;
  70.             padding: 0;
  71.             list-style: none;
  72.             text-align: center;
  73.         }
  74.         .slick-dots li {
  75.             position: relative;
  76.             display: inline-block;
  77.             width: 20px;
  78.             height: 20px;
  79.             margin: 0 5px;
  80.             padding: 0;
  81.             cursor: pointer;
  82.         }
  83.         .slick-dots li button {
  84.             font-size: 0;
  85.             line-height: 0;
  86.             display: block;
  87.             width: 20px;
  88.             height: 20px;
  89.             padding: 5px;
  90.             cursor: pointer;
  91.             color: transparent;
  92.             border: 0;
  93.             outline: none;
  94.             background: transparent;
  95.         }
  96.         .slick-dots li button:hover,
  97.         .slick-dots li button:focus {
  98.             outline: none;
  99.         }
  100.         .slick-dots li button:hover:before,
  101.         .slick-dots li button:focus:before {
  102.             opacity: 1;
  103.         }
  104.         .slick-dots li button:before {
  105.             content: \" \";
  106.             line-height: 20px;
  107.             position: absolute;
  108.             top: 0;
  109.             left: 0;
  110.             width: 12px;
  111.             height: 12px;
  112.             text-align: center;
  113.             opacity: .25;
  114.             background-color: black;
  115.             border-radius: 50%;
  116.         }
  117.         .slick-dots li.slick-active button:before {
  118.             opacity: .75;
  119.             background-color: black;
  120.         }
  121.         .slick-dots li button.thumbnail img {
  122.             width: 0;
  123.             height: 0;
  124.         }
  125.     </style>
  126. ";
  127.         
  128.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  129.         
  130.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  131.     }
  132.     // line 93
  133.     public function block_javascript($context, array $blocks = [])
  134.     {
  135.         $macros $this->macros;
  136.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  137.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  138.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  139.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  140.         // line 94
  141.         echo "    <script>
  142.         \$(function() {
  143.             \$('.main_visual').slick({
  144.                 dots: true,
  145.                 arrows: false,
  146.                 autoplay: true,
  147. \t\t\t\tinfinite: true,
  148. \t\t\t\tslidesToShow: 1,
  149. \t\t\t\tslidesToScroll: 1,
  150.                 speed: 300,
  151. \t\t\t\tasNavFor: '.thumb-item-nav'
  152.             });
  153. \t\t\t\$('.thumb-item-nav').slick({
  154. \t\t\t\taccessibility: true,
  155. \t\t\t\tarrows: false,
  156. \t\t\t\tautoplay: true,
  157. \t\t\t\tspeed: 300,
  158. \t\t\t\tinfinite: true,
  159. \t\t\t\tslidesToShow: 3,
  160. \t\t\t\tslidesToScroll: 1,
  161. \t\t\t\tasNavFor: '.thumb-item',
  162. \t\t\t\tfocusOnSelect: false,
  163. \t\t\t\tvariableWidth: true
  164. \t\t\t});
  165.         });
  166.     </script>
  167. ";
  168.         
  169.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  170.         
  171.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  172.     }
  173.     // line 122
  174.     public function block_main($context, array $blocks = [])
  175.     {
  176.         $macros $this->macros;
  177.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  178.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  179.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  180.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  181.         // line 123
  182.         echo "\t<div id=\"topFast\">
  183. \t\t\t<div id=\"keyimage\">
  184. \t\t\t\t<div class=\"ec-sliderRole\">
  185. \t\t\t\t\t<div class=\"main_visual\">
  186. \t\t\t\t\t\t<div class=\"item slick-slide\"><img src=\"";
  187.         // line 127
  188.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top/slider1.png"), "html"nulltrue);
  189.         echo "\" alt=\"\"></div>
  190. \t\t\t\t\t\t<div class=\"item slick-slide\"><img src=\"";
  191.         // line 128
  192.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top/slider2.png"), "html"nulltrue);
  193.         echo "\" alt=\"\"></div>
  194. \t\t\t\t\t\t<div class=\"item slick-slide\"><img src=\"";
  195.         // line 129
  196.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top/slider3.png"), "html"nulltrue);
  197.         echo "\" alt=\"\"></div>
  198. \t\t\t\t\t</div>
  199. \t\t\t\t</div>
  200. \t\t\t</div><!-- #keyimage -->
  201. \t\t\t<div class=\"top-info\">
  202. \t\t\t\t<div class=\"top-info_inner\">
  203. \t\t\t\t\t<div class=\"spnone\">
  204. \t\t\t\t\t\t<h2>気がつけば、<br>いつもここ</h2>
  205. \t\t\t\t\t\t<p>AKRacing & Tsubasa Honda</p>
  206. \t\t\t\t\t\t<div class=\"slider thumb-item-nav\">
  207. \t\t\t\t\t\t\t<div class=\"item slick-slide\"></div>
  208. \t\t\t\t\t\t\t<div class=\"item slick-slide\"></div>
  209. \t\t\t\t\t\t\t<div class=\"item slick-slide\"></div>
  210. \t\t\t\t\t\t</div>
  211. \t\t\t\t\t</div>
  212. \t\t\t\t\t<div class=\"pcnone\">
  213. \t\t\t\t\t\t<h2>
  214. \t\t\t\t\t\t\t<img src=\"";
  215.         // line 146
  216.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top/top_title.png"), "html"nulltrue);
  217.         echo "\" alt=\"気がつけば、いつもここ\">
  218. \t\t\t\t\t\t</h2>
  219. \t\t\t\t\t</div>
  220. \t\t\t\t</div>
  221. \t\t\t</div><!-- top-info -->
  222. \t</div><!-- #topFast -->
  223. \t<div id=\"top-side\">
  224. \t\t\t<ul class=\"ak-sns-icon\">
  225. \t\t\t\t<li><a href=\"https://twitter.com/AKRacingJapan\" target=\"_blank\"><i class=\"fab fa-twitter\"></i></a></li>
  226. \t\t\t\t<li><a href=\"https://www.youtube.com/channel/UC3IfqphfSpYgHY-x_PA8oqw\" target=\"_blank\"><i class=\"fab fa-youtube\"></i></a></li>
  227. \t\t\t\t<li><img src=\"";
  228.         // line 157
  229.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top/Social.png"), "html"nulltrue);
  230.         echo "\" alt=\"\"></li>
  231. \t\t\t</ul>
  232. \t\t\t<p class=\"scroll\"><img src=\"";
  233.         // line 159
  234.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top/scroll.png"), "html"nulltrue);
  235.         echo "\" alt=\"\"></p>
  236. \t</div>
  237. ";
  238.         
  239.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  240.         
  241.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  242.     }
  243.     public function getTemplateName()
  244.     {
  245.         return "index.twig";
  246.     }
  247.     public function isTraitable()
  248.     {
  249.         return false;
  250.     }
  251.     public function getDebugInfo()
  252.     {
  253.         return array (  269 => 159,  264 => 157,  250 => 146,  230 => 129,  226 => 128,  222 => 127,  216 => 123,  206 => 122,  170 => 94,  160 => 93,  75 => 16,  65 => 15,  54 => 11,  52 => 13,  39 => 11,);
  254.     }
  255.     public function getSourceContext()
  256.     {
  257.         return new Source("{#
  258. This file is part of EC-CUBE
  259. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  260. http://www.ec-cube.co.jp/
  261. For the full copyright and license information, please view the LICENSE
  262. file that was distributed with this source code.
  263. #}
  264. {% extends 'default_frame.twig' %}
  265. {% set  body_class = 'front_page' %}
  266. {% block stylesheet %}
  267.     <style>
  268.         .slick-slider {
  269.             margin-bottom: 30px;
  270.         }
  271.         .slick-dots {
  272.             position: absolute;
  273.             bottom: -45px;
  274.             display: block;
  275.             width: 100%;
  276.             padding: 0;
  277.             list-style: none;
  278.             text-align: center;
  279.         }
  280.         .slick-dots li {
  281.             position: relative;
  282.             display: inline-block;
  283.             width: 20px;
  284.             height: 20px;
  285.             margin: 0 5px;
  286.             padding: 0;
  287.             cursor: pointer;
  288.         }
  289.         .slick-dots li button {
  290.             font-size: 0;
  291.             line-height: 0;
  292.             display: block;
  293.             width: 20px;
  294.             height: 20px;
  295.             padding: 5px;
  296.             cursor: pointer;
  297.             color: transparent;
  298.             border: 0;
  299.             outline: none;
  300.             background: transparent;
  301.         }
  302.         .slick-dots li button:hover,
  303.         .slick-dots li button:focus {
  304.             outline: none;
  305.         }
  306.         .slick-dots li button:hover:before,
  307.         .slick-dots li button:focus:before {
  308.             opacity: 1;
  309.         }
  310.         .slick-dots li button:before {
  311.             content: \" \";
  312.             line-height: 20px;
  313.             position: absolute;
  314.             top: 0;
  315.             left: 0;
  316.             width: 12px;
  317.             height: 12px;
  318.             text-align: center;
  319.             opacity: .25;
  320.             background-color: black;
  321.             border-radius: 50%;
  322.         }
  323.         .slick-dots li.slick-active button:before {
  324.             opacity: .75;
  325.             background-color: black;
  326.         }
  327.         .slick-dots li button.thumbnail img {
  328.             width: 0;
  329.             height: 0;
  330.         }
  331.     </style>
  332. {% endblock %}
  333. {% block javascript %}
  334.     <script>
  335.         \$(function() {
  336.             \$('.main_visual').slick({
  337.                 dots: true,
  338.                 arrows: false,
  339.                 autoplay: true,
  340. \t\t\t\tinfinite: true,
  341. \t\t\t\tslidesToShow: 1,
  342. \t\t\t\tslidesToScroll: 1,
  343.                 speed: 300,
  344. \t\t\t\tasNavFor: '.thumb-item-nav'
  345.             });
  346. \t\t\t\$('.thumb-item-nav').slick({
  347. \t\t\t\taccessibility: true,
  348. \t\t\t\tarrows: false,
  349. \t\t\t\tautoplay: true,
  350. \t\t\t\tspeed: 300,
  351. \t\t\t\tinfinite: true,
  352. \t\t\t\tslidesToShow: 3,
  353. \t\t\t\tslidesToScroll: 1,
  354. \t\t\t\tasNavFor: '.thumb-item',
  355. \t\t\t\tfocusOnSelect: false,
  356. \t\t\t\tvariableWidth: true
  357. \t\t\t});
  358.         });
  359.     </script>
  360. {% endblock javascript %}
  361. {% block main %}
  362. \t<div id=\"topFast\">
  363. \t\t\t<div id=\"keyimage\">
  364. \t\t\t\t<div class=\"ec-sliderRole\">
  365. \t\t\t\t\t<div class=\"main_visual\">
  366. \t\t\t\t\t\t<div class=\"item slick-slide\"><img src=\"{{ asset('assets/img/top/slider1.png') }}\" alt=\"\"></div>
  367. \t\t\t\t\t\t<div class=\"item slick-slide\"><img src=\"{{ asset('assets/img/top/slider2.png') }}\" alt=\"\"></div>
  368. \t\t\t\t\t\t<div class=\"item slick-slide\"><img src=\"{{ asset('assets/img/top/slider3.png') }}\" alt=\"\"></div>
  369. \t\t\t\t\t</div>
  370. \t\t\t\t</div>
  371. \t\t\t</div><!-- #keyimage -->
  372. \t\t\t<div class=\"top-info\">
  373. \t\t\t\t<div class=\"top-info_inner\">
  374. \t\t\t\t\t<div class=\"spnone\">
  375. \t\t\t\t\t\t<h2>気がつけば、<br>いつもここ</h2>
  376. \t\t\t\t\t\t<p>AKRacing & Tsubasa Honda</p>
  377. \t\t\t\t\t\t<div class=\"slider thumb-item-nav\">
  378. \t\t\t\t\t\t\t<div class=\"item slick-slide\"></div>
  379. \t\t\t\t\t\t\t<div class=\"item slick-slide\"></div>
  380. \t\t\t\t\t\t\t<div class=\"item slick-slide\"></div>
  381. \t\t\t\t\t\t</div>
  382. \t\t\t\t\t</div>
  383. \t\t\t\t\t<div class=\"pcnone\">
  384. \t\t\t\t\t\t<h2>
  385. \t\t\t\t\t\t\t<img src=\"{{ asset('assets/img/top/top_title.png') }}\" alt=\"気がつけば、いつもここ\">
  386. \t\t\t\t\t\t</h2>
  387. \t\t\t\t\t</div>
  388. \t\t\t\t</div>
  389. \t\t\t</div><!-- top-info -->
  390. \t</div><!-- #topFast -->
  391. \t<div id=\"top-side\">
  392. \t\t\t<ul class=\"ak-sns-icon\">
  393. \t\t\t\t<li><a href=\"https://twitter.com/AKRacingJapan\" target=\"_blank\"><i class=\"fab fa-twitter\"></i></a></li>
  394. \t\t\t\t<li><a href=\"https://www.youtube.com/channel/UC3IfqphfSpYgHY-x_PA8oqw\" target=\"_blank\"><i class=\"fab fa-youtube\"></i></a></li>
  395. \t\t\t\t<li><img src=\"{{ asset('assets/img/top/Social.png') }}\" alt=\"\"></li>
  396. \t\t\t</ul>
  397. \t\t\t<p class=\"scroll\"><img src=\"{{ asset('assets/img/top/scroll.png') }}\" alt=\"\"></p>
  398. \t</div>
  399. {% endblock %}
  400. \t\t\t\t\t
  401. \t\t\t\t\t""index.twig""/home/akracing/www/akracing.dev/app/template/akracing/index.twig");
  402.     }
  403.     
  404.     public function checkSecurity()
  405.     {
  406.         static $tags = array("set" => 13);
  407.         static $filters = array("escape" => 127);
  408.         static $functions = array("asset" => 127);
  409.         try {
  410.             $this->sandbox->checkSecurity(
  411.                 ['set'],
  412.                 ['escape'],
  413.                 ['asset']
  414.             );
  415.         } catch (SecurityError $e) {
  416.             $e->setSourceContext($this->source);
  417.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  418.                 $e->setTemplateLine($tags[$e->getTagName()]);
  419.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  420.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  421.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  422.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  423.             }
  424.             throw $e;
  425.         }
  426.     }
  427. }