<?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;

/* ice_cream/base.html.twig */
class __TwigTemplate_dbebae2a99e17e2bf27aeb8704ac348e extends Template
{
    private $source;
    private $macros = [];

    public function __construct(Environment $env)
    {
        parent::__construct($env);

        $this->source = $this->getSourceContext();

        $this->parent = false;

        $this->blocks = [
            'stylesheets' => [$this, 'block_stylesheets'],
        ];
    }

    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", "ice_cream/base.html.twig"));

        $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "ice_cream/base.html.twig"));

        // line 1
        echo "<!DOCTYPE html>
<html lang=\"en\">
\t<head>
\t\t<meta charset=\"UTF-8\">
\t\t<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
\t\t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">
\t\t<link rel=\"preconnect\" href=\"https://fonts.googleapis.com\">
\t\t<link rel=\"preconnect\" href=\"https://fonts.gstatic.com\" crossorigin>
\t\t<link href=\"https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;700;900&display=swap\" rel=\"stylesheet\">
\t\t";
        // line 10
        $this->displayBlock('stylesheets', $context, $blocks);
        // line 13
        echo "\t\t<title>IceLAND</title>
\t</head>
\t<body>
\t\t<header>
\t\t\t<div class='logo'>
\t\t\t\t<p class=\"title\">IceLand</p>
\t\t\t</div>
\t\t</header>
\t\t<main class=\"main\">
\t\t\t<div class=\"table\">
\t\t\t\t";
        // line 23
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["products"]) || array_key_exists("products", $context) ? $context["products"] : (function () { throw new RuntimeError('Variable "products" does not exist.', 23, $this->source); })()));
        foreach ($context['_seq'] as $context["_key"] => $context["product"]) {
            // line 24
            echo "\t\t\t\t\t<div class=\"product\">
\t\t\t\t\t\t";
            // line 25
            if (twig_get_attribute($this->env, $this->source, $context["product"], "img", [], "any", false, false, false, 25)) {
                // line 26
                echo "\t\t\t\t\t\t\t<img class=\"img\" src=\"";
                echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["product"], "img", [], "any", false, false, false, 26), "html", null, true);
                echo "\" alt=\"None\">
\t\t\t\t\t\t";
            }
            // line 28
            echo "
\t\t\t\t\t\t<h2>";
            // line 29
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["product"], "name", [], "any", false, false, false, 29), "html", null, true);
            echo "</h2>
\t\t\t\t\t\t";
            // line 30
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["product"], "description", [], "any", false, false, false, 30), "html", null, true);
            echo "
\t\t\t\t\t\t<div style=\"width:100%;\">
\t\t\t\t\t\t\t<div class=\"price\">
\t\t\t\t\t\t\t\t<h1>\$";
            // line 33
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["product"], "price", [], "any", false, false, false, 33), "html", null, true);
            echo "</h1>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<div class=\"buy\">
\t\t\t\t\t\t\t\t<h1>Купить</h1>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['product'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 41
        echo "\t\t\t</div>
\t\t</main>
\t\t<footer>
\t\t\tСоглашение
\t\t</footer>
\t</body>
</html>
";
        
        $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);

        
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);

    }

    // line 10
    public function block_stylesheets($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", "stylesheets"));

        $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));

        // line 11
        echo "\t\t\t<link href=";
        echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("css/base.css"), "html", null, true);
        echo " rel=\"stylesheet\">
\t\t";
        
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);

        
        $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);

    }

    public function getTemplateName()
    {
        return "ice_cream/base.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  138 => 11,  128 => 10,  111 => 41,  97 => 33,  91 => 30,  87 => 29,  84 => 28,  78 => 26,  76 => 25,  73 => 24,  69 => 23,  57 => 13,  55 => 10,  44 => 1,);
    }

    public function getSourceContext()
    {
        return new Source("<!DOCTYPE html>
<html lang=\"en\">
\t<head>
\t\t<meta charset=\"UTF-8\">
\t\t<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
\t\t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">
\t\t<link rel=\"preconnect\" href=\"https://fonts.googleapis.com\">
\t\t<link rel=\"preconnect\" href=\"https://fonts.gstatic.com\" crossorigin>
\t\t<link href=\"https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;700;900&display=swap\" rel=\"stylesheet\">
\t\t{% block stylesheets %}
\t\t\t<link href={{ asset('css/base.css') }} rel=\"stylesheet\">
\t\t{% endblock %}
\t\t<title>IceLAND</title>
\t</head>
\t<body>
\t\t<header>
\t\t\t<div class='logo'>
\t\t\t\t<p class=\"title\">IceLand</p>
\t\t\t</div>
\t\t</header>
\t\t<main class=\"main\">
\t\t\t<div class=\"table\">
\t\t\t\t{% for product in products %}
\t\t\t\t\t<div class=\"product\">
\t\t\t\t\t\t{% if product.img %}
\t\t\t\t\t\t\t<img class=\"img\" src=\"{{ product.img }}\" alt=\"None\">
\t\t\t\t\t\t{% endif %}

\t\t\t\t\t\t<h2>{{product.name}}</h2>
\t\t\t\t\t\t{{product.description}}
\t\t\t\t\t\t<div style=\"width:100%;\">
\t\t\t\t\t\t\t<div class=\"price\">
\t\t\t\t\t\t\t\t<h1>\${{product.price}}</h1>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<div class=\"buy\">
\t\t\t\t\t\t\t\t<h1>Купить</h1>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t{% endfor %}
\t\t\t</div>
\t\t</main>
\t\t<footer>
\t\t\tСоглашение
\t\t</footer>
\t</body>
</html>
", "ice_cream/base.html.twig", "/home/INTEXSOFT/artur.mazanik/pet/ice_land/templates/ice_cream/base.html.twig");
    }
}
