var/cache/dev/twig/45/457ce98ca88405eec3543046085b4f97.php line 82

  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. /* @BitBagSyliusCmsPlugin/Shop/FrequentlyAskedQuestion/index.html.twig */
  14. class __TwigTemplate_0cae8c3c477578e1f23031754ed53302 extends 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.             'title' => [$this'block_title'],
  24.             'post_header' => [$this'block_post_header'],
  25.             'body' => [$this'block_body'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 1
  31.         return $this->loadTemplate(twig_get_attribute($this->env$this->source, (isset($context["nglayouts"]) || array_key_exists("nglayouts"$context) ? $context["nglayouts"] : (function () { throw new RuntimeError('Variable "nglayouts" does not exist.'1$this->source); })()), "layoutTemplate", [], "any"falsefalsefalse1), "@BitBagSyliusCmsPlugin/Shop/FrequentlyAskedQuestion/index.html.twig"1);
  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""@BitBagSyliusCmsPlugin/Shop/FrequentlyAskedQuestion/index.html.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""@BitBagSyliusCmsPlugin/Shop/FrequentlyAskedQuestion/index.html.twig"));
  40.         $this->getParent($context)->display($contextarray_merge($this->blocks$blocks));
  41.         
  42.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  43.         
  44.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  45.     }
  46.     // line 4
  47.     public function block_title($context, array $blocks = [])
  48.     {
  49.         $macros $this->macros;
  50.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  51.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  52.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  53.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  54.         // line 5
  55.         echo "\t";
  56.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.about_us"), "html"nulltrue);
  57.         echo "
  58. ";
  59.         
  60.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  61.         
  62.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  63.     }
  64.     // line 7
  65.     public function block_post_header($context, array $blocks = [])
  66.     {
  67.         $macros $this->macros;
  68.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  69.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""post_header"));
  70.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  71.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""post_header"));
  72.         // line 8
  73.         echo "\t";
  74.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("bitbag_sylius_cms_plugin_shop_media_render", ["code" => "faq_post_header""template" => "frontend/cms/common/media/_header.html.twig"]));
  75.         echo "
  76. ";
  77.         
  78.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  79.         
  80.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  81.     }
  82.     // line 10
  83.     public function block_body($context, array $blocks = [])
  84.     {
  85.         $macros $this->macros;
  86.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  87.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  88.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  89.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  90.         // line 11
  91.         echo "
  92. \t<!-- Features Section Two -->
  93. \t<section class=\"features-section-two\">
  94. \t\t<div class=\"auto-container\">
  95. \t\t\t<div class=\"outer-box\">
  96. \t\t\t\t<span class=\"icon-plane\"></span>
  97. \t\t\t\t<div class=\"row\">
  98. \t\t\t\t\t<div class=\"title-column col-md-8 col-xl-6\">
  99. \t\t\t\t\t\t<div class=\"inner-column\">
  100. \t\t\t\t\t\t\t<div class=\"sec-title light\">
  101. \t\t\t\t\t\t\t\t<span class=\"sub-title\">Check our faqs</span>
  102. \t\t\t\t\t\t\t\t<h2>Looking for best
  103. \t\t\t\t\t\t\t\t\t<br>Corrugated Boxes and 
  104. \t\t\t\t\t\t\t\t\t<span class=\"color2\">folding cartons solutions</span>
  105. \t\t\t\t\t\t\t\t</h2>
  106. \t\t\t\t\t\t\t</div>
  107. \t\t\t\t\t\t</div>
  108. \t\t\t\t\t</div>
  109. \t\t\t\t\t<div class=\"features-column col-md-4 col-xl-6\">
  110. \t\t\t\t\t\t<div class=\"inner-column\">
  111. \t\t\t\t\t\t\t<ul class=\"list-style-two\">
  112. \t\t\t\t\t\t\t\t<li>
  113. \t\t\t\t\t\t\t\t\t<i class=\"fa fa-check-circle\"></i>
  114. \t\t\t\t\t\t\t\t\tReliability</li>
  115. \t\t\t\t\t\t\t\t<li>
  116. \t\t\t\t\t\t\t\t\t<i class=\"fa fa-check-circle\"></i>
  117. \t\t\t\t\t\t\t\t\tTrusted Franchise</li>
  118. \t\t\t\t\t\t\t\t<li>
  119. \t\t\t\t\t\t\t\t\t<i class=\"fa fa-check-circle\"></i>
  120. \t\t\t\t\t\t\t\t\tOnline Quote Request</li>
  121. \t\t\t\t\t\t\t\t<li>
  122. \t\t\t\t\t\t\t\t\t<i class=\"fa fa-check-circle\"></i>
  123. \t\t\t\t\t\t\t\t\tWarehoues Storage</li>
  124. \t\t\t\t\t\t\t</ul>
  125. \t\t\t\t\t\t\t<figure class=\"image\"><img src=\"images/resource/image-5.png\" alt=\"\"></figure>
  126. \t\t\t\t\t\t</div>
  127. \t\t\t\t\t</div>
  128. \t\t\t\t</div>
  129. \t\t\t</div>
  130. \t\t</div>
  131. \t</section>
  132. \t<!-- End Features Section Two -->
  133. \t<!-- FAQ Section -->
  134. \t<section class=\"faqs-section pull-up\">
  135. \t\t<div class=\"bg bg-pattern-9\"></div>
  136. \t\t<div class=\"auto-container\">
  137. \t\t\t";
  138.         // line 59
  139.         if ((twig_length_filter($this->env, (isset($context["resources"]) || array_key_exists("resources"$context) ? $context["resources"] : (function () { throw new RuntimeError('Variable "resources" does not exist.'59$this->source); })())) > 0)) {
  140.             // line 60
  141.             echo "\t\t\t\t<div
  142. \t\t\t\t\tclass=\"row\">
  143. \t\t\t\t\t<!-- Image Column -->
  144. \t\t\t\t\t<div class=\"image-column col-lg-6\">
  145. \t\t\t\t\t\t<div class=\"image-box\">
  146. \t\t\t\t\t\t\t<span class=\"sub-title bounce-y\">100% Success Rate</span>
  147. \t\t\t\t\t\t\t<figure class=\"image-1\"><img src=\"";
  148.             // line 66
  149.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/image/image-1.png"), "html"nulltrue);
  150.             echo "\" alt=\"\"></figure>
  151. \t\t\t\t\t\t\t<figure class=\"plane-icon\"><img src=\"images/resource/plane-2.png\" alt=\"\"></figure>
  152. \t\t\t\t\t\t</div>
  153. \t\t\t\t\t</div>
  154. \t\t\t\t\t<!-- FAQ Column -->
  155. \t\t\t\t\t<div class=\"faq-column col-lg-6\">
  156. \t\t\t\t\t\t<div class=\"inner-column\">
  157. \t\t\t\t\t\t\t<div class=\"sec-title\">
  158. \t\t\t\t\t\t\t\t<span class=\"sub-title\">check our faqs</span>
  159. \t\t\t\t\t\t\t\t<h2>People frequently asked
  160. \t\t\t\t\t\t\t\t\t<br>few
  161. \t\t\t\t\t\t\t\t\t<span class=\"color1\">questions</span>
  162. \t\t\t\t\t\t\t\t</h2>
  163. \t\t\t\t\t\t\t</div>
  164. \t\t\t\t\t\t\t<ul
  165. \t\t\t\t\t\t\t\tclass=\"accordion-box wow fadeInRight\">
  166. \t\t\t\t\t\t\t\t<!--Block-->
  167. \t\t\t\t\t\t\t\t";
  168.             // line 83
  169.             $context['_parent'] = $context;
  170.             $context['_seq'] = twig_ensure_traversable((isset($context["resources"]) || array_key_exists("resources"$context) ? $context["resources"] : (function () { throw new RuntimeError('Variable "resources" does not exist.'83$this->source); })()));
  171.             foreach ($context['_seq'] as $context["_key"] => $context["frequentlyAskedQuestion"]) {
  172.                 // line 84
  173.                 echo "\t\t\t\t\t\t\t\t\t<li class=\"accordion block\">
  174. \t\t\t\t\t\t\t\t\t\t<div class=\"acc-btn\">";
  175.                 // line 85
  176.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["frequentlyAskedQuestion"], "question", [], "any"falsefalsefalse85), "html"nulltrue);
  177.                 echo "
  178. \t\t\t\t\t\t\t\t\t\t\t<div class=\"icon fa fa-angle-right\"></div>
  179. \t\t\t\t\t\t\t\t\t\t</div>
  180. \t\t\t\t\t\t\t\t\t\t<div class=\"acc-content\">
  181. \t\t\t\t\t\t\t\t\t\t\t<div class=\"content\">
  182. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"text\">";
  183.                 // line 90
  184.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["frequentlyAskedQuestion"], "answer", [], "any"falsefalsefalse90), "html"nulltrue);
  185.                 echo "</div>
  186. \t\t\t\t\t\t\t\t\t\t\t</div>
  187. \t\t\t\t\t\t\t\t\t\t</div>
  188. \t\t\t\t\t\t\t\t\t</li>
  189. \t\t\t\t\t\t\t\t";
  190.             }
  191.             $_parent $context['_parent'];
  192.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['frequentlyAskedQuestion'], $context['_parent'], $context['loop']);
  193.             $context array_intersect_key($context$_parent) + $_parent;
  194.             // line 95
  195.             echo "\t\t\t\t\t\t\t</ul>
  196. \t\t\t\t\t\t</div>
  197. \t\t\t\t\t</div>
  198. \t\t\t\t</div>
  199. \t\t\t";
  200.         }
  201.         // line 100
  202.         echo "\t\t</div>
  203. \t</section> 
  204. ";
  205.         
  206.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  207.         
  208.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  209.     }
  210.     public function getTemplateName()
  211.     {
  212.         return "@BitBagSyliusCmsPlugin/Shop/FrequentlyAskedQuestion/index.html.twig";
  213.     }
  214.     public function isTraitable()
  215.     {
  216.         return false;
  217.     }
  218.     public function getDebugInfo()
  219.     {
  220.         return array (  228 => 100,  221 => 95,  210 => 90,  202 => 85,  199 => 84,  195 => 83,  175 => 66,  167 => 60,  165 => 59,  115 => 11,  105 => 10,  92 => 8,  82 => 7,  69 => 5,  59 => 4,  37 => 1,);
  221.     }
  222.     public function getSourceContext()
  223.     {
  224.         return new Source("{% extends nglayouts.layoutTemplate %}
  225. {% block title %}
  226. \t{{'app.ui.about_us'|trans}}
  227. {% endblock %}
  228. {% block post_header %}
  229. \t{{ render(path('bitbag_sylius_cms_plugin_shop_media_render', {'code' : 'faq_post_header', 'template' : 'frontend/cms/common/media/_header.html.twig'})) }}
  230. {% endblock %}
  231. {% block body %}
  232. \t<!-- Features Section Two -->
  233. \t<section class=\"features-section-two\">
  234. \t\t<div class=\"auto-container\">
  235. \t\t\t<div class=\"outer-box\">
  236. \t\t\t\t<span class=\"icon-plane\"></span>
  237. \t\t\t\t<div class=\"row\">
  238. \t\t\t\t\t<div class=\"title-column col-md-8 col-xl-6\">
  239. \t\t\t\t\t\t<div class=\"inner-column\">
  240. \t\t\t\t\t\t\t<div class=\"sec-title light\">
  241. \t\t\t\t\t\t\t\t<span class=\"sub-title\">Check our faqs</span>
  242. \t\t\t\t\t\t\t\t<h2>Looking for best
  243. \t\t\t\t\t\t\t\t\t<br>Corrugated Boxes and 
  244. \t\t\t\t\t\t\t\t\t<span class=\"color2\">folding cartons solutions</span>
  245. \t\t\t\t\t\t\t\t</h2>
  246. \t\t\t\t\t\t\t</div>
  247. \t\t\t\t\t\t</div>
  248. \t\t\t\t\t</div>
  249. \t\t\t\t\t<div class=\"features-column col-md-4 col-xl-6\">
  250. \t\t\t\t\t\t<div class=\"inner-column\">
  251. \t\t\t\t\t\t\t<ul class=\"list-style-two\">
  252. \t\t\t\t\t\t\t\t<li>
  253. \t\t\t\t\t\t\t\t\t<i class=\"fa fa-check-circle\"></i>
  254. \t\t\t\t\t\t\t\t\tReliability</li>
  255. \t\t\t\t\t\t\t\t<li>
  256. \t\t\t\t\t\t\t\t\t<i class=\"fa fa-check-circle\"></i>
  257. \t\t\t\t\t\t\t\t\tTrusted Franchise</li>
  258. \t\t\t\t\t\t\t\t<li>
  259. \t\t\t\t\t\t\t\t\t<i class=\"fa fa-check-circle\"></i>
  260. \t\t\t\t\t\t\t\t\tOnline Quote Request</li>
  261. \t\t\t\t\t\t\t\t<li>
  262. \t\t\t\t\t\t\t\t\t<i class=\"fa fa-check-circle\"></i>
  263. \t\t\t\t\t\t\t\t\tWarehoues Storage</li>
  264. \t\t\t\t\t\t\t</ul>
  265. \t\t\t\t\t\t\t<figure class=\"image\"><img src=\"images/resource/image-5.png\" alt=\"\"></figure>
  266. \t\t\t\t\t\t</div>
  267. \t\t\t\t\t</div>
  268. \t\t\t\t</div>
  269. \t\t\t</div>
  270. \t\t</div>
  271. \t</section>
  272. \t<!-- End Features Section Two -->
  273. \t<!-- FAQ Section -->
  274. \t<section class=\"faqs-section pull-up\">
  275. \t\t<div class=\"bg bg-pattern-9\"></div>
  276. \t\t<div class=\"auto-container\">
  277. \t\t\t{% if resources|length > 0 %}
  278. \t\t\t\t<div
  279. \t\t\t\t\tclass=\"row\">
  280. \t\t\t\t\t<!-- Image Column -->
  281. \t\t\t\t\t<div class=\"image-column col-lg-6\">
  282. \t\t\t\t\t\t<div class=\"image-box\">
  283. \t\t\t\t\t\t\t<span class=\"sub-title bounce-y\">100% Success Rate</span>
  284. \t\t\t\t\t\t\t<figure class=\"image-1\"><img src=\"{{asset('assets/image/image-1.png')}}\" alt=\"\"></figure>
  285. \t\t\t\t\t\t\t<figure class=\"plane-icon\"><img src=\"images/resource/plane-2.png\" alt=\"\"></figure>
  286. \t\t\t\t\t\t</div>
  287. \t\t\t\t\t</div>
  288. \t\t\t\t\t<!-- FAQ Column -->
  289. \t\t\t\t\t<div class=\"faq-column col-lg-6\">
  290. \t\t\t\t\t\t<div class=\"inner-column\">
  291. \t\t\t\t\t\t\t<div class=\"sec-title\">
  292. \t\t\t\t\t\t\t\t<span class=\"sub-title\">check our faqs</span>
  293. \t\t\t\t\t\t\t\t<h2>People frequently asked
  294. \t\t\t\t\t\t\t\t\t<br>few
  295. \t\t\t\t\t\t\t\t\t<span class=\"color1\">questions</span>
  296. \t\t\t\t\t\t\t\t</h2>
  297. \t\t\t\t\t\t\t</div>
  298. \t\t\t\t\t\t\t<ul
  299. \t\t\t\t\t\t\t\tclass=\"accordion-box wow fadeInRight\">
  300. \t\t\t\t\t\t\t\t<!--Block-->
  301. \t\t\t\t\t\t\t\t{% for frequentlyAskedQuestion in resources %}
  302. \t\t\t\t\t\t\t\t\t<li class=\"accordion block\">
  303. \t\t\t\t\t\t\t\t\t\t<div class=\"acc-btn\">{{ frequentlyAskedQuestion.question }}
  304. \t\t\t\t\t\t\t\t\t\t\t<div class=\"icon fa fa-angle-right\"></div>
  305. \t\t\t\t\t\t\t\t\t\t</div>
  306. \t\t\t\t\t\t\t\t\t\t<div class=\"acc-content\">
  307. \t\t\t\t\t\t\t\t\t\t\t<div class=\"content\">
  308. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"text\">{{ frequentlyAskedQuestion.answer }}</div>
  309. \t\t\t\t\t\t\t\t\t\t\t</div>
  310. \t\t\t\t\t\t\t\t\t\t</div>
  311. \t\t\t\t\t\t\t\t\t</li>
  312. \t\t\t\t\t\t\t\t{% endfor %}
  313. \t\t\t\t\t\t\t</ul>
  314. \t\t\t\t\t\t</div>
  315. \t\t\t\t\t</div>
  316. \t\t\t\t</div>
  317. \t\t\t{% endif %}
  318. \t\t</div>
  319. \t</section> 
  320. {% endblock %}
  321. ""@BitBagSyliusCmsPlugin/Shop/FrequentlyAskedQuestion/index.html.twig""/srv/sylius/templates/bundles/BitBagSyliusCmsPlugin/Shop/FrequentlyAskedQuestion/index.html.twig");
  322.     }
  323. }