var/cache/dev/twig/1f/1f905cd68a5589ef5a2fd1952f9aae5f.php line 40

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_0381dd9649b28774a0693cc221c1933a 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.             'javascript' => [$this'block_javascript'],
  25.             'main' => [$this'block_main'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 11
  31.         return "default_frame.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""index.twig"));
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""index.twig"));
  40.         // line 13
  41.         $context["body_class"] = "front_page";
  42.         // line 11
  43.         $this->parent $this->loadTemplate("default_frame.twig""index.twig"11);
  44.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  45.         
  46.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  47.         
  48.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  49.     }
  50.     // line 15
  51.     public function block_stylesheet($context, array $blocks = [])
  52.     {
  53.         $macros $this->macros;
  54.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  55.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  56.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  57.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  58.         // line 16
  59.         echo "    <style>
  60.         .slick-slider {
  61.             margin-bottom: 30px;
  62.         }
  63.         .slick-dots {
  64.             position: absolute;
  65.             bottom: -45px;
  66.             display: block;
  67.             width: 100%;
  68.             padding: 0;
  69.             list-style: none;
  70.             text-align: center;
  71.         }
  72.         .slick-dots li {
  73.             position: relative;
  74.             display: inline-block;
  75.             width: 20px;
  76.             height: 20px;
  77.             margin: 0 5px;
  78.             padding: 0;
  79.             cursor: pointer;
  80.         }
  81.         .slick-dots li button {
  82.             font-size: 0;
  83.             line-height: 0;
  84.             display: block;
  85.             width: 20px;
  86.             height: 20px;
  87.             padding: 5px;
  88.             cursor: pointer;
  89.             color: transparent;
  90.             border: 0;
  91.             outline: none;
  92.             background: transparent;
  93.         }
  94.         .slick-dots li button:hover,
  95.         .slick-dots li button:focus {
  96.             outline: none;
  97.         }
  98.         .slick-dots li button:hover:before,
  99.         .slick-dots li button:focus:before {
  100.             opacity: 1;
  101.         }
  102.         .slick-dots li button:before {
  103.             content: \" \";
  104.             line-height: 20px;
  105.             position: absolute;
  106.             top: 0;
  107.             left: 0;
  108.             width: 12px;
  109.             height: 12px;
  110.             text-align: center;
  111.             opacity: .25;
  112.             background-color: black;
  113.             border-radius: 50%;
  114.         }
  115.         .slick-dots li.slick-active button:before {
  116.             opacity: .75;
  117.             background-color: black;
  118.         }
  119.         .slick-dots li button.thumbnail img {
  120.             width: 0;
  121.             height: 0;
  122.         }
  123.         
  124.         .header-photo {
  125. \t\t\tposition: relative;
  126. \t\t}
  127.         .header-photo img {
  128. \t\t\tposition: relative;
  129.             border-radius: 10px;
  130. \t\t}
  131. \t\t.header-photo h2 {/*h2タグを画像の真ん中に*/
  132. \t\t\tposition: absolute;
  133. \t\t\ttop: 50%;
  134. \t\t\tleft: 50%;
  135. \t\t\t-ms-transform: translate(-50%,-50%);
  136. \t\t\t-webkit-transform: translate(-50%,-50%);
  137. \t\t\ttransform: translate(-50%,-50%);
  138. \t\t\tmargin:0;/*余計な隙間を除く*/
  139. \t\t\tpadding:0;/*余計な隙間を除く*/
  140. \t\t\tcolor: white;/*文字色*/
  141. \t\t\tfont-size: 40px;/*文字サイズ*/
  142. \t\t\ttext-align:center;/*pタグ内で更に中央寄せ*/
  143. \t\t\tfont-family: 'Quicksand',sans-serif;
  144. \t\t\tfont-weight: \"bold\";
  145. \t\t}
  146.     </style>
  147. ";
  148.         
  149.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  150.         
  151.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  152.     }
  153.     // line 120
  154.     public function block_javascript($context, array $blocks = [])
  155.     {
  156.         $macros $this->macros;
  157.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  158.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  159.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  160.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  161.         // line 121
  162.         echo "    <script>
  163.         \$(function() {
  164.             \$('.main_visual').slick({
  165.                 dots: true,
  166.                 arrows: false,
  167.                 autoplay: true,
  168.                 speed: 300
  169.             });
  170.         });
  171.     </script>
  172. ";
  173.         
  174.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  175.         
  176.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  177.     }
  178.     // line 133
  179.     public function block_main($context, array $blocks = [])
  180.     {
  181.         $macros $this->macros;
  182.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  183.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  184.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  185.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  186.         // line 134
  187.         echo "    <div class=\"ec-sliderRole\">
  188.         <div class=\"main_visual\">
  189.             <div class=\"item slick-slide header-photo\"><img src=\"https://www.teamlab.art/images/pc-l/28989\"><h2 class=\"index-title fontweight-bold\">タスタス<br />アートギャラリーカフェ</h2></div>
  190.             <div class=\"item slick-slide header-photo\"><img src=\"https://www.gannett-cdn.com/presto/2022/05/02/PPHX/f00d9880-c9d2-41a2-b71b-f47e68f51ffc-Ellen_Nemetz_Pop-upload.JPG?crop=1919,1080,x0,y153&width=1919&height=1080&format=pjpg&auto=webp\"><h2 class=\"index-title fontweight-bold\">タスタス<br />アートギャラリーカフェ</h2></div>
  191.             <div class=\"item slick-slide header-photo\"><img src=\"https://d23.com/app/uploads/2020/01/1180w-463h_010920-riviera-art-gallery-780x440.jpg\"><h2 class=\"index-title fontweight-bold\">タスタス<br />アートギャラリーカフェ</h2></div>
  192.         </div>
  193.     </div>
  194. ";
  195.         
  196.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  197.         
  198.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  199.     }
  200.     public function getTemplateName()
  201.     {
  202.         return "index.twig";
  203.     }
  204.     public function isTraitable()
  205.     {
  206.         return false;
  207.     }
  208.     public function getDebugInfo()
  209.     {
  210.         return array (  225 => 134,  215 => 133,  195 => 121,  185 => 120,  73 => 16,  63 => 15,  52 => 11,  50 => 13,  37 => 11,);
  211.     }
  212.     public function getSourceContext()
  213.     {
  214.         return new Source("{#
  215. This file is part of EC-CUBE
  216. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  217. http://www.ec-cube.co.jp/
  218. For the full copyright and license information, please view the LICENSE
  219. file that was distributed with this source code.
  220. #}
  221. {% extends 'default_frame.twig' %}
  222. {% set body_class = 'front_page' %}
  223. {% block stylesheet %}
  224.     <style>
  225.         .slick-slider {
  226.             margin-bottom: 30px;
  227.         }
  228.         .slick-dots {
  229.             position: absolute;
  230.             bottom: -45px;
  231.             display: block;
  232.             width: 100%;
  233.             padding: 0;
  234.             list-style: none;
  235.             text-align: center;
  236.         }
  237.         .slick-dots li {
  238.             position: relative;
  239.             display: inline-block;
  240.             width: 20px;
  241.             height: 20px;
  242.             margin: 0 5px;
  243.             padding: 0;
  244.             cursor: pointer;
  245.         }
  246.         .slick-dots li button {
  247.             font-size: 0;
  248.             line-height: 0;
  249.             display: block;
  250.             width: 20px;
  251.             height: 20px;
  252.             padding: 5px;
  253.             cursor: pointer;
  254.             color: transparent;
  255.             border: 0;
  256.             outline: none;
  257.             background: transparent;
  258.         }
  259.         .slick-dots li button:hover,
  260.         .slick-dots li button:focus {
  261.             outline: none;
  262.         }
  263.         .slick-dots li button:hover:before,
  264.         .slick-dots li button:focus:before {
  265.             opacity: 1;
  266.         }
  267.         .slick-dots li button:before {
  268.             content: \" \";
  269.             line-height: 20px;
  270.             position: absolute;
  271.             top: 0;
  272.             left: 0;
  273.             width: 12px;
  274.             height: 12px;
  275.             text-align: center;
  276.             opacity: .25;
  277.             background-color: black;
  278.             border-radius: 50%;
  279.         }
  280.         .slick-dots li.slick-active button:before {
  281.             opacity: .75;
  282.             background-color: black;
  283.         }
  284.         .slick-dots li button.thumbnail img {
  285.             width: 0;
  286.             height: 0;
  287.         }
  288.         
  289.         .header-photo {
  290. \t\t\tposition: relative;
  291. \t\t}
  292.         .header-photo img {
  293. \t\t\tposition: relative;
  294.             border-radius: 10px;
  295. \t\t}
  296. \t\t.header-photo h2 {/*h2タグを画像の真ん中に*/
  297. \t\t\tposition: absolute;
  298. \t\t\ttop: 50%;
  299. \t\t\tleft: 50%;
  300. \t\t\t-ms-transform: translate(-50%,-50%);
  301. \t\t\t-webkit-transform: translate(-50%,-50%);
  302. \t\t\ttransform: translate(-50%,-50%);
  303. \t\t\tmargin:0;/*余計な隙間を除く*/
  304. \t\t\tpadding:0;/*余計な隙間を除く*/
  305. \t\t\tcolor: white;/*文字色*/
  306. \t\t\tfont-size: 40px;/*文字サイズ*/
  307. \t\t\ttext-align:center;/*pタグ内で更に中央寄せ*/
  308. \t\t\tfont-family: 'Quicksand',sans-serif;
  309. \t\t\tfont-weight: \"bold\";
  310. \t\t}
  311.     </style>
  312. {% endblock %}
  313. {% block javascript %}
  314.     <script>
  315.         \$(function() {
  316.             \$('.main_visual').slick({
  317.                 dots: true,
  318.                 arrows: false,
  319.                 autoplay: true,
  320.                 speed: 300
  321.             });
  322.         });
  323.     </script>
  324. {% endblock javascript %}
  325. {% block main %}
  326.     <div class=\"ec-sliderRole\">
  327.         <div class=\"main_visual\">
  328.             <div class=\"item slick-slide header-photo\"><img src=\"https://www.teamlab.art/images/pc-l/28989\"><h2 class=\"index-title fontweight-bold\">タスタス<br />アートギャラリーカフェ</h2></div>
  329.             <div class=\"item slick-slide header-photo\"><img src=\"https://www.gannett-cdn.com/presto/2022/05/02/PPHX/f00d9880-c9d2-41a2-b71b-f47e68f51ffc-Ellen_Nemetz_Pop-upload.JPG?crop=1919,1080,x0,y153&width=1919&height=1080&format=pjpg&auto=webp\"><h2 class=\"index-title fontweight-bold\">タスタス<br />アートギャラリーカフェ</h2></div>
  330.             <div class=\"item slick-slide header-photo\"><img src=\"https://d23.com/app/uploads/2020/01/1180w-463h_010920-riviera-art-gallery-780x440.jpg\"><h2 class=\"index-title fontweight-bold\">タスタス<br />アートギャラリーカフェ</h2></div>
  331.         </div>
  332.     </div>
  333. {% endblock %}
  334. ""index.twig""/home/xs230941/tas-lab.net/public_html/app/template/default/index.twig");
  335.     }
  336. }