var/cache/dev/twig/af/af461037c14ad552c05102e3f3b39d6e.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. /* main/default/blog.html.twig */
  14. class __TwigTemplate_913efbc47a6ea580b5cae1ab23495627 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.             'description' => [$this'block_description'],
  25.             'content' => [$this'block_content'],
  26.             'body_js' => [$this'block_body_js'],
  27.         ];
  28.     }
  29.     protected function doGetParent(array $context)
  30.     {
  31.         // line 1
  32.         return "main_base.html.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""main/default/blog.html.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""main/default/blog.html.twig"));
  41.         $this->parent $this->loadTemplate("main_base.html.twig""main/default/blog.html.twig"1);
  42.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  43.         
  44.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  45.         
  46.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  47.     }
  48.     // line 2
  49.     public function block_title($context, array $blocks = [])
  50.     {
  51.         $macros $this->macros;
  52.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  53.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  55.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  56.         echo "Blog";
  57.         
  58.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  59.         
  60.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  61.     }
  62.     // line 3
  63.     public function block_description($context, array $blocks = [])
  64.     {
  65.         $macros $this->macros;
  66.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  67.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""description"));
  68.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  69.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""description"));
  70.         echo "Blog";
  71.         
  72.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  73.         
  74.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  75.     }
  76.     // line 7
  77.     public function block_content($context, array $blocks = [])
  78.     {
  79.         $macros $this->macros;
  80.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  81.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  82.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  83.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  84.         // line 8
  85.         echo "    <style>
  86.         .navbar__section-links__wrapper :not(.BLOG) {
  87.             opacity: 0.4 !important;
  88.         }
  89.         .navbar__section-logo__wrapper-img {
  90.             filter: brightness(0) invert(1) !important;
  91.         }
  92.         .production__section-sliders-slider-description {
  93.             margin-right: 10rem;
  94.         }
  95.         .navbar__section::before {
  96.             content: \"\";
  97.             position: absolute;
  98.             top: 0;
  99.             right: 0;
  100.             left: 0;
  101.             bottom: 0;
  102.             background: rgba(0, 0, 0, 0.4);
  103.             z-index: -1;
  104.         }
  105.         .navbar__section::after {
  106.             content: \"\";
  107.             background-image: url(\"";
  108.         // line 36
  109.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/main/images/navbar/navbar-bg-blog.png"), "html"nulltrue);
  110.         echo "\");
  111.             background-position: center;
  112.             background-size: cover;
  113.             position: absolute;
  114.             top: 0;
  115.             right: 0;
  116.             left: 0;
  117.             bottom: 0;
  118.             z-index: -2;
  119.         }
  120.         .video__section {
  121.             margin-top: 0 !important;
  122.             padding-bottom: 8% !important;
  123.         }
  124.         .blog__section-description h2 {
  125.             margin-right: 0;
  126.         }
  127.         .blog__section-description p {
  128.             padding-right: 35%;
  129.         }
  130.     </style>
  131.     <style>
  132.         ";
  133.         // line 65
  134.         echo "        ";
  135.         // line 66
  136.         echo "        ";
  137.         // line 67
  138.         echo "        ";
  139.         // line 68
  140.         echo "        ";
  141.         // line 69
  142.         echo "        ";
  143.         // line 70
  144.         echo "        ";
  145.         // line 71
  146.         echo "        ";
  147.         // line 72
  148.         echo "
  149.         ";
  150.         // line 74
  151.         echo "        ";
  152.         // line 75
  153.         echo "        ";
  154.         // line 76
  155.         echo "        ";
  156.         // line 77
  157.         echo "        ";
  158.         // line 78
  159.         echo "        ";
  160.         // line 79
  161.         echo "        ";
  162.         // line 80
  163.         echo "        ";
  164.         // line 81
  165.         echo "        ";
  166.         // line 82
  167.         echo "        ";
  168.         // line 83
  169.         echo "        ";
  170.         // line 84
  171.         echo "        ";
  172.         // line 85
  173.         echo "        ";
  174.         // line 86
  175.         echo "        ";
  176.         // line 87
  177.         echo "        ";
  178.         // line 88
  179.         echo "        ";
  180.         echo "</style>
  181.     <div id=\"blog\">
  182.         ";
  183.         // line 90
  184.         $this->loadTemplate("main/default/loader.html.twig""main/default/blog.html.twig"90)->display($context);
  185.         // line 91
  186.         echo "        ";
  187.         $this->loadTemplate("main/default/cookie.html.twig""main/default/blog.html.twig"91)->display($context);
  188.         // line 92
  189.         echo "        <div class=\"main-container\">
  190.             <div class=\"blog__section\">
  191.                 <div class=\"blog__section-active__page\">
  192.                     <p><a href=\"";
  193.         // line 95
  194.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_main_default");
  195.         echo "\">Elefante</a> / <a class=\"active\" href=\"\">Blog</a></p>
  196.                 </div>
  197.                 ";
  198.         // line 97
  199.         $context['_parent'] = $context;
  200.         $context['_seq'] = twig_ensure_traversable((isset($context["blogResim"]) || array_key_exists("blogResim"$context) ? $context["blogResim"] : (function () { throw new RuntimeError('Variable "blogResim" does not exist.'97$this->source); })()));
  201.         $context['loop'] = [
  202.           'parent' => $context['_parent'],
  203.           'index0' => 0,
  204.           'index'  => 1,
  205.           'first'  => true,
  206.         ];
  207.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  208.             $length count($context['_seq']);
  209.             $context['loop']['revindex0'] = $length 1;
  210.             $context['loop']['revindex'] = $length;
  211.             $context['loop']['length'] = $length;
  212.             $context['loop']['last'] = === $length;
  213.         }
  214.         foreach ($context['_seq'] as $context["_key"] => $context["blog"]) {
  215.             // line 98
  216.             echo "
  217.                     ";
  218.             // line 99
  219.             $context["classNames"] = [=> ""=> " blog__flexible__second"];
  220.             // line 100
  221.             echo "                    <div class=\"blog__flexible";
  222.             echo twig_escape_filter($this->env, (((twig_get_attribute($this->env$this->source, ($context["classNames"] ?? null), twig_get_attribute($this->env$this->source$context["loop"], "index0", [], "any"falsefalsefalse100), [], "array"truetruefalse100) &&  !(null === twig_get_attribute($this->env$this->source, ($context["classNames"] ?? null), twig_get_attribute($this->env$this->source$context["loop"], "index0", [], "any"falsefalsefalse100), [], "array"falsefalsefalse100)))) ? (twig_get_attribute($this->env$this->source, ($context["classNames"] ?? null), twig_get_attribute($this->env$this->source$context["loop"], "index0", [], "any"falsefalsefalse100), [], "array"falsefalsefalse100)) : (twig_last($this->env, (isset($context["classNames"]) || array_key_exists("classNames"$context) ? $context["classNames"] : (function () { throw new RuntimeError('Variable "classNames" does not exist.'100$this->source); })())))), "html"nulltrue);
  223.             echo "\">
  224.                         <div class=\"blog__column__left blog__column\">
  225.                             <div class=\"blog__link\">
  226.                                 <div class=\"feature__text__paired\">
  227.                                     <div class=\"title__relative\">
  228.                                         <h2 class=\"majortitle\">
  229.                                             ";
  230.             // line 106
  231.             $context['_parent'] = $context;
  232.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$context["blog"], "diller", [], "any"falsefalsefalse106));
  233.             foreach ($context['_seq'] as $context["_key"] => $context["dil"]) {
  234.                 // line 107
  235.                 echo "                                                ";
  236.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["dil"], "baslik", [], "any"falsefalsefalse107), "html"nulltrue);
  237.                 echo "
  238.                                             ";
  239.             }
  240.             $_parent $context['_parent'];
  241.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['dil'], $context['_parent'], $context['loop']);
  242.             $context array_intersect_key($context$_parent) + $_parent;
  243.             // line 109
  244.             echo "                                        </h2>
  245.                                     </div>
  246.                                     <div class=\"center__text\"><p>
  247.                                             ";
  248.             // line 115
  249.             $context['_parent'] = $context;
  250.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$context["blog"], "diller", [], "any"falsefalsefalse115));
  251.             foreach ($context['_seq'] as $context["_key"] => $context["dil"]) {
  252.                 // line 116
  253.                 echo "                                                ";
  254.                 echo twig_get_attribute($this->env$this->source$context["dil"], "title", [], "any"falsefalsefalse116);
  255.                 echo "
  256.                                             ";
  257.             }
  258.             $_parent $context['_parent'];
  259.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['dil'], $context['_parent'], $context['loop']);
  260.             $context array_intersect_key($context$_parent) + $_parent;
  261.             // line 118
  262.             echo "                                        </p>
  263.                                         <p></p>
  264.                                         <p>
  265.                                             ";
  266.             // line 121
  267.             $context['_parent'] = $context;
  268.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$context["blog"], "diller", [], "any"falsefalsefalse121));
  269.             foreach ($context['_seq'] as $context["_key"] => $context["dil"]) {
  270.                 // line 122
  271.                 echo "                                                ";
  272.                 echo twig_get_attribute($this->env$this->source$context["dil"], "description", [], "any"falsefalsefalse122);
  273.                 echo "
  274.                                             ";
  275.             }
  276.             $_parent $context['_parent'];
  277.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['dil'], $context['_parent'], $context['loop']);
  278.             $context array_intersect_key($context$_parent) + $_parent;
  279.             // line 124
  280.             echo "                                        </p>
  281.                                     </div>
  282.                                     <div class=\"lightly__spaced__row__above\">
  283.                                         ";
  284.             // line 128
  285.             $context['_parent'] = $context;
  286.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$context["blog"], "bolumler", [], "any"falsefalsefalse128));
  287.             $context['_iterated'] = false;
  288.             foreach ($context['_seq'] as $context["_key"] => $context["detay"]) {
  289.                 // line 129
  290.                 echo "
  291.                                             <a class=\"btn btn--primary\"
  292.                                                href=\"";
  293.                 // line 131
  294.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_main_bolum", ["code" => twig_get_attribute($this->env$this->source$context["detay"], "code", [], "any"falsefalsefalse131)]), "html"nulltrue);
  295.                 echo "\">CONTINUE
  296.                                                 READING</a> ";
  297.                 $context['_iterated'] = true;
  298.             }
  299.             if (!$context['_iterated']) {
  300.                 // line 133
  301.                 echo "                                            <a class=\"btn btn--primary\" href=\"\">CONTINUE READING</a>
  302.                                         ";
  303.             }
  304.             $_parent $context['_parent'];
  305.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['detay'], $context['_parent'], $context['loop']);
  306.             $context array_intersect_key($context$_parent) + $_parent;
  307.             // line 135
  308.             echo "                                    </div>
  309.                                 </div>
  310.                             </div>
  311.                         </div>
  312.                         <div class=\"blog__column__right blog__column\">
  313.                             <a href=\"\" class=\"blog__link\">
  314.                                 <div class=\"image__overlap\">
  315.                                     ";
  316.             // line 143
  317.             $context['_parent'] = $context;
  318.             $context['_seq'] = twig_ensure_traversable(twig_sort_filter($this->envtwig_array_filter($this->envtwig_get_attribute($this->env$this->source$context["blog"], "resimler", [], "any"falsefalsefalse143), function ($__r__) use ($context$macros) { $context["r"] = $__r__; return (twig_get_attribute($this->env$this->source, (isset($context["r"]) || array_key_exists("r"$context) ? $context["r"] : (function () { throw new RuntimeError('Variable "r" does not exist.'143$this->source); })()), "del", [], "any"falsefalsefalse143) == 0); }), function ($__a__$__b__) use ($context$macros) { $context["a"] = $__a__$context["b"] = $__b__; return (twig_get_attribute($this->env$this->source, (isset($context["a"]) || array_key_exists("a"$context) ? $context["a"] : (function () { throw new RuntimeError('Variable "a" does not exist.'143$this->source); })()), "sira", [], "any"falsefalsefalse143) > twig_get_attribute($this->env$this->source, (isset($context["b"]) || array_key_exists("b"$context) ? $context["b"] : (function () { throw new RuntimeError('Variable "b" does not exist.'143$this->source); })()), "sira", [], "any"falsefalsefalse143)); }));
  319.             $context['loop'] = [
  320.               'parent' => $context['_parent'],
  321.               'index0' => 0,
  322.               'index'  => 1,
  323.               'first'  => true,
  324.             ];
  325.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  326.                 $length count($context['_seq']);
  327.                 $context['loop']['revindex0'] = $length 1;
  328.                 $context['loop']['revindex'] = $length;
  329.                 $context['loop']['length'] = $length;
  330.                 $context['loop']['last'] = === $length;
  331.             }
  332.             foreach ($context['_seq'] as $context["_key"] => $context["resim"]) {
  333.                 // line 144
  334.                 echo "                                        <div class=\"image__overlap__image overlap__image__";
  335.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse144), "html"nulltrue);
  336.                 echo "\">
  337.                                             <div class=\"image__overlap__wrapper\">
  338.                                                 <img
  339.                                                         src=\"";
  340.                 // line 149
  341.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("uploads/blog/" twig_get_attribute($this->env$this->source$context["resim"], "resim", [], "any"falsefalsefalse149))), "html"nulltrue);
  342.                 echo "\"
  343.                                                         alt=\"\">
  344.                                             </div>
  345.                                         </div>    ";
  346.                 ++$context['loop']['index0'];
  347.                 ++$context['loop']['index'];
  348.                 $context['loop']['first'] = false;
  349.                 if (isset($context['loop']['length'])) {
  350.                     --$context['loop']['revindex0'];
  351.                     --$context['loop']['revindex'];
  352.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  353.                 }
  354.             }
  355.             $_parent $context['_parent'];
  356.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['resim'], $context['_parent'], $context['loop']);
  357.             $context array_intersect_key($context$_parent) + $_parent;
  358.             // line 155
  359.             echo "
  360.                                 </div>
  361.                             </a>
  362.                         </div>
  363.                     </div>
  364.                 ";
  365.             ++$context['loop']['index0'];
  366.             ++$context['loop']['index'];
  367.             $context['loop']['first'] = false;
  368.             if (isset($context['loop']['length'])) {
  369.                 --$context['loop']['revindex0'];
  370.                 --$context['loop']['revindex'];
  371.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  372.             }
  373.         }
  374.         $_parent $context['_parent'];
  375.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['blog'], $context['_parent'], $context['loop']);
  376.         $context array_intersect_key($context$_parent) + $_parent;
  377.         // line 163
  378.         echo "
  379.             </div>
  380.         </div>
  381.     </div>
  382. ";
  383.         
  384.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  385.         
  386.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  387.     }
  388.     // line 169
  389.     public function block_body_js($context, array $blocks = [])
  390.     {
  391.         $macros $this->macros;
  392.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  393.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body_js"));
  394.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  395.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body_js"));
  396.         // line 170
  397.         echo "    ";
  398.         $this->loadTemplate("main/default/scripts.html.twig""main/default/blog.html.twig"170)->display($context);
  399.         
  400.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  401.         
  402.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  403.     }
  404.     public function getTemplateName()
  405.     {
  406.         return "main/default/blog.html.twig";
  407.     }
  408.     public function isTraitable()
  409.     {
  410.         return false;
  411.     }
  412.     public function getDebugInfo()
  413.     {
  414.         return array (  450 => 170,  440 => 169,  425 => 163,  404 => 155,  384 => 149,  375 => 144,  358 => 143,  348 => 135,  341 => 133,  334 => 131,  330 => 129,  325 => 128,  319 => 124,  310 => 122,  306 => 121,  301 => 118,  292 => 116,  288 => 115,  280 => 109,  271 => 107,  267 => 106,  257 => 100,  255 => 99,  252 => 98,  235 => 97,  230 => 95,  225 => 92,  222 => 91,  220 => 90,  215 => 88,  213 => 87,  211 => 86,  209 => 85,  207 => 84,  205 => 83,  203 => 82,  201 => 81,  199 => 80,  197 => 79,  195 => 78,  193 => 77,  191 => 76,  189 => 75,  187 => 74,  184 => 72,  182 => 71,  180 => 70,  178 => 69,  176 => 68,  174 => 67,  172 => 66,  170 => 65,  139 => 36,  109 => 8,  99 => 7,  80 => 3,  61 => 2,  38 => 1,);
  415.     }
  416.     public function getSourceContext()
  417.     {
  418.         return new Source("{% extends 'main_base.html.twig' %}
  419. {% block title %}Blog{% endblock %}
  420. {% block description %}Blog{% endblock %}
  421. {% block content %}
  422.     <style>
  423.         .navbar__section-links__wrapper :not(.BLOG) {
  424.             opacity: 0.4 !important;
  425.         }
  426.         .navbar__section-logo__wrapper-img {
  427.             filter: brightness(0) invert(1) !important;
  428.         }
  429.         .production__section-sliders-slider-description {
  430.             margin-right: 10rem;
  431.         }
  432.         .navbar__section::before {
  433.             content: \"\";
  434.             position: absolute;
  435.             top: 0;
  436.             right: 0;
  437.             left: 0;
  438.             bottom: 0;
  439.             background: rgba(0, 0, 0, 0.4);
  440.             z-index: -1;
  441.         }
  442.         .navbar__section::after {
  443.             content: \"\";
  444.             background-image: url(\"{{ asset('assets/main/images/navbar/navbar-bg-blog.png') }}\");
  445.             background-position: center;
  446.             background-size: cover;
  447.             position: absolute;
  448.             top: 0;
  449.             right: 0;
  450.             left: 0;
  451.             bottom: 0;
  452.             z-index: -2;
  453.         }
  454.         .video__section {
  455.             margin-top: 0 !important;
  456.             padding-bottom: 8% !important;
  457.         }
  458.         .blog__section-description h2 {
  459.             margin-right: 0;
  460.         }
  461.         .blog__section-description p {
  462.             padding-right: 35%;
  463.         }
  464.     </style>
  465.     <style>
  466.         {#    <section class=\"page-section\" id=\"pageBanner\">#}
  467.         {#        <img class=\"banner-img\" src=\"{{ asset('uploads/blog/banner/'~blogDil.blog.banner) }}\" alt=\"\">#}
  468.         {#        <div class=\"box-cover banner-content\">#}
  469.         {#            <h1 class=\"banner-title\">COLOSSAE</h1>#}
  470.         {#            <div class=\"banner-subtitle\">{{ blogDil.baslik }}</div>#}
  471.         {#            <a class=\"slide-to-down\" href=\"#\">Aşağı Kaydır</a>#}
  472.         {#        </div>#}
  473.         {#    </section>#}
  474.         {#    <section class=\"page-section\" id=\"pageContent\">#}
  475.         {#        {% for bolum in blogDil.blog.bolumler %}#}
  476.         {#            {% set defaultDil = bolum.diller|filter(d => d.dil.kisaBaslik == app.request.locale)|first %}#}
  477.         {#            <div class=\"content-row\">#}
  478.         {#                <div class=\"content-box x-align-center\">#}
  479.         {#                    <h2 class=\"box-title\">{{ defaultDil.baslik }}</h2>#}
  480.         {#                    {{ defaultDil.metin|raw }}#}
  481.         {#                </div>#}
  482.         {#                <div class=\"content-box scroll-animation slide-screen\">#}
  483.         {#                    {% for resim in bolum.resimler|filter(r => r.del == 0) %}#}
  484.         {#                        <img src=\"{{ asset('uploads/blog/bolum/'~resim.resim) }}\" alt=\"\">#}
  485.         {#                    {% endfor %}#}
  486.         {#                </div>#}
  487.         {#            </div>#}
  488.         {#        {% endfor %}#}
  489.         {#    </section> #}</style>
  490.     <div id=\"blog\">
  491.         {% include 'main/default/loader.html.twig' %}
  492.         {% include 'main/default/cookie.html.twig' %}
  493.         <div class=\"main-container\">
  494.             <div class=\"blog__section\">
  495.                 <div class=\"blog__section-active__page\">
  496.                     <p><a href=\"{{ path('app_main_default') }}\">Elefante</a> / <a class=\"active\" href=\"\">Blog</a></p>
  497.                 </div>
  498.                 {% for blog in blogResim %}
  499.                     {% set classNames = ['', ' blog__flexible__second' ] %}
  500.                     <div class=\"blog__flexible{{ classNames[loop.index0] ?? classNames|last }}\">
  501.                         <div class=\"blog__column__left blog__column\">
  502.                             <div class=\"blog__link\">
  503.                                 <div class=\"feature__text__paired\">
  504.                                     <div class=\"title__relative\">
  505.                                         <h2 class=\"majortitle\">
  506.                                             {% for dil in blog.diller %}
  507.                                                 {{ dil.baslik }}
  508.                                             {% endfor %}
  509.                                         </h2>
  510.                                     </div>
  511.                                     <div class=\"center__text\"><p>
  512.                                             {% for dil in blog.diller %}
  513.                                                 {{ dil.title|raw }}
  514.                                             {% endfor %}
  515.                                         </p>
  516.                                         <p></p>
  517.                                         <p>
  518.                                             {% for dil in blog.diller %}
  519.                                                 {{ dil.description|raw }}
  520.                                             {% endfor %}
  521.                                         </p>
  522.                                     </div>
  523.                                     <div class=\"lightly__spaced__row__above\">
  524.                                         {% for detay in blog.bolumler %}
  525.                                             <a class=\"btn btn--primary\"
  526.                                                href=\"{{ path('app_main_bolum', {'code': detay.code}) }}\">CONTINUE
  527.                                                 READING</a> {% else %}
  528.                                             <a class=\"btn btn--primary\" href=\"\">CONTINUE READING</a>
  529.                                         {% endfor %}
  530.                                     </div>
  531.                                 </div>
  532.                             </div>
  533.                         </div>
  534.                         <div class=\"blog__column__right blog__column\">
  535.                             <a href=\"\" class=\"blog__link\">
  536.                                 <div class=\"image__overlap\">
  537.                                     {% for resim in blog.resimler|filter(r => r.del == 0)|sort((a,b) => a.sira > b.sira) %}
  538.                                         <div class=\"image__overlap__image overlap__image__{{ loop.index }}\">
  539.                                             <div class=\"image__overlap__wrapper\">
  540.                                                 <img
  541.                                                         src=\"{{ asset('uploads/blog/' ~ resim.resim) }}\"
  542.                                                         alt=\"\">
  543.                                             </div>
  544.                                         </div>    {% endfor %}
  545.                                 </div>
  546.                             </a>
  547.                         </div>
  548.                     </div>
  549.                 {% endfor %}
  550.             </div>
  551.         </div>
  552.     </div>
  553. {% endblock %}
  554. {% block body_js %}
  555.     {% include 'main/default/scripts.html.twig' %}
  556. {% endblock %}
  557. ""main/default/blog.html.twig""/home/technoon/public_html/elefante/templates/main/default/blog.html.twig");
  558.     }
  559. }