var/cache/dev/twig/0c/0cf6865fc31c5924b3002613258f47bb.php line 41

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_7a6d6af387d266f9cfce0e18dafc1878 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.             'main' => [$this'block_main'],
  25.         ];
  26.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  27.         $this->checkSecurity();
  28.     }
  29.     protected function doGetParent(array $context)
  30.     {
  31.         // line 1
  32.         return "default_frame.twig";
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = [])
  35.     {
  36.         $macros $this->macros;
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""index.twig"));
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""index.twig"));
  41.         // line 3
  42.         $context["body_class"] = "front_page";
  43.         // line 1
  44.         $this->parent $this->loadTemplate("default_frame.twig""index.twig"1);
  45.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  46.         
  47.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  48.         
  49.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  50.     }
  51.     // line 5
  52.     public function block_stylesheet($context, array $blocks = [])
  53.     {
  54.         $macros $this->macros;
  55.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  56.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  57.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  58.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  59.         // line 6
  60.         echo "    <style>
  61. /*いい古墳あります*/
  62.         .elementor-element-cde511d {
  63.             text-align: center;
  64.             color: var( --e-global-color-global_color_1 );
  65.             font-size: 50px;
  66.             font-weight: 600;
  67.             margin-top: 50px;
  68.         }
  69. @media only screen and (max-width: 768px) {
  70.         .elementor-element-cde511d {
  71.             font-size: 30px;
  72.             margin-top: 30px;
  73. }
  74. }
  75. /*樹木葬の新形態「古墳墓」*/
  76.         .elementor-element-a2b7db4 h2 {
  77.             text-align: center;
  78.             color: var( --e-global-color-global_color_4 );
  79.             font-size: 38px;
  80.             font-weight: 600;
  81.         }
  82. @media only screen and (max-width: 768px) {
  83.         .elementor-element-a2b7db4 h2 {
  84.             font-size: 24px;
  85.         }
  86. }
  87. /*イントロ*/
  88.         .elementor-element-5da587c {
  89.             text-align: center;
  90.             font-size: 18px;
  91.             line-height: 2;
  92.         }
  93. @media only screen and (max-width: 768px) {
  94.         .elementor-element-5da587c {
  95.             font-size: 15px;
  96.             line-height: 1.5;
  97. \t\t\tpadding: 10px 20px 10px 20px;
  98. }
  99. }
  100. /*ボタン*/
  101. .elementor-element-27d69a7 {
  102.             display: flex;
  103. \t\t\tflex-wrap: wrap;
  104.             margin: 30px auto;
  105.             justify-content: center;
  106. }
  107. .elementor-element-row {
  108.             width: 50%;
  109.             text-align: center;
  110.             flex-direction: row;
  111.             margin-bottom: 20px;
  112. }\t
  113. @media (max-width: 768px) {
  114. .elementor-element-row {
  115.             width: 100%;
  116. }
  117. }\t\t
  118. .elementor-element-row p {
  119.     margin-top: 10px;
  120.             text-align: center;
  121.             font-size: 14px;
  122.             line-height: 1.5;
  123. }
  124. .elementor-button span {
  125.             text-decoration: inherit;
  126.             display: inline-block;
  127.         }
  128. .elementor-button {
  129.             display: inline-block;
  130.             line-height: 1;
  131.             font-size: 20px;
  132.             font-weight: bold;
  133.             border-radius: 3px;
  134.             color: #fff;
  135.             fill: #fff;
  136.             text-align: center;
  137.             transition: all .3s;
  138.             background-color: #000000;
  139. \t\t\twidth:80%;
  140. \t\t\tpadding-top: 30px;
  141. \t\t\tpadding-bottom: 30px;
  142. }
  143. @media only screen and (max-width: 768px) {
  144.         .elementor-button {
  145.             font-size: 17px;
  146. \t\t\tpadding: 20px 30px 20px 30px;
  147. }
  148. }
  149.     </style>
  150. ";
  151.         
  152.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  153.         
  154.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  155.     }
  156.     // line 114
  157.     public function block_main($context, array $blocks = [])
  158.     {
  159.         $macros $this->macros;
  160.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  161.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  162.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  163.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  164.         // line 115
  165.         echo "    <div class=\"elementor-element-cde511d\">
  166.         <p>\ いい古墳あります!/</p>
  167.     </div>
  168.     <div class=\"elementor-element-a2b7db4\">
  169.         <h2>樹木葬の新形態「古墳墓」</h2>
  170.     </div>
  171.     <div class=\"elementor-element-5da587c\">
  172.         <p>墓石を建てる時代は終わりました。<br>いまや新規に販売される墓の半数以上が「樹木葬」です。<br>樹木葬は西洋式が一般的ですが、日本には日本式の樹木葬があっても良いはず。<br>それが<strong>古墳墓</strong>です!</p>
  173.     </div>
  174.     <div class=\"elementor-element-27d69a7\">
  175.         <div class=\"elementor-element-row\">
  176.             <a class=\"elementor-button\" href=\"";
  177.         // line 126
  178.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
  179.         echo "?category_id=1\">
  180.                 <span>販売中の古墳はこちらから</span>
  181.             </a>
  182.             <p><strong>現在販売中の古墳墓をご希望の方は</strong><br><strong>こちらより購入申込みしていただけます。</strong></p>
  183.         </div>
  184.         ";
  185.         // line 131
  186.         if ( !$this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_USER")) {
  187.             // line 132
  188.             echo "            <div class=\"elementor-element-row\">
  189.                 <a class=\"elementor-button\" href=\"";
  190.             // line 133
  191.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("entry");
  192.             echo "\">
  193.                     <span>お客様登録はこちらから</span>
  194.                 </a>
  195.                 <p><strong>古墳をお求めになりたい地域をご登録ください。</strong><br><strong>その地域に新しく古墳が完成した際にご連絡差し上げます。</strong></p>
  196.             </div>
  197.         ";
  198.         }
  199.         // line 139
  200.         echo "    </div>
  201. ";
  202.         
  203.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  204.         
  205.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  206.     }
  207.     public function getTemplateName()
  208.     {
  209.         return "index.twig";
  210.     }
  211.     public function isTraitable()
  212.     {
  213.         return false;
  214.     }
  215.     public function getDebugInfo()
  216.     {
  217.         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,);
  218.     }
  219.     public function getSourceContext()
  220.     {
  221.         return new Source("{% extends 'default_frame.twig' %}
  222. {% set body_class = 'front_page' %}
  223. {% block stylesheet %}
  224.     <style>
  225. /*いい古墳あります*/
  226.         .elementor-element-cde511d {
  227.             text-align: center;
  228.             color: var( --e-global-color-global_color_1 );
  229.             font-size: 50px;
  230.             font-weight: 600;
  231.             margin-top: 50px;
  232.         }
  233. @media only screen and (max-width: 768px) {
  234.         .elementor-element-cde511d {
  235.             font-size: 30px;
  236.             margin-top: 30px;
  237. }
  238. }
  239. /*樹木葬の新形態「古墳墓」*/
  240.         .elementor-element-a2b7db4 h2 {
  241.             text-align: center;
  242.             color: var( --e-global-color-global_color_4 );
  243.             font-size: 38px;
  244.             font-weight: 600;
  245.         }
  246. @media only screen and (max-width: 768px) {
  247.         .elementor-element-a2b7db4 h2 {
  248.             font-size: 24px;
  249.         }
  250. }
  251. /*イントロ*/
  252.         .elementor-element-5da587c {
  253.             text-align: center;
  254.             font-size: 18px;
  255.             line-height: 2;
  256.         }
  257. @media only screen and (max-width: 768px) {
  258.         .elementor-element-5da587c {
  259.             font-size: 15px;
  260.             line-height: 1.5;
  261. \t\t\tpadding: 10px 20px 10px 20px;
  262. }
  263. }
  264. /*ボタン*/
  265. .elementor-element-27d69a7 {
  266.             display: flex;
  267. \t\t\tflex-wrap: wrap;
  268.             margin: 30px auto;
  269.             justify-content: center;
  270. }
  271. .elementor-element-row {
  272.             width: 50%;
  273.             text-align: center;
  274.             flex-direction: row;
  275.             margin-bottom: 20px;
  276. }\t
  277. @media (max-width: 768px) {
  278. .elementor-element-row {
  279.             width: 100%;
  280. }
  281. }\t\t
  282. .elementor-element-row p {
  283.     margin-top: 10px;
  284.             text-align: center;
  285.             font-size: 14px;
  286.             line-height: 1.5;
  287. }
  288. .elementor-button span {
  289.             text-decoration: inherit;
  290.             display: inline-block;
  291.         }
  292. .elementor-button {
  293.             display: inline-block;
  294.             line-height: 1;
  295.             font-size: 20px;
  296.             font-weight: bold;
  297.             border-radius: 3px;
  298.             color: #fff;
  299.             fill: #fff;
  300.             text-align: center;
  301.             transition: all .3s;
  302.             background-color: #000000;
  303. \t\t\twidth:80%;
  304. \t\t\tpadding-top: 30px;
  305. \t\t\tpadding-bottom: 30px;
  306. }
  307. @media only screen and (max-width: 768px) {
  308.         .elementor-button {
  309.             font-size: 17px;
  310. \t\t\tpadding: 20px 30px 20px 30px;
  311. }
  312. }
  313.     </style>
  314. {% endblock %}
  315. {% block main %}
  316.     <div class=\"elementor-element-cde511d\">
  317.         <p>\ いい古墳あります!/</p>
  318.     </div>
  319.     <div class=\"elementor-element-a2b7db4\">
  320.         <h2>樹木葬の新形態「古墳墓」</h2>
  321.     </div>
  322.     <div class=\"elementor-element-5da587c\">
  323.         <p>墓石を建てる時代は終わりました。<br>いまや新規に販売される墓の半数以上が「樹木葬」です。<br>樹木葬は西洋式が一般的ですが、日本には日本式の樹木葬があっても良いはず。<br>それが<strong>古墳墓</strong>です!</p>
  324.     </div>
  325.     <div class=\"elementor-element-27d69a7\">
  326.         <div class=\"elementor-element-row\">
  327.             <a class=\"elementor-button\" href=\"{{ url('product_list') }}?category_id=1\">
  328.                 <span>販売中の古墳はこちらから</span>
  329.             </a>
  330.             <p><strong>現在販売中の古墳墓をご希望の方は</strong><br><strong>こちらより購入申込みしていただけます。</strong></p>
  331.         </div>
  332.         {% if not is_granted('ROLE_USER') %}
  333.             <div class=\"elementor-element-row\">
  334.                 <a class=\"elementor-button\" href=\"{{ url('entry') }}\">
  335.                     <span>お客様登録はこちらから</span>
  336.                 </a>
  337.                 <p><strong>古墳をお求めになりたい地域をご登録ください。</strong><br><strong>その地域に新しく古墳が完成した際にご連絡差し上げます。</strong></p>
  338.             </div>
  339.         {% endif %}
  340.     </div>
  341. {% endblock %}""index.twig""/var/www/html/app/template/default/index.twig");
  342.     }
  343.     
  344.     public function checkSecurity()
  345.     {
  346.         static $tags = array("set" => 3"if" => 131);
  347.         static $filters = array();
  348.         static $functions = array("url" => 126"is_granted" => 131);
  349.         try {
  350.             $this->sandbox->checkSecurity(
  351.                 ['set''if'],
  352.                 [],
  353.                 ['url''is_granted'],
  354.                 $this->source
  355.             );
  356.         } catch (SecurityError $e) {
  357.             $e->setSourceContext($this->source);
  358.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  359.                 $e->setTemplateLine($tags[$e->getTagName()]);
  360.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  361.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  362.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  363.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  364.             }
  365.             throw $e;
  366.         }
  367.     }
  368. }