<?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_add854ba1de75c41a2fec1ef53fb8753 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;
}
@supports (content-visibility: auto) {
.top-ranking,
.ec-role.top-ranking,
.news, .top-news, .ec-newsRole,
footer {
content-visibility: auto;
contain-intrinsic-size: 800px;
}
}
@media (max-width: 767px) {
.main_visual {
aspect-ratio: 640 / 360;
}
.ec-newsRole {
min-height: 600px;
}
}
.fa, .fas {
width: 1em;
display: inline-block;
}
</style>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 116
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 117
echo "<script>
document.addEventListener('DOMContentLoaded', function () {
if (!(window.jQuery && jQuery.fn && jQuery.fn.slick)) return;
var \$mv = \$('.main_visual');
if (!\$mv.hasClass('slick-initialized')) {
\$mv.slick({
dots: true,
arrows: false,
autoplay: true,
speed: 300,
lazyLoad: 'ondemand'
});
}
});
</script>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 137
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 138
echo "<div class=\"ec-sliderRole\">
<div class=\"main_visual\">
<div class=\"item\">
<a href=\"";
// line 141
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
echo "campaign/summer-campaign\"
onClick=\"ga('send','event','click','top', 'slide_2026smr' ,1,{'nonInteraction':1});\">
<picture>
<source media=\"(max-width: 767px)\" type=\"image/webp\"
srcset=\"";
// line 145
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top/bnr_2026smr_800w.webp"), "html", null, true);
echo "\">
<source media=\"(max-width: 767px)\"
srcset=\"";
// line 147
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top/bnr_2026smr_800w.jpg"), "html", null, true);
echo "\">
<source type=\"image/webp\"
srcset=\"";
// line 149
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top/bnr_2026smr_1090w.webp"), "html", null, true);
echo "\">
<img src=\"";
// line 150
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top/bnr_2026smr_1090w.jpg"), "html", null, true);
echo "\" alt=\"夏まとめ買いキャンペーン 最大20%OFF\" width=\"1090\" height=\"450\" fetchpriority=\"high\" style=\"width:100%;height:auto;\">
</picture>
</a>
</div>
<div class=\"item\">
<a href=\"";
// line 156
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
echo "healthfood/collagen-2set\"
onClick=\"ga('send','event','click','top', 'slide_cox2' ,1,{'nonInteraction':1});\">
<picture>
<source media=\"(max-width: 767px)\" type=\"image/webp\"
srcset=\"";
// line 160
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top/bnr_cox2_800w.webp"), "html", null, true);
echo "\">
<source media=\"(max-width: 767px)\"
srcset=\"";
// line 162
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top/bnr_cox2_800w.jpg"), "html", null, true);
echo "\">
<source type=\"image/webp\"
srcset=\"";
// line 164
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top/bnr_cox2_1090w.webp"), "html", null, true);
echo "\">
<img src=\"";
// line 165
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top/bnr_cox2_1090w.jpg"), "html", null, true);
echo "\" alt=\"コラーゲン2個セット・送料無料8000円\" width=\"1090\" height=\"392\" fetchpriority=\"high\" style=\"width:100%;height:auto;\">
</picture>
</a>
</div>
<div class=\"item\">
<a href=\"";
// line 174
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
echo "goods/perfect-lifty\"
onClick=\"ga('send','event','click','top', 'slide_pl' ,1,{'nonInteraction':1});\">
<picture>
<source media=\"(max-width: 767px)\" type=\"image/webp\"
srcset=\"";
// line 178
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top/bnr_pl_800w.webp"), "html", null, true);
echo "\">
<source media=\"(max-width: 767px)\"
srcset=\"";
// line 180
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top/bnr_pl_800w.jpg"), "html", null, true);
echo "\">
<source type=\"image/webp\"
srcset=\"";
// line 182
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top/bnr_pl_1090w.webp"), "html", null, true);
echo "\">
<img src=\"";
// line 183
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top/bnr_pl_1090w.jpg"), "html", null, true);
echo "\" alt=\"【3回撫でて5秒でピンハリ】パーフェクトリフティ\" width=\"1090\" height=\"392\" fetchpriority=\"high\" style=\"width:100%;height:auto;\">
</picture>
</a>
</div>
<div class=\"item\">
<a href=\"";
// line 189
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
echo "goods/hot-bubble\"
onClick=\"ga('send','event','click','top', 'slide_5252milkx3' ,1,{'nonInteraction':1});\">
<picture>
<source media=\"(max-width: 767px)\" type=\"image/webp\"
srcset=\"";
// line 193
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top/bnr_hb_800w.webp"), "html", null, true);
echo "\">
<source media=\"(max-width: 767px)\"
srcset=\"";
// line 195
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top/bnr_hb_800w.jpg"), "html", null, true);
echo "\">
<source type=\"image/webp\"
srcset=\"";
// line 197
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top/bnr_hb_1090w.webp"), "html", null, true);
echo "\">
<img src=\"";
// line 198
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top/bnr_hb_1090w.jpg"), "html", null, true);
echo "\" alt=\"Hot Bubble PRO(ホットバブルプロ)\" width=\"1090\" height=\"392\" fetchpriority=\"high\" style=\"width:100%;height:auto;\">
</picture>
</a>
</div>
<div class=\"item\">
<a href=\"";
// line 204
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
echo "health-trend/dashsyoku\"
onClick=\"ga('send','event','click','top', 'slide_dash' ,1,{'nonInteraction':1});\">
<picture>
<source media=\"(max-width: 767px)\" type=\"image/webp\"
srcset=\"";
// line 208
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top/bnr_dash_800w.webp"), "html", null, true);
echo "\">
<source media=\"(max-width: 767px)\"
srcset=\"";
// line 210
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top/bnr_dash_800w.jpg"), "html", null, true);
echo "\">
<source type=\"image/webp\"
srcset=\"";
// line 212
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top/bnr_dash_1090w.webp"), "html", null, true);
echo "\">
<img src=\"";
// line 213
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top/bnr_dash_1090w.jpg"), "html", null, true);
echo "\" alt=\"DASH食\" width=\"1090\" height=\"392\" fetchpriority=\"high\" style=\"width:100%;height:auto;\">
</picture>
</a>
</div>
</div>
</div>
";
$__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 ( 378 => 213, 374 => 212, 369 => 210, 364 => 208, 357 => 204, 348 => 198, 344 => 197, 339 => 195, 334 => 193, 327 => 189, 318 => 183, 314 => 182, 309 => 180, 304 => 178, 297 => 174, 285 => 165, 281 => 164, 276 => 162, 271 => 160, 264 => 156, 255 => 150, 251 => 149, 246 => 147, 241 => 145, 234 => 141, 229 => 138, 219 => 137, 191 => 117, 181 => 116, 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;
}
@supports (content-visibility: auto) {
.top-ranking,
.ec-role.top-ranking,
.news, .top-news, .ec-newsRole,
footer {
content-visibility: auto;
contain-intrinsic-size: 800px;
}
}
@media (max-width: 767px) {
.main_visual {
aspect-ratio: 640 / 360;
}
.ec-newsRole {
min-height: 600px;
}
}
.fa, .fas {
width: 1em;
display: inline-block;
}
</style>
{% endblock %}
{% block javascript %}
<script>
document.addEventListener('DOMContentLoaded', function () {
if (!(window.jQuery && jQuery.fn && jQuery.fn.slick)) return;
var \$mv = \$('.main_visual');
if (!\$mv.hasClass('slick-initialized')) {
\$mv.slick({
dots: true,
arrows: false,
autoplay: true,
speed: 300,
lazyLoad: 'ondemand'
});
}
});
</script>
{% endblock javascript %}
{% block main %}
<div class=\"ec-sliderRole\">
<div class=\"main_visual\">
<div class=\"item\">
<a href=\"{{ url('homepage') }}campaign/summer-campaign\"
onClick=\"ga('send','event','click','top', 'slide_2026smr' ,1,{'nonInteraction':1});\">
<picture>
<source media=\"(max-width: 767px)\" type=\"image/webp\"
srcset=\"{{ asset('assets/img/top/bnr_2026smr_800w.webp') }}\">
<source media=\"(max-width: 767px)\"
srcset=\"{{ asset('assets/img/top/bnr_2026smr_800w.jpg') }}\">
<source type=\"image/webp\"
srcset=\"{{ asset('assets/img/top/bnr_2026smr_1090w.webp') }}\">
<img src=\"{{ asset('assets/img/top/bnr_2026smr_1090w.jpg') }}\" alt=\"夏まとめ買いキャンペーン 最大20%OFF\" width=\"1090\" height=\"450\" fetchpriority=\"high\" style=\"width:100%;height:auto;\">
</picture>
</a>
</div>
<div class=\"item\">
<a href=\"{{ url('homepage') }}healthfood/collagen-2set\"
onClick=\"ga('send','event','click','top', 'slide_cox2' ,1,{'nonInteraction':1});\">
<picture>
<source media=\"(max-width: 767px)\" type=\"image/webp\"
srcset=\"{{ asset('assets/img/top/bnr_cox2_800w.webp') }}\">
<source media=\"(max-width: 767px)\"
srcset=\"{{ asset('assets/img/top/bnr_cox2_800w.jpg') }}\">
<source type=\"image/webp\"
srcset=\"{{ asset('assets/img/top/bnr_cox2_1090w.webp') }}\">
<img src=\"{{ asset('assets/img/top/bnr_cox2_1090w.jpg') }}\" alt=\"コラーゲン2個セット・送料無料8000円\" width=\"1090\" height=\"392\" fetchpriority=\"high\" style=\"width:100%;height:auto;\">
</picture>
</a>
</div>
<div class=\"item\">
<a href=\"{{ url('homepage') }}goods/perfect-lifty\"
onClick=\"ga('send','event','click','top', 'slide_pl' ,1,{'nonInteraction':1});\">
<picture>
<source media=\"(max-width: 767px)\" type=\"image/webp\"
srcset=\"{{ asset('assets/img/top/bnr_pl_800w.webp') }}\">
<source media=\"(max-width: 767px)\"
srcset=\"{{ asset('assets/img/top/bnr_pl_800w.jpg') }}\">
<source type=\"image/webp\"
srcset=\"{{ asset('assets/img/top/bnr_pl_1090w.webp') }}\">
<img src=\"{{ asset('assets/img/top/bnr_pl_1090w.jpg') }}\" alt=\"【3回撫でて5秒でピンハリ】パーフェクトリフティ\" width=\"1090\" height=\"392\" fetchpriority=\"high\" style=\"width:100%;height:auto;\">
</picture>
</a>
</div>
<div class=\"item\">
<a href=\"{{ url('homepage') }}goods/hot-bubble\"
onClick=\"ga('send','event','click','top', 'slide_5252milkx3' ,1,{'nonInteraction':1});\">
<picture>
<source media=\"(max-width: 767px)\" type=\"image/webp\"
srcset=\"{{ asset('assets/img/top/bnr_hb_800w.webp') }}\">
<source media=\"(max-width: 767px)\"
srcset=\"{{ asset('assets/img/top/bnr_hb_800w.jpg') }}\">
<source type=\"image/webp\"
srcset=\"{{ asset('assets/img/top/bnr_hb_1090w.webp') }}\">
<img src=\"{{ asset('assets/img/top/bnr_hb_1090w.jpg') }}\" alt=\"Hot Bubble PRO(ホットバブルプロ)\" width=\"1090\" height=\"392\" fetchpriority=\"high\" style=\"width:100%;height:auto;\">
</picture>
</a>
</div>
<div class=\"item\">
<a href=\"{{ url('homepage') }}health-trend/dashsyoku\"
onClick=\"ga('send','event','click','top', 'slide_dash' ,1,{'nonInteraction':1});\">
<picture>
<source media=\"(max-width: 767px)\" type=\"image/webp\"
srcset=\"{{ asset('assets/img/top/bnr_dash_800w.webp') }}\">
<source media=\"(max-width: 767px)\"
srcset=\"{{ asset('assets/img/top/bnr_dash_800w.jpg') }}\">
<source type=\"image/webp\"
srcset=\"{{ asset('assets/img/top/bnr_dash_1090w.webp') }}\">
<img src=\"{{ asset('assets/img/top/bnr_dash_1090w.jpg') }}\" alt=\"DASH食\" width=\"1090\" height=\"392\" fetchpriority=\"high\" style=\"width:100%;height:auto;\">
</picture>
</a>
</div>
</div>
</div>
{% endblock %}
", "index.twig", "/home/xs080051/million-store.com/public_html/st.million-store.com/ec/app/template/million01/index.twig");
}
}