<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* index.twig */
class __TwigTemplate_cd5edf3afcf44b15f3c615324f7e57df7fe3468a584e2bf971e0ad3b63130710 extends \Eccube\Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'stylesheet' => [$this, 'block_stylesheet'],
'javascript' => [$this, 'block_javascript'],
'main' => [$this, 'block_main'],
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doGetParent(array $context)
{
// line 11
return "default_frame.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "index.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "index.twig"));
// line 13
$context["body_class"] = "front_page";
// line 11
$this->parent = $this->loadTemplate("default_frame.twig", "index.twig", 11);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 15
public function block_stylesheet($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheet"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheet"));
// line 16
echo " <style>
.slick-slider {
margin-bottom: 30px;
}
.slick-dots {
position: absolute;
bottom: -45px;
display: block;
width: 100%;
padding: 0;
list-style: none;
text-align: center;
}
.slick-dots li {
position: relative;
display: inline-block;
width: 20px;
height: 20px;
margin: 0 5px;
padding: 0;
cursor: pointer;
}
.slick-dots li button {
font-size: 0;
line-height: 0;
display: block;
width: 20px;
height: 20px;
padding: 5px;
cursor: pointer;
color: transparent;
border: 0;
outline: none;
background: transparent;
}
.slick-dots li button:hover,
.slick-dots li button:focus {
outline: none;
}
.slick-dots li button:hover:before,
.slick-dots li button:focus:before {
opacity: 1;
}
.slick-dots li button:before {
content: \" \";
line-height: 20px;
position: absolute;
top: 0;
left: 0;
width: 12px;
height: 12px;
text-align: center;
opacity: .25;
background-color: black;
border-radius: 50%;
}
.slick-dots li.slick-active button:before {
opacity: .75;
background-color: black;
}
.slick-dots li button.thumbnail img {
width: 0;
height: 0;
}
</style>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 93
public function block_javascript($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascript"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascript"));
// line 94
echo " <script>
\$(function() {
\$('.main_visual').slick({
dots: true,
arrows: false,
autoplay: true,
\t\t\t\tinfinite: true,
\t\t\t\tslidesToShow: 1,
\t\t\t\tslidesToScroll: 1,
speed: 300,
\t\t\t\tasNavFor: '.thumb-item-nav'
});
\t\t\t\$('.thumb-item-nav').slick({
\t\t\t\taccessibility: true,
\t\t\t\tarrows: false,
\t\t\t\tautoplay: true,
\t\t\t\tspeed: 300,
\t\t\t\tinfinite: true,
\t\t\t\tslidesToShow: 3,
\t\t\t\tslidesToScroll: 1,
\t\t\t\tasNavFor: '.thumb-item',
\t\t\t\tfocusOnSelect: false,
\t\t\t\tvariableWidth: true
\t\t\t});
});
</script>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 122
public function block_main($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));
// line 123
echo "\t<div id=\"topFast\">
\t\t\t<div id=\"keyimage\">
\t\t\t\t<div class=\"ec-sliderRole\">
\t\t\t\t\t<div class=\"main_visual\">
\t\t\t\t\t\t<div class=\"item slick-slide\"><img src=\"";
// line 127
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top/slider1.png"), "html", null, true);
echo "\" alt=\"\"></div>
\t\t\t\t\t\t<div class=\"item slick-slide\"><img src=\"";
// line 128
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top/slider2.png"), "html", null, true);
echo "\" alt=\"\"></div>
\t\t\t\t\t\t<div class=\"item slick-slide\"><img src=\"";
// line 129
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top/slider3.png"), "html", null, true);
echo "\" alt=\"\"></div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div><!-- #keyimage -->
\t\t\t<div class=\"top-info\">
\t\t\t\t<div class=\"top-info_inner\">
\t\t\t\t\t<div class=\"spnone\">
\t\t\t\t\t\t<h2>気がつけば、<br>いつもここ</h2>
\t\t\t\t\t\t<p>AKRacing & Tsubasa Honda</p>
\t\t\t\t\t\t<div class=\"slider thumb-item-nav\">
\t\t\t\t\t\t\t<div class=\"item slick-slide\"></div>
\t\t\t\t\t\t\t<div class=\"item slick-slide\"></div>
\t\t\t\t\t\t\t<div class=\"item slick-slide\"></div>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t\t<div class=\"pcnone\">
\t\t\t\t\t\t<h2>
\t\t\t\t\t\t\t<img src=\"";
// line 146
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top/top_title.png"), "html", null, true);
echo "\" alt=\"気がつけば、いつもここ\">
\t\t\t\t\t\t</h2>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div><!-- top-info -->
\t</div><!-- #topFast -->
\t<div id=\"top-side\">
\t\t\t<ul class=\"ak-sns-icon\">
\t\t\t\t<li><a href=\"https://twitter.com/AKRacingJapan\" target=\"_blank\"><i class=\"fab fa-twitter\"></i></a></li>
\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>
\t\t\t\t<li><img src=\"";
// line 157
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top/Social.png"), "html", null, true);
echo "\" alt=\"\"></li>
\t\t\t</ul>
\t\t\t<p class=\"scroll\"><img src=\"";
// line 159
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top/scroll.png"), "html", null, true);
echo "\" alt=\"\"></p>
\t</div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "index.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("{#
This file is part of EC-CUBE
Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
http://www.ec-cube.co.jp/
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
#}
{% extends 'default_frame.twig' %}
{% set body_class = 'front_page' %}
{% block stylesheet %}
<style>
.slick-slider {
margin-bottom: 30px;
}
.slick-dots {
position: absolute;
bottom: -45px;
display: block;
width: 100%;
padding: 0;
list-style: none;
text-align: center;
}
.slick-dots li {
position: relative;
display: inline-block;
width: 20px;
height: 20px;
margin: 0 5px;
padding: 0;
cursor: pointer;
}
.slick-dots li button {
font-size: 0;
line-height: 0;
display: block;
width: 20px;
height: 20px;
padding: 5px;
cursor: pointer;
color: transparent;
border: 0;
outline: none;
background: transparent;
}
.slick-dots li button:hover,
.slick-dots li button:focus {
outline: none;
}
.slick-dots li button:hover:before,
.slick-dots li button:focus:before {
opacity: 1;
}
.slick-dots li button:before {
content: \" \";
line-height: 20px;
position: absolute;
top: 0;
left: 0;
width: 12px;
height: 12px;
text-align: center;
opacity: .25;
background-color: black;
border-radius: 50%;
}
.slick-dots li.slick-active button:before {
opacity: .75;
background-color: black;
}
.slick-dots li button.thumbnail img {
width: 0;
height: 0;
}
</style>
{% endblock %}
{% block javascript %}
<script>
\$(function() {
\$('.main_visual').slick({
dots: true,
arrows: false,
autoplay: true,
\t\t\t\tinfinite: true,
\t\t\t\tslidesToShow: 1,
\t\t\t\tslidesToScroll: 1,
speed: 300,
\t\t\t\tasNavFor: '.thumb-item-nav'
});
\t\t\t\$('.thumb-item-nav').slick({
\t\t\t\taccessibility: true,
\t\t\t\tarrows: false,
\t\t\t\tautoplay: true,
\t\t\t\tspeed: 300,
\t\t\t\tinfinite: true,
\t\t\t\tslidesToShow: 3,
\t\t\t\tslidesToScroll: 1,
\t\t\t\tasNavFor: '.thumb-item',
\t\t\t\tfocusOnSelect: false,
\t\t\t\tvariableWidth: true
\t\t\t});
});
</script>
{% endblock javascript %}
{% block main %}
\t<div id=\"topFast\">
\t\t\t<div id=\"keyimage\">
\t\t\t\t<div class=\"ec-sliderRole\">
\t\t\t\t\t<div class=\"main_visual\">
\t\t\t\t\t\t<div class=\"item slick-slide\"><img src=\"{{ asset('assets/img/top/slider1.png') }}\" alt=\"\"></div>
\t\t\t\t\t\t<div class=\"item slick-slide\"><img src=\"{{ asset('assets/img/top/slider2.png') }}\" alt=\"\"></div>
\t\t\t\t\t\t<div class=\"item slick-slide\"><img src=\"{{ asset('assets/img/top/slider3.png') }}\" alt=\"\"></div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div><!-- #keyimage -->
\t\t\t<div class=\"top-info\">
\t\t\t\t<div class=\"top-info_inner\">
\t\t\t\t\t<div class=\"spnone\">
\t\t\t\t\t\t<h2>気がつけば、<br>いつもここ</h2>
\t\t\t\t\t\t<p>AKRacing & Tsubasa Honda</p>
\t\t\t\t\t\t<div class=\"slider thumb-item-nav\">
\t\t\t\t\t\t\t<div class=\"item slick-slide\"></div>
\t\t\t\t\t\t\t<div class=\"item slick-slide\"></div>
\t\t\t\t\t\t\t<div class=\"item slick-slide\"></div>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t\t<div class=\"pcnone\">
\t\t\t\t\t\t<h2>
\t\t\t\t\t\t\t<img src=\"{{ asset('assets/img/top/top_title.png') }}\" alt=\"気がつけば、いつもここ\">
\t\t\t\t\t\t</h2>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div><!-- top-info -->
\t</div><!-- #topFast -->
\t<div id=\"top-side\">
\t\t\t<ul class=\"ak-sns-icon\">
\t\t\t\t<li><a href=\"https://twitter.com/AKRacingJapan\" target=\"_blank\"><i class=\"fab fa-twitter\"></i></a></li>
\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>
\t\t\t\t<li><img src=\"{{ asset('assets/img/top/Social.png') }}\" alt=\"\"></li>
\t\t\t</ul>
\t\t\t<p class=\"scroll\"><img src=\"{{ asset('assets/img/top/scroll.png') }}\" alt=\"\"></p>
\t</div>
{% endblock %}
\t\t\t\t\t
\t\t\t\t\t", "index.twig", "/home/akracing/www/akracing.dev/app/template/akracing/index.twig");
}
public function checkSecurity()
{
static $tags = array("set" => 13);
static $filters = array("escape" => 127);
static $functions = array("asset" => 127);
try {
$this->sandbox->checkSecurity(
['set'],
['escape'],
['asset']
);
} catch (SecurityError $e) {
$e->setSourceContext($this->source);
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}