<?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_d764253bb1aabca6f474bd28c2baaf91 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'],
];
}
protected function doGetParent(array $context)
{
// line 11
return "default_frame.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "index.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_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_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 15
public function block_stylesheet($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheet"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_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_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 93
public function block_javascript($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascript"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascript"));
// line 94
echo " <script>
\$(function() {
\$('.main_visual').slick({
dots: true,
arrows: false,
autoplay: true,
speed: 300
});
});
</script>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 107
public function block_main($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));
// line 108
echo " <section class=\"ec-sliderRole\" data-aos=\"fade-up\">
<div class=\"ec-sliderRole__inner standard-inner1 fullwidth\">
<div class=\"main_visual\">
";
// line 111
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(range(1, 4));
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
// line 112
echo " <div class=\"item slick-slide\"><img src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((("assets/img/top/img_hero_pc0" . $context["i"]) . ".jpg"), "user_data"), "html", null, true);
echo "\"></div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 114
echo " </div>
</div>
</section>
<section class=\"ec-categoryNavRole\" id=\"about\">
<div class=\"ec-aboutRole\">
<div class=\"ec-aboutRole__inner standard-inner1\">
<div class=\"ec-aboutRole__figure\" data-aos=\"fade-up\">
<img src=\"";
// line 122
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/logo_kikkoo.svg"), "html", null, true);
echo "\" alt=\"\" class=\"ec-aboutRole__img\">
</div>
<h2 class=\"ec-aboutRole__title\" data-aos=\"fade-up\">心でつくる幸せ。その歓びをつないでいく。</h2>
<div class=\"ec-aboutRole__text\" data-aos=\"fade-up\">
KIKKOOの家具は、日本の伝統と格式を継承し、六方良しの精神を具現化したデザインが特徴です。<br>
亀甲という日本に伝わる吉祥文様をシンボルマークに用いることで、六方良しの理念を視覚的に表現しています。<br>
売り手、買い手、作り手、世間、地球、未来の全てに対して誠実であることを大切にし、<br>
熟練の木工職人が一つ一つ心を込めて作り上げた家具、それは、使う人に心の安らぎと幸福を提供します。<br>
深みのある美しさと斬新な存在感を持つKIKKOOの家具は、<br>
日々の生活に豊かさを、環境に優しい素材を、未来の世代にも続く価値を。<br>
めぐりめぐって日本の美意識と心の豊かさをつないでいきます。<br>
</div>
</div>
</div>
</section>
<section class=\"ec-categoryNavRole\">
";
// line 139
$context["Category"] = twig_get_attribute($this->env, $this->source, $this->env->getFunction('repository')->getCallable()("Eccube\\Entity\\Category"), "find", [0 => 1], "method", false, false, false, 139);
// line 140
echo " ";
$context["cate_childs"] = twig_get_attribute($this->env, $this->source, (isset($context["Category"]) || array_key_exists("Category", $context) ? $context["Category"] : (function () { throw new RuntimeError('Variable "Category" does not exist.', 140, $this->source); })()), "getDescendants", [], "any", false, false, false, 140);
// line 141
echo " <div class=\"ec-categoryNavRole__inner standard-inner1\">
<h2 class=\"ec-categoryNavRole__title\" data-aos=\"fade-up\">CATEGORY</h2>
<div class=\"ec-categoryNav\">
<ul class=\"ec-categoryNav__list\">
";
// line 145
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["cate_childs"]) || array_key_exists("cate_childs", $context) ? $context["cate_childs"] : (function () { throw new RuntimeError('Variable "cate_childs" does not exist.', 145, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["cate"]) {
// line 146
echo " <li class=\"ec-categoryNav__item category\" data-aos=\"fade-up\">
<a href=\"";
// line 147
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
echo "?category_id=";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["cate"], "id", [], "any", false, false, false, 147), "html", null, true);
echo "\" class=\"ec-categoryNav__link\">
<figure class=\"ec-categoryNav__figure\">
<img src=\"";
// line 149
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((("assets/img/category/category" . twig_get_attribute($this->env, $this->source, $context["cate"], "id", [], "any", false, false, false, 149)) . ".jpg"), "user_data"), "html", null, true);
echo "\" class=\"ec-categoryNav__img\">
</figure>
<span class=\"ec-categoryNav__name\">";
// line 151
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["cate"], "name", [], "any", false, false, false, 151), "html", null, true);
echo "</span>
</a>
</li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['cate'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 155
echo " </ul>
</div>
</div>
</section>
<section class=\"ec-categoryNavRole\">
";
// line 161
$context["Category"] = twig_get_attribute($this->env, $this->source, $this->env->getFunction('repository')->getCallable()("Eccube\\Entity\\Category"), "find", [0 => 5], "method", false, false, false, 161);
// line 162
echo " ";
$context["cate_childs"] = twig_get_attribute($this->env, $this->source, (isset($context["Category"]) || array_key_exists("Category", $context) ? $context["Category"] : (function () { throw new RuntimeError('Variable "Category" does not exist.', 162, $this->source); })()), "getDescendants", [], "any", false, false, false, 162);
// line 163
echo " ";
$context["names"] = [0 => "SHINJI OTSUKI", 1 => "MANAMI"];
// line 164
echo " ";
$context["i"] = 0;
// line 165
echo " <div class=\"ec-categoryNavRole__inner standard-inner1\">
<h2 class=\"ec-categoryNavRole__title\" data-aos=\"fade-up\">DESIGNER</h2>
<div class=\"ec-categoryNav\">
<ul class=\"ec-categoryNav__list\">
";
// line 169
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["cate_childs"]) || array_key_exists("cate_childs", $context) ? $context["cate_childs"] : (function () { throw new RuntimeError('Variable "cate_childs" does not exist.', 169, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["cate"]) {
// line 170
echo " <li class=\"ec-categoryNav__item designer\" data-aos=\"fade-up\">
<a href=\"/designers/otsuki/\" class=\"ec-categoryNav__link\">
<figure class=\"ec-categoryNav__figure\">
<img src=\"";
// line 173
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((("assets/img/designer/designer" . twig_get_attribute($this->env, $this->source, $context["cate"], "id", [], "any", false, false, false, 173)) . ".jpg"), "user_data"), "html", null, true);
echo "\" class=\"ec-categoryNav__img\">
</figure>
<span class=\"ec-categoryNav__name2\">";
// line 175
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["names"]) || array_key_exists("names", $context) ? $context["names"] : (function () { throw new RuntimeError('Variable "names" does not exist.', 175, $this->source); })()), (isset($context["i"]) || array_key_exists("i", $context) ? $context["i"] : (function () { throw new RuntimeError('Variable "i" does not exist.', 175, $this->source); })()), [], "array", false, false, false, 175), "html", null, true);
echo "</span>
<span class=\"ec-categoryNav__name3\">";
// line 176
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["cate"], "name", [], "any", false, false, false, 176), "html", null, true);
echo "</span>
</a>
</li>
";
// line 179
$context["i"] = ((isset($context["i"]) || array_key_exists("i", $context) ? $context["i"] : (function () { throw new RuntimeError('Variable "i" does not exist.', 179, $this->source); })()) + 1);
// line 180
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['cate'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 181
echo " </ul>
</div>
</div>
</section>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "index.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 344 => 181, 338 => 180, 336 => 179, 330 => 176, 326 => 175, 321 => 173, 316 => 170, 312 => 169, 306 => 165, 303 => 164, 300 => 163, 297 => 162, 295 => 161, 287 => 155, 277 => 151, 272 => 149, 265 => 147, 262 => 146, 258 => 145, 252 => 141, 249 => 140, 247 => 139, 227 => 122, 217 => 114, 208 => 112, 204 => 111, 199 => 108, 189 => 107, 168 => 94, 158 => 93, 73 => 16, 63 => 15, 52 => 11, 50 => 13, 37 => 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,
speed: 300
});
});
</script>
{% endblock javascript %}
{% block main %}
<section class=\"ec-sliderRole\" data-aos=\"fade-up\">
<div class=\"ec-sliderRole__inner standard-inner1 fullwidth\">
<div class=\"main_visual\">
{% for i in 1..4 %}
<div class=\"item slick-slide\"><img src=\"{{ asset('assets/img/top/img_hero_pc0'~i~'.jpg', 'user_data') }}\"></div>
{% endfor %}
</div>
</div>
</section>
<section class=\"ec-categoryNavRole\" id=\"about\">
<div class=\"ec-aboutRole\">
<div class=\"ec-aboutRole__inner standard-inner1\">
<div class=\"ec-aboutRole__figure\" data-aos=\"fade-up\">
<img src=\"{{ asset('assets/img/logo_kikkoo.svg') }}\" alt=\"\" class=\"ec-aboutRole__img\">
</div>
<h2 class=\"ec-aboutRole__title\" data-aos=\"fade-up\">心でつくる幸せ。その歓びをつないでいく。</h2>
<div class=\"ec-aboutRole__text\" data-aos=\"fade-up\">
KIKKOOの家具は、日本の伝統と格式を継承し、六方良しの精神を具現化したデザインが特徴です。<br>
亀甲という日本に伝わる吉祥文様をシンボルマークに用いることで、六方良しの理念を視覚的に表現しています。<br>
売り手、買い手、作り手、世間、地球、未来の全てに対して誠実であることを大切にし、<br>
熟練の木工職人が一つ一つ心を込めて作り上げた家具、それは、使う人に心の安らぎと幸福を提供します。<br>
深みのある美しさと斬新な存在感を持つKIKKOOの家具は、<br>
日々の生活に豊かさを、環境に優しい素材を、未来の世代にも続く価値を。<br>
めぐりめぐって日本の美意識と心の豊かさをつないでいきます。<br>
</div>
</div>
</div>
</section>
<section class=\"ec-categoryNavRole\">
{% set Category = repository('Eccube\\\\Entity\\\\Category').find(1) %}
{% set cate_childs = Category.getDescendants %}
<div class=\"ec-categoryNavRole__inner standard-inner1\">
<h2 class=\"ec-categoryNavRole__title\" data-aos=\"fade-up\">CATEGORY</h2>
<div class=\"ec-categoryNav\">
<ul class=\"ec-categoryNav__list\">
{% for cate in cate_childs %}
<li class=\"ec-categoryNav__item category\" data-aos=\"fade-up\">
<a href=\"{{ url('product_list') }}?category_id={{ cate.id }}\" class=\"ec-categoryNav__link\">
<figure class=\"ec-categoryNav__figure\">
<img src=\"{{ asset('assets/img/category/category'~cate.id~'.jpg', 'user_data') }}\" class=\"ec-categoryNav__img\">
</figure>
<span class=\"ec-categoryNav__name\">{{ cate.name }}</span>
</a>
</li>
{% endfor %}
</ul>
</div>
</div>
</section>
<section class=\"ec-categoryNavRole\">
{% set Category = repository('Eccube\\\\Entity\\\\Category').find(5) %}
{% set cate_childs = Category.getDescendants %}
{% set names = ['SHINJI OTSUKI','MANAMI'] %}
{% set i = 0 %}
<div class=\"ec-categoryNavRole__inner standard-inner1\">
<h2 class=\"ec-categoryNavRole__title\" data-aos=\"fade-up\">DESIGNER</h2>
<div class=\"ec-categoryNav\">
<ul class=\"ec-categoryNav__list\">
{% for cate in cate_childs %}
<li class=\"ec-categoryNav__item designer\" data-aos=\"fade-up\">
<a href=\"/designers/otsuki/\" class=\"ec-categoryNav__link\">
<figure class=\"ec-categoryNav__figure\">
<img src=\"{{ asset('assets/img/designer/designer'~cate.id~'.jpg', 'user_data') }}\" class=\"ec-categoryNav__img\">
</figure>
<span class=\"ec-categoryNav__name2\">{{ names[i] }}</span>
<span class=\"ec-categoryNav__name3\">{{ cate.name }}</span>
</a>
</li>
{% set i = i + 1 %}
{% endfor %}
</ul>
</div>
</div>
</section>
{% endblock %}", "index.twig", "/home/daishi37x/dis61.work/public_html/shosen-east.dis61.work/shop/app/template/default/index.twig");
}
}