<?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;
/* @Web/Home/main.html.twig */
class __TwigTemplate_7a482892bf59419911050ed700ba3e25ebbf2451d21aa734ca646686617adc3b extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'title' => [$this, 'block_title'],
'meta' => [$this, 'block_meta'],
'stylesheets' => [$this, 'block_stylesheets'],
'javascripts' => [$this, 'block_javascripts'],
'content' => [$this, 'block_content'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "@Web/layout.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@Web/Home/main.html.twig"));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@Web/Home/main.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@Web/Home/main.html.twig"));
$this->parent = $this->loadTemplate("@Web/layout.html.twig", "@Web/Home/main.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 3
public function block_title($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
// line 4
echo "\t";
echo twig_get_attribute($this->env, $this->source, (isset($context["meta"]) || array_key_exists("meta", $context) ? $context["meta"] : (function () { throw new RuntimeError('Variable "meta" does not exist.', 4, $this->source); })()), "title", [], "any", false, false, false, 4);
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
}
// line 7
public function block_meta($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta"));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta"));
// line 8
echo " <meta name=\"keywords\" content=\"";
echo twig_get_attribute($this->env, $this->source, (isset($context["meta"]) || array_key_exists("meta", $context) ? $context["meta"] : (function () { throw new RuntimeError('Variable "meta" does not exist.', 8, $this->source); })()), "keywords", [], "any", false, false, false, 8);
echo "\" />
<meta name=\"description\" content=\"";
// line 9
echo twig_get_attribute($this->env, $this->source, (isset($context["meta"]) || array_key_exists("meta", $context) ? $context["meta"] : (function () { throw new RuntimeError('Variable "meta" does not exist.', 9, $this->source); })()), "description", [], "any", false, false, false, 9);
echo "\" />
<meta property=\"og:type\" content=\"website\" />
<meta property=\"og:title\" content=\"";
// line 12
echo twig_get_attribute($this->env, $this->source, (isset($context["meta"]) || array_key_exists("meta", $context) ? $context["meta"] : (function () { throw new RuntimeError('Variable "meta" does not exist.', 12, $this->source); })()), "title", [], "any", false, false, false, 12);
echo "\" />
<meta property=\"og:description\" content=\"";
// line 13
echo twig_get_attribute($this->env, $this->source, (isset($context["meta"]) || array_key_exists("meta", $context) ? $context["meta"] : (function () { throw new RuntimeError('Variable "meta" does not exist.', 13, $this->source); })()), "description", [], "any", false, false, false, 13);
echo "\" />
<meta property=\"og:image\" content=\"https://tile.expert/img/topMenu/hdLogo.png\" />
<meta property=\"og:image:width\" content=\"150\" />
<meta property=\"og:image:height\" content=\"27\" />
<meta property=\"og:image:type\" content=\"image/jpeg\" />
<meta property=\"og:locale\" content=\"";
// line 18
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["te"]) || array_key_exists("te", $context) ? $context["te"] : (function () { throw new RuntimeError('Variable "te" does not exist.', 18, $this->source); })()), "locale", [], "any", false, false, false, 18), "getCurLocaleISO", [], "method", false, false, false, 18), "html", null, true);
echo "\" />
<meta property=\"og:url\" content=\"";
// line 19
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["te"]) || array_key_exists("te", $context) ? $context["te"] : (function () { throw new RuntimeError('Variable "te" does not exist.', 19, $this->source); })()), "request", [], "any", false, false, false, 19), "uri", [], "any", false, false, false, 19), "html", null, true);
echo "\" />
<meta property=\"og:site_name\" content=\"Tile.Expert\" />
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
}
// line 23
public function block_stylesheets($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
// line 24
echo " ";
$this->displayParentBlock("stylesheets", $context, $blocks);
echo "
<link rel=\"stylesheet\" href=\"";
// line 25
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("_css/home.min.css"), "html", null, true);
echo "\" />
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
}
// line 28
public function block_javascripts($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 29
echo " ";
$this->displayParentBlock("javascripts", $context, $blocks);
echo "
";
// line 31
if (twig_get_attribute($this->env, $this->source, (isset($context["te"]) || array_key_exists("te", $context) ? $context["te"] : (function () { throw new RuntimeError('Variable "te" does not exist.', 31, $this->source); })()), "checkIsDev", [], "any", false, false, false, 31)) {
// line 32
echo " <script src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("_js/home.js"), "html", null, true);
echo "\"></script>
";
} else {
// line 34
echo " <script src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("_js/home.min.js"), "html", null, true);
echo "\"></script>
";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
}
// line 38
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 39
echo "\t<div class=\"target\">
<div class=\"general-content\">
";
// line 43
echo " ";
$this->loadTemplate("@Web/Home/_last-collection-carousel.html.twig", "@Web/Home/main.html.twig", 43)->display($context);
// line 44
echo "
";
// line 46
echo " ";
// line 49
echo " <div id=\"reviews_container\"
";
// line 50
echo (((array_key_exists("isFirstFourVisit", $context) && (isset($context["isFirstFourVisit"]) || array_key_exists("isFirstFourVisit", $context) ? $context["isFirstFourVisit"] : (function () { throw new RuntimeError('Variable "isFirstFourVisit" does not exist.', 50, $this->source); })()))) ? ("") : (" class=\"hide-reviews-carousel\""));
// line 53
echo "
>
";
// line 56
echo " <span translate=\"no\">
\t";
// line 57
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragmentStrategy("esi", Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("WebBundle\\Controller\\HomeController::reviewsAction"));
echo "
</span>
</div>
<div class=\"clearfix\"></div>
";
// line 64
echo " ";
$this->loadTemplate("@Web/Home/_top-carousel.html.twig", "@Web/Home/main.html.twig", 64)->display(twig_array_merge($context, ["isHome" => true]));
// line 65
echo "
";
// line 67
echo " ";
if ((twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["publications"]) || array_key_exists("publications", $context) ? $context["publications"] : (function () { throw new RuntimeError('Variable "publications" does not exist.', 67, $this->source); })()), "list", [], "any", false, false, false, 67)) > 0)) {
// line 68
echo " ";
$this->loadTemplate("@Web/Home/_blogs.html.twig", "@Web/Home/main.html.twig", 68)->display($context);
// line 69
echo " ";
}
// line 70
echo " <h2 class=\"carousel-name different\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("main_different"), "html", null, true);
echo "</h2>
<div class=\"row\">
<div class=\"differences\">
<!-- для локали ru задать класс, чтобы заменять иконку -->
";
// line 74
$context["change_icon"] = "";
// line 75
echo " ";
if (($this->extensions['WebBundle\Twig\AppExtension']->userLocale() == "ru")) {
// line 76
echo " ";
$context["change_icon"] = "-change-icon";
// line 77
echo " ";
}
// line 78
echo "
<div class=\"differences-list\">
<div class=\"distinction \">
<div class=\"distinction-icon\">
<img
src=\"/img/home/differences/price-and-time.svg\"
loading=\"lazy\"
width=\"77\"
height=\"65\"
/>
</div>
<div class=\"text\">";
// line 89
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("main_good_price"), "html", null, true);
echo "</div>
</div>
<div class=\"distinction\">
<div class=\"distinction-icon\">
<img
src=\"/img/home/differences/delivery.svg\"
loading=\"lazy\"
width=\"64\"
height=\"65\"
/>
</div>
<div class=\"text text_ref\">";
// line 100
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("main_sample_delivery"), "html", null, true);
echo "</div>
</div>
<div class=\"distinction \">
<div class=\"distinction-icon\">
<img
src=\"/img/home/differences/payments.svg\"
loading=\"lazy\"
width=\"79.63\"
height=\"66.32\"
/>
</div>
<div class=\"text\">";
// line 111
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("main_paypal_support"), "html", null, true);
echo "</div>
</div>
<div class=\"distinction \">
<div class=\"distinction-icon\">
<img
src=\"/img/home/differences/desing.svg\"
loading=\"lazy\"
width=\"75.2\"
height=\"64\"
/>
</div>
<div class=\"text\">";
// line 122
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("main_real_photo"), "html", null, true);
echo "</div>
</div>
<div class=\"distinction\">
<div class=\"distinction-icon\">
<img
src=\"/img/home/differences/support.svg\"
loading=\"lazy\"
width=\"65.6\"
height=\"65.76\"
/>
</div>
<div class=\"text\">";
// line 133
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("main_every_order"), "html", null, true);
echo "</div>
</div>
<div class=\"distinction\">
<div class=\"distinction-icon\">
<img
src=\"/img/home/differences/devices.svg\"
loading=\"lazy\"
width=\"75\"
height=\"65\"
/>
</div>
<div class=\"text\">";
// line 144
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("main_mobile_support"), "html", null, true);
echo "</div>
</div>
</div>
";
// line 153
echo "
<div class=\"both\"></div>
</div>
</div>
<div class=\"wrap-no-panic\">
<div class=\"no-panic ";
// line 158
echo twig_escape_filter($this->env, $this->extensions['WebBundle\Twig\AppExtension']->userLocale(), "html", null, true);
echo "\">
<img
src=\"/img/home/no_panic/no_panic_";
// line 160
echo twig_escape_filter($this->env, $this->extensions['WebBundle\Twig\AppExtension']->userLocale(), "html", null, true);
echo ".svg\"
class=\"ico-no-panic\"
alt=\"";
// line 162
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("no_panic"), "html", null, true);
echo "\"
loading=\"lazy\"
/>
<p class=\"nopanic-items\">
<span>";
// line 167
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("no_panic_any_obligations"), "html", null, true);
echo "</span>
<br>
<span>
";
// line 171
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("no_panic_customer_service_p1"), "html", null, true);
echo "
<i>";
// line 172
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("no_panic_customer_service_p2"), "html", null, true);
echo "</i>
</span>
<span>
";
// line 176
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("no_panic_cancel_order_p1"), "html", null, true);
echo "
<i>";
// line 177
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("no_panic_cancel_order_p2"), "html", null, true);
echo "</i>
</span>
<span>
";
// line 181
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("no_panic_made_mistake_p1"), "html", null, true);
echo "
<i>";
// line 182
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("no_panic_made_mistake_p2", ["%cur%" => $this->extensions['WebBundle\Twig\AppExtension']->curLimit()]), "html", null, true);
echo "</i>
</span>
";
// line 185
if (($this->extensions['WebBundle\Twig\AppExtension']->userCountry() != "ru")) {
// line 186
echo " <span class=\"paypal-item\">
\t ";
// line 187
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("no_panic_paypal_p1"), "html", null, true);
echo "
\t ";
// line 191
echo "\t <i>";
echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("no_panic_paypal_all");
echo "</i>
\t </span>
";
}
// line 194
echo "
<span>
";
// line 196
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("no_panic_broken_tiles_p1"), "html", null, true);
echo "
<i>";
// line 197
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("no_panic_broken_tiles_p2"), "html", null, true);
echo "</i>
</span>
</p>
</div>
</div>
<div class=\"both\"></div>
</div>
</div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
}
public function getTemplateName()
{
return "@Web/Home/main.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 489 => 197, 485 => 196, 481 => 194, 474 => 191, 470 => 187, 467 => 186, 465 => 185, 459 => 182, 455 => 181, 448 => 177, 444 => 176, 437 => 172, 433 => 171, 426 => 167, 418 => 162, 413 => 160, 408 => 158, 401 => 153, 394 => 144, 380 => 133, 366 => 122, 352 => 111, 338 => 100, 324 => 89, 311 => 78, 308 => 77, 305 => 76, 302 => 75, 300 => 74, 292 => 70, 289 => 69, 286 => 68, 283 => 67, 280 => 65, 277 => 64, 268 => 57, 265 => 56, 261 => 53, 259 => 50, 256 => 49, 254 => 46, 251 => 44, 248 => 43, 243 => 39, 230 => 38, 213 => 34, 207 => 32, 205 => 31, 199 => 29, 186 => 28, 171 => 25, 166 => 24, 153 => 23, 137 => 19, 133 => 18, 125 => 13, 121 => 12, 115 => 9, 110 => 8, 97 => 7, 81 => 4, 68 => 3, 39 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends '@Web/layout.html.twig' %}
{% block title %}
\t{{ meta.title | raw }}
{% endblock %}
{% block meta %}
<meta name=\"keywords\" content=\"{{ meta.keywords | raw }}\" />
<meta name=\"description\" content=\"{{ meta.description | raw }}\" />
<meta property=\"og:type\" content=\"website\" />
<meta property=\"og:title\" content=\"{{ meta.title | raw }}\" />
<meta property=\"og:description\" content=\"{{ meta.description | raw }}\" />
<meta property=\"og:image\" content=\"https://tile.expert/img/topMenu/hdLogo.png\" />
<meta property=\"og:image:width\" content=\"150\" />
<meta property=\"og:image:height\" content=\"27\" />
<meta property=\"og:image:type\" content=\"image/jpeg\" />
<meta property=\"og:locale\" content=\"{{ te.locale.getCurLocaleISO() }}\" />
<meta property=\"og:url\" content=\"{{ te.request.uri }}\" />
<meta property=\"og:site_name\" content=\"Tile.Expert\" />
{% endblock %}
{% block stylesheets %}
{{ parent() }}
<link rel=\"stylesheet\" href=\"{{ asset('_css/home.min.css') }}\" />
{% endblock %}
{% block javascripts %}
{{ parent() }}
{% if te.checkIsDev %}
<script src=\"{{ asset('_js/home.js') }}\"></script>
{% else %}
<script src=\"{{ asset('_js/home.min.js') }}\"></script>
{% endif %}
{% endblock %}
{% block content %}
\t<div class=\"target\">
<div class=\"general-content\">
{# карусель recently added #}
{% include '@Web/Home/_last-collection-carousel.html.twig' %}
{# скрывать карусель с отзывами для мобильных экранов, если пользователь зашел на главную страницу больше 4 раз #}
{# Вернул isFirstFourVisit . В js проверка на посещение и дальнейшее
действия с классом hide-reviews-carousel, а именно его удаление вызывает
критичные сдвиги макета, и падает показатель CLS. JS код не менял #}
<div id=\"reviews_container\"
{{ isFirstFourVisit is defined and isFirstFourVisit
? ''
: ' class=\"hide-reviews-carousel\"'
}}
>
{# карусель отзывов #}
<span translate=\"no\">
\t{{ render_esi(controller('WebBundle\\\\Controller\\\\HomeController::reviewsAction')) }}
</span>
</div>
<div class=\"clearfix\"></div>
{# карусели TOP #}
{% include '@Web/Home/_top-carousel.html.twig' with {'isHome': true} %}
{# карусель блогов #}
{% if publications.list | length > 0 %}
{% include '@Web/Home/_blogs.html.twig' %}
{% endif %}
<h2 class=\"carousel-name different\">{{ 'main_different' | trans }}</h2>
<div class=\"row\">
<div class=\"differences\">
<!-- для локали ru задать класс, чтобы заменять иконку -->
{% set change_icon = '' %}
{% if userLocale() == 'ru' %}
{% set change_icon = '-change-icon' %}
{% endif %}
<div class=\"differences-list\">
<div class=\"distinction \">
<div class=\"distinction-icon\">
<img
src=\"/img/home/differences/price-and-time.svg\"
loading=\"lazy\"
width=\"77\"
height=\"65\"
/>
</div>
<div class=\"text\">{{ 'main_good_price' | trans }}</div>
</div>
<div class=\"distinction\">
<div class=\"distinction-icon\">
<img
src=\"/img/home/differences/delivery.svg\"
loading=\"lazy\"
width=\"64\"
height=\"65\"
/>
</div>
<div class=\"text text_ref\">{{ 'main_sample_delivery' | trans }}</div>
</div>
<div class=\"distinction \">
<div class=\"distinction-icon\">
<img
src=\"/img/home/differences/payments.svg\"
loading=\"lazy\"
width=\"79.63\"
height=\"66.32\"
/>
</div>
<div class=\"text\">{{ 'main_paypal_support' | trans }}</div>
</div>
<div class=\"distinction \">
<div class=\"distinction-icon\">
<img
src=\"/img/home/differences/desing.svg\"
loading=\"lazy\"
width=\"75.2\"
height=\"64\"
/>
</div>
<div class=\"text\">{{ 'main_real_photo' | trans }}</div>
</div>
<div class=\"distinction\">
<div class=\"distinction-icon\">
<img
src=\"/img/home/differences/support.svg\"
loading=\"lazy\"
width=\"65.6\"
height=\"65.76\"
/>
</div>
<div class=\"text\">{{ 'main_every_order' | trans }}</div>
</div>
<div class=\"distinction\">
<div class=\"distinction-icon\">
<img
src=\"/img/home/differences/devices.svg\"
loading=\"lazy\"
width=\"75\"
height=\"65\"
/>
</div>
<div class=\"text\">{{ 'main_mobile_support' | trans }}</div>
</div>
</div>
{#<div class=\"differences-list hide\">
<div class=\"distinction dist social-icons-list\">
{{ render_esi(controller('WebBundle:Common:socialLink')) }}
</div>
</div>#}
<div class=\"both\"></div>
</div>
</div>
<div class=\"wrap-no-panic\">
<div class=\"no-panic {{ userLocale() }}\">
<img
src=\"/img/home/no_panic/no_panic_{{ userLocale() }}.svg\"
class=\"ico-no-panic\"
alt=\"{{ 'no_panic' | trans }}\"
loading=\"lazy\"
/>
<p class=\"nopanic-items\">
<span>{{ 'no_panic_any_obligations' | trans }}</span>
<br>
<span>
{{ 'no_panic_customer_service_p1' | trans }}
<i>{{ 'no_panic_customer_service_p2' | trans }}</i>
</span>
<span>
{{ 'no_panic_cancel_order_p1' | trans }}
<i>{{ 'no_panic_cancel_order_p2' | trans }}</i>
</span>
<span>
{{ 'no_panic_made_mistake_p1' | trans }}
<i>{{ 'no_panic_made_mistake_p2' | trans({'%cur%': curLimit()}) }}</i>
</span>
{% if userCountry() != 'ru' %}
<span class=\"paypal-item\">
\t {{ 'no_panic_paypal_p1' | trans }}
\t {#<i>{{ 'no_panic_paypal_p2_before_paypal' | trans }}</i>
\t <i class=\"paypal-icon\"></i>
\t <i>{{ 'no_panic_paypal_p2_after_paypal' | trans }}</i>#}
\t <i>{{ 'no_panic_paypal_all' | trans | raw }}</i>
\t </span>
{% endif %}
<span>
{{ 'no_panic_broken_tiles_p1' | trans }}
<i>{{ 'no_panic_broken_tiles_p2' | trans }}</i>
</span>
</p>
</div>
</div>
<div class=\"both\"></div>
</div>
</div>
{% endblock %}
", "@Web/Home/main.html.twig", "/var/www/dev5.tile.expert/src/WebBundle/Resources/views/Home/main.html.twig");
}
}