<?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_7a6d6af387d266f9cfce0e18dafc1878 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'],
'main' => [$this, 'block_main'],
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doGetParent(array $context)
{
// line 1
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 3
$context["body_class"] = "front_page";
// line 1
$this->parent = $this->loadTemplate("default_frame.twig", "index.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 5
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 6
echo " <style>
/*いい古墳あります*/
.elementor-element-cde511d {
text-align: center;
color: var( --e-global-color-global_color_1 );
font-size: 50px;
font-weight: 600;
margin-top: 50px;
}
@media only screen and (max-width: 768px) {
.elementor-element-cde511d {
font-size: 30px;
margin-top: 30px;
}
}
/*樹木葬の新形態「古墳墓」*/
.elementor-element-a2b7db4 h2 {
text-align: center;
color: var( --e-global-color-global_color_4 );
font-size: 38px;
font-weight: 600;
}
@media only screen and (max-width: 768px) {
.elementor-element-a2b7db4 h2 {
font-size: 24px;
}
}
/*イントロ*/
.elementor-element-5da587c {
text-align: center;
font-size: 18px;
line-height: 2;
}
@media only screen and (max-width: 768px) {
.elementor-element-5da587c {
font-size: 15px;
line-height: 1.5;
\t\t\tpadding: 10px 20px 10px 20px;
}
}
/*ボタン*/
.elementor-element-27d69a7 {
display: flex;
\t\t\tflex-wrap: wrap;
margin: 30px auto;
justify-content: center;
}
.elementor-element-row {
width: 50%;
text-align: center;
flex-direction: row;
margin-bottom: 20px;
}\t
@media (max-width: 768px) {
.elementor-element-row {
width: 100%;
}
}\t\t
.elementor-element-row p {
margin-top: 10px;
text-align: center;
font-size: 14px;
line-height: 1.5;
}
.elementor-button span {
text-decoration: inherit;
display: inline-block;
}
.elementor-button {
display: inline-block;
line-height: 1;
font-size: 20px;
font-weight: bold;
border-radius: 3px;
color: #fff;
fill: #fff;
text-align: center;
transition: all .3s;
background-color: #000000;
\t\t\twidth:80%;
\t\t\tpadding-top: 30px;
\t\t\tpadding-bottom: 30px;
}
@media only screen and (max-width: 768px) {
.elementor-button {
font-size: 17px;
\t\t\tpadding: 20px 30px 20px 30px;
}
}
</style>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 114
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 115
echo " <div class=\"elementor-element-cde511d\">
<p>\ いい古墳あります!/</p>
</div>
<div class=\"elementor-element-a2b7db4\">
<h2>樹木葬の新形態「古墳墓」</h2>
</div>
<div class=\"elementor-element-5da587c\">
<p>墓石を建てる時代は終わりました。<br>いまや新規に販売される墓の半数以上が「樹木葬」です。<br>樹木葬は西洋式が一般的ですが、日本には日本式の樹木葬があっても良いはず。<br>それが<strong>古墳墓</strong>です!</p>
</div>
<div class=\"elementor-element-27d69a7\">
<div class=\"elementor-element-row\">
<a class=\"elementor-button\" href=\"";
// line 126
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
echo "?category_id=1\">
<span>販売中の古墳はこちらから</span>
</a>
<p><strong>現在販売中の古墳墓をご希望の方は</strong><br><strong>こちらより購入申込みしていただけます。</strong></p>
</div>
";
// line 131
if ( !$this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_USER")) {
// line 132
echo " <div class=\"elementor-element-row\">
<a class=\"elementor-button\" href=\"";
// line 133
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("entry");
echo "\">
<span>お客様登録はこちらから</span>
</a>
<p><strong>古墳をお求めになりたい地域をご登録ください。</strong><br><strong>その地域に新しく古墳が完成した際にご連絡差し上げます。</strong></p>
</div>
";
}
// line 139
echo " </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 ( 228 => 139, 219 => 133, 216 => 132, 214 => 131, 206 => 126, 193 => 115, 183 => 114, 74 => 6, 64 => 5, 53 => 1, 51 => 3, 38 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'default_frame.twig' %}
{% set body_class = 'front_page' %}
{% block stylesheet %}
<style>
/*いい古墳あります*/
.elementor-element-cde511d {
text-align: center;
color: var( --e-global-color-global_color_1 );
font-size: 50px;
font-weight: 600;
margin-top: 50px;
}
@media only screen and (max-width: 768px) {
.elementor-element-cde511d {
font-size: 30px;
margin-top: 30px;
}
}
/*樹木葬の新形態「古墳墓」*/
.elementor-element-a2b7db4 h2 {
text-align: center;
color: var( --e-global-color-global_color_4 );
font-size: 38px;
font-weight: 600;
}
@media only screen and (max-width: 768px) {
.elementor-element-a2b7db4 h2 {
font-size: 24px;
}
}
/*イントロ*/
.elementor-element-5da587c {
text-align: center;
font-size: 18px;
line-height: 2;
}
@media only screen and (max-width: 768px) {
.elementor-element-5da587c {
font-size: 15px;
line-height: 1.5;
\t\t\tpadding: 10px 20px 10px 20px;
}
}
/*ボタン*/
.elementor-element-27d69a7 {
display: flex;
\t\t\tflex-wrap: wrap;
margin: 30px auto;
justify-content: center;
}
.elementor-element-row {
width: 50%;
text-align: center;
flex-direction: row;
margin-bottom: 20px;
}\t
@media (max-width: 768px) {
.elementor-element-row {
width: 100%;
}
}\t\t
.elementor-element-row p {
margin-top: 10px;
text-align: center;
font-size: 14px;
line-height: 1.5;
}
.elementor-button span {
text-decoration: inherit;
display: inline-block;
}
.elementor-button {
display: inline-block;
line-height: 1;
font-size: 20px;
font-weight: bold;
border-radius: 3px;
color: #fff;
fill: #fff;
text-align: center;
transition: all .3s;
background-color: #000000;
\t\t\twidth:80%;
\t\t\tpadding-top: 30px;
\t\t\tpadding-bottom: 30px;
}
@media only screen and (max-width: 768px) {
.elementor-button {
font-size: 17px;
\t\t\tpadding: 20px 30px 20px 30px;
}
}
</style>
{% endblock %}
{% block main %}
<div class=\"elementor-element-cde511d\">
<p>\ いい古墳あります!/</p>
</div>
<div class=\"elementor-element-a2b7db4\">
<h2>樹木葬の新形態「古墳墓」</h2>
</div>
<div class=\"elementor-element-5da587c\">
<p>墓石を建てる時代は終わりました。<br>いまや新規に販売される墓の半数以上が「樹木葬」です。<br>樹木葬は西洋式が一般的ですが、日本には日本式の樹木葬があっても良いはず。<br>それが<strong>古墳墓</strong>です!</p>
</div>
<div class=\"elementor-element-27d69a7\">
<div class=\"elementor-element-row\">
<a class=\"elementor-button\" href=\"{{ url('product_list') }}?category_id=1\">
<span>販売中の古墳はこちらから</span>
</a>
<p><strong>現在販売中の古墳墓をご希望の方は</strong><br><strong>こちらより購入申込みしていただけます。</strong></p>
</div>
{% if not is_granted('ROLE_USER') %}
<div class=\"elementor-element-row\">
<a class=\"elementor-button\" href=\"{{ url('entry') }}\">
<span>お客様登録はこちらから</span>
</a>
<p><strong>古墳をお求めになりたい地域をご登録ください。</strong><br><strong>その地域に新しく古墳が完成した際にご連絡差し上げます。</strong></p>
</div>
{% endif %}
</div>
{% endblock %}", "index.twig", "/var/www/html/app/template/default/index.twig");
}
public function checkSecurity()
{
static $tags = array("set" => 3, "if" => 131);
static $filters = array();
static $functions = array("url" => 126, "is_granted" => 131);
try {
$this->sandbox->checkSecurity(
['set', 'if'],
[],
['url', 'is_granted'],
$this->source
);
} 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;
}
}
}