<?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;
/* @templates/Front/homepage.html.twig */
class __TwigTemplate_3f8d669add172bffe2d86ec0648dbaddc292dbe2dec83fc5edcbc9d2d85f3fe7 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'head' => [$this, 'block_head'],
'stylesheets' => [$this, 'block_stylesheets'],
'javascripts' => [$this, 'block_javascripts'],
'header' => [$this, 'block_header'],
'get_help' => [$this, 'block_get_help'],
'info' => [$this, 'block_info'],
'find_car_piece' => [$this, 'block_find_car_piece'],
'pre_footer' => [$this, 'block_pre_footer'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "@templates/Front/Shop/layout.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@templates/Front/homepage.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@templates/Front/homepage.html.twig"));
$this->parent = $this->loadTemplate("@templates/Front/Shop/layout.html.twig", "@templates/Front/homepage.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 3
public function block_head($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "head"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "head"));
// line 4
echo " <head>
<meta charset=\"utf-8\">
<meta name=\"verify-paysera\" content=\"933b669cd20feb6010fff2d42583717d\">
<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
<meta http-equiv=\"Content-Language\" content=\"ro\">
<meta name=\"google-site-verification\" content=\"BEtIqk-choaMawpOxG98NtbWKAZK5MuTxV_2-pSHGFQ\">
<title>";
// line 11
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.homepage_meta_title"), "html", null, true);
echo " </title>
<meta content=\"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no\" name=\"viewport\">
<meta name=\"description\" content=\"";
// line 15
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.homepage_meta_description"), "html", null, true);
echo "\">
<meta name=\"keywords\" content=\"rovinieta online, roviniete online, rovinieta preţ, verificare valabilitate rovinieta, plata rovinieta online, calculator rovinieta\">
";
// line 18
$this->displayBlock('stylesheets', $context, $blocks);
// line 23
echo "
";
// line 24
$context["urlPath"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 24, $this->source); })()), "request", [], "any", false, false, false, 24), "uri", [], "any", false, false, false, 24);
// line 25
echo " ";
if ( !(null === (isset($context["urlPath"]) || array_key_exists("urlPath", $context) ? $context["urlPath"] : (function () { throw new RuntimeError('Variable "urlPath" does not exist.', 25, $this->source); })()))) {
// line 26
echo " <link rel=\"canonical\" href=\"";
echo twig_escape_filter($this->env, (isset($context["urlPath"]) || array_key_exists("urlPath", $context) ? $context["urlPath"] : (function () { throw new RuntimeError('Variable "urlPath" does not exist.', 26, $this->source); })()), "html", null, true);
echo "\"/>
";
// line 27
$context["currentLocale"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 27, $this->source); })()), "request", [], "any", false, false, false, 27), "locale", [], "any", false, false, false, 27);
// line 28
echo " ";
if ( !(null === (isset($context["currentLocale"]) || array_key_exists("currentLocale", $context) ? $context["currentLocale"] : (function () { throw new RuntimeError('Variable "currentLocale" does not exist.', 28, $this->source); })()))) {
// line 29
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["locales"]) || array_key_exists("locales", $context) ? $context["locales"] : (function () { throw new RuntimeError('Variable "locales" does not exist.', 29, $this->source); })()), "allLocales", [], "any", false, false, false, 29));
foreach ($context['_seq'] as $context["_key"] => $context["locale"]) {
// line 30
echo " ";
if (($context["locale"] != (isset($context["currentLocale"]) || array_key_exists("currentLocale", $context) ? $context["currentLocale"] : (function () { throw new RuntimeError('Variable "currentLocale" does not exist.', 30, $this->source); })()))) {
// line 31
echo " <link rel=\"alternate\" hreflang=\"";
echo twig_escape_filter($this->env, $context["locale"], "html", null, true);
echo "\"
href=\"";
// line 32
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\HttpFoundationExtension']->generateAbsoluteUrl($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sylius_shop_homepage", ["_locale" => $context["locale"]])), "html", null, true);
echo "\"/>
";
}
// line 34
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['locale'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 35
echo " ";
}
// line 36
echo " ";
}
// line 37
echo "
";
// line 38
echo call_user_func_array($this->env->getFunction('sonata_block_render_event')->getCallable(), ["sylius.shop.layout.head"]);
echo "
";
// line 39
$this->displayBlock('javascripts', $context, $blocks);
// line 70
echo " </head>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 18
public function block_stylesheets($context, array $blocks = [])
{
$macros = $this->macros;
$__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 19
echo " <link rel=\"stylesheet\" href=\"/assets/shop/css/homepage.css\">
<link rel=\"stylesheet\" href=\"/assets/shop/css/bootstrap.min.css\">
";
// line 21
echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("bootstrap-fix", null, "bootstrapTheme");
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 39
public function block_javascripts($context, array $blocks = [])
{
$macros = $this->macros;
$__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 40
echo " <script src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/js/sentry-bundle.min.js"), "html", null, true);
echo "\"></script>
<script>
if (typeof Sentry !== 'undefined') {
Sentry.init({
dsn: \"";
// line 44
echo twig_escape_filter($this->env, (isset($context["sentry_dsn"]) || array_key_exists("sentry_dsn", $context) ? $context["sentry_dsn"] : (function () { throw new RuntimeError('Variable "sentry_dsn" does not exist.', 44, $this->source); })()), "html", null, true);
echo "\",
integrations: [new Sentry.Integrations.TryCatch({
eventTarget: false,
})]
});
}
</script>
<script src=\"";
// line 51
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/js/jquery.min.js"), "html", null, true);
echo "\"></script>
<script src=\"";
// line 52
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/js/jquery-ui.min.js"), "html", null, true);
echo "\"></script>
<script src=\"";
// line 53
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/js/popper.min.js"), "html", null, true);
echo "\"></script>
<script src=\"";
// line 54
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/js/bootstrap.min.js"), "html", null, true);
echo "\"></script>
<script src=\"";
// line 55
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/js/leftmenu.js"), "html", null, true);
echo "\"></script>
<script src=\"/bundles/fosjsrouting/js/router.js\"></script>
<script src=\"";
// line 57
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("fos_js_routing_js", ["callback" => "fos.Router.setData"]);
echo "\"></script>
<script>
dataLayer = [];
</script>
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','";
// line 66
echo twig_escape_filter($this->env, (isset($context["gtm_code"]) || array_key_exists("gtm_code", $context) ? $context["gtm_code"] : (function () { throw new RuntimeError('Variable "gtm_code" does not exist.', 66, $this->source); })()), "html", null, true);
echo "');</script>
<!-- End Google Tag Manager -->
";
// line 68
$this->loadTemplate("@templates/ShopCustom/one_signal.html.twig", "@templates/Front/homepage.html.twig", 68)->display($context);
// line 69
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 73
public function block_header($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header"));
// line 74
echo " <!-- Google Tag Manager (noscript) -->
<noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=";
// line 75
echo twig_escape_filter($this->env, (isset($context["gtm_code"]) || array_key_exists("gtm_code", $context) ? $context["gtm_code"] : (function () { throw new RuntimeError('Variable "gtm_code" does not exist.', 75, $this->source); })()), "html", null, true);
echo "\"
height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
<div>
<div class=\"custom-container\">
<div style=\"background-color: white; max-width: 100%\">
<header>
<input id=\"collapsibleMenu\" value=\"1\" hidden>
";
// line 83
$this->loadTemplate("@templates/Front/Shop/v2/_header.html.twig", "@templates/Front/homepage.html.twig", 83)->display($context);
// line 84
echo "
";
// line 85
echo call_user_func_array($this->env->getFunction('sonata_block_render_event')->getCallable(), ["sylius.shop.layout.after_header"]);
echo "
</header>
</div>
";
// line 89
if (((isset($context["isTicketing"]) || array_key_exists("isTicketing", $context)) && ((isset($context["isTicketing"]) || array_key_exists("isTicketing", $context) ? $context["isTicketing"] : (function () { throw new RuntimeError('Variable "isTicketing" does not exist.', 89, $this->source); })()) == "true"))) {
// line 90
echo "
";
} else {
// line 92
echo " ";
$this->loadTemplate("@templates/Front/Shop/_after_header.html.twig", "@templates/Front/homepage.html.twig", 92)->display($context);
// line 93
echo " ";
}
// line 94
echo "
";
// line 95
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 95, $this->source); })()), "session", [], "any", false, false, false, 95), "flashBag", [], "any", false, false, false, 95), "get", [0 => "vignette-init-error"], "method", false, false, false, 95));
foreach ($context['_seq'] as $context["_key"] => $context["flash_message"]) {
// line 96
echo " <div class=\"alert alert-warning alert-dismissible fade show\" role=\"alert\">
<div class=\"header text-center\">
<h2>";
// line 98
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.ui.warning"), "html", null, true);
echo "</h2>
</div>
<a class=\"text-center\">
";
// line 101
echo twig_escape_filter($this->env, $context["flash_message"], "html", null, true);
echo "
</a>
<button type=\"button\" class=\"close\" data-dismiss=\"alert\" aria-label=\"Close\">
<span aria-hidden=\"true\">×</span>
</button>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['flash_message'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 108
echo "
";
// line 109
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 109, $this->source); })()), "session", [], "any", false, false, false, 109), "flashBag", [], "any", false, false, false, 109), "get", [0 => "already_logged_in"], "method", false, false, false, 109));
foreach ($context['_seq'] as $context["_key"] => $context["flash_message"]) {
// line 110
echo " <div class=\"alert alert-warning alert-dismissible fade show\" role=\"alert\">
<div class=\"header text-center\">
<h2>";
// line 112
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.ui.warning"), "html", null, true);
echo "</h2>
</div>
<a class=\"text-center\">
";
// line 115
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.already_signed_in"), "html", null, true);
echo "
</a>
<button type=\"button\" class=\"close\" data-dismiss=\"alert\" aria-label=\"Close\">
<span aria-hidden=\"true\">×</span>
</button>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['flash_message'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 122
echo "
";
// line 123
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 123, $this->source); })()), "session", [], "any", false, false, false, 123), "flashBag", [], "any", false, false, false, 123), "get", [0 => "unsubscribe"], "method", false, false, false, 123));
foreach ($context['_seq'] as $context["_key"] => $context["flash_message"]) {
// line 124
echo " <div class=\"alert alert-warning alert-dismissible fade show\" role=\"alert\">
<div class=\"header text-center\">
<h2>";
// line 126
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.success_action"), "html", null, true);
echo "</h2>
</div>
<a class=\"text-center\">
";
// line 129
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.successfully_unsubscribed"), "html", null, true);
echo "
</a>
<button type=\"button\" class=\"close\" data-dismiss=\"alert\" aria-label=\"Close\">
<span aria-hidden=\"true\">×</span>
</button>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['flash_message'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 136
echo "
";
// line 137
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 137, $this->source); })()), "session", [], "any", false, false, false, 137), "flashBag", [], "any", false, false, false, 137), "get", [0 => "productRemoved"], "method", false, false, false, 137));
foreach ($context['_seq'] as $context["_key"] => $context["flash_message"]) {
// line 138
echo " <div class=\"alert alert-warning alert-dismissible fade show\" role=\"alert\">
<div class=\"header text-center\">
<h2>";
// line 140
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.ui.warning"), "html", null, true);
echo "</h2>
</div>
<a class=\"text-center\">
";
// line 143
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.hu_vignette.product_removed_from_cart"), "html", null, true);
echo "
</a>
<button type=\"button\" class=\"close\" data-dismiss=\"alert\" aria-label=\"Close\">
<span aria-hidden=\"true\">×</span>
</button>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['flash_message'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 150
echo "
<div class=\"custom-container\">
<div class=\"container-rounded\">
";
// line 153
$this->loadTemplate("@templates/Front/Shop/_shop_navbar.html.twig", "@templates/Front/homepage.html.twig", 153)->display($context);
// line 154
echo " </div>
</div>
<div class=\"custom-container\">
<div class=\"row\">
<div class=\"col-3\">
<div class=\"card w-100 special-card border-top-0\">
";
// line 160
if ((twig_get_attribute($this->env, $this->source, ($context["lastProductStatus"] ?? null), "rcaStatus", [], "any", true, true, false, 160) && twig_get_attribute($this->env, $this->source, (isset($context["lastProductStatus"]) || array_key_exists("lastProductStatus", $context) ? $context["lastProductStatus"] : (function () { throw new RuntimeError('Variable "lastProductStatus" does not exist.', 160, $this->source); })()), "rcaStatus", [], "any", false, false, false, 160))) {
// line 161
echo " <a class=\"text-decoration-none\" href=\"";
((twig_get_attribute($this->env, $this->source, (isset($context["lastProductStatus"]) || array_key_exists("lastProductStatus", $context) ? $context["lastProductStatus"] : (function () { throw new RuntimeError('Variable "lastProductStatus" does not exist.', 161, $this->source); })()), "rcaStatus", [], "any", false, false, false, 161)) ? (print (twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_shop_rca_details", ["from" => twig_constant("App\\Entity\\Customer\\TrackerActivity::FROM_HOMEPAGE")]), "html", null, true))) : (print ("#")));
echo "\">
<div class=\"dropdown-item my-2 d-flex align-items-center\" href=\"#\">
<div class=\"mr-4\">
<img src=\"";
// line 164
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/images/icons/ic_produse_rca_dark_48.png"), "html", null, true);
echo "\" width=\"35px\"/>
</div>
<div>
<div class=\"d-flex align-items-center\">
<h4>";
// line 168
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.rca"), "html", null, true);
echo "</h4>
</div>
</div>
</div>
</a>
";
}
// line 174
echo "
";
// line 175
if ((twig_get_attribute($this->env, $this->source, ($context["lastProductStatus"] ?? null), "vignetteStatus", [], "any", true, true, false, 175) && twig_get_attribute($this->env, $this->source, (isset($context["lastProductStatus"]) || array_key_exists("lastProductStatus", $context) ? $context["lastProductStatus"] : (function () { throw new RuntimeError('Variable "lastProductStatus" does not exist.', 175, $this->source); })()), "vignetteStatus", [], "any", false, false, false, 175))) {
// line 176
echo " <a class=\"text-decoration-none\" href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_shop_vignette");
echo "\">
<div class=\"dropdown-item my-2 d-flex align-items-center\" href=\"#\">
<div class=\"mr-4\">
<img src=\"";
// line 179
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/images/icons/ic_produse_roviniete_dark_48.png"), "html", null, true);
echo "\"
width=\"35px\"/>
</div>
<div class=\"d-flex align-items-center\">
<h4>";
// line 183
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.vignette"), "html", null, true);
echo "</h4>
</div>
</div>
</a>
";
}
// line 188
echo "
";
// line 189
if ((twig_get_attribute($this->env, $this->source, ($context["lastProductStatus"] ?? null), "huVignetteStatus", [], "any", true, true, false, 189) && twig_get_attribute($this->env, $this->source, (isset($context["lastProductStatus"]) || array_key_exists("lastProductStatus", $context) ? $context["lastProductStatus"] : (function () { throw new RuntimeError('Variable "lastProductStatus" does not exist.', 189, $this->source); })()), "huVignetteStatus", [], "any", false, false, false, 189))) {
// line 190
echo " <a class=\"text-decoration-none\" href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_shop_hu_vignette");
echo "\">
<div class=\"dropdown-item my-2 d-flex align-items-center\">
<div class=\"mr-4 d-flex justify-content-center\" style=\"width: 35px\">
<img src=\"";
// line 193
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/images/icons/ematrica_black.png"), "html", null, true);
echo "\" height=\"35px\"/>
</div>
<div class=\"d-flex align-items-center\">
<h4>";
// line 196
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.hu_vignette.hu_vignette"), "html", null, true);
echo "</h4>
</div>
</div>
</a>
";
}
// line 201
echo "
";
// line 202
if ((twig_get_attribute($this->env, $this->source, ($context["lastProductStatus"] ?? null), "deathInsuranceStatus", [], "any", true, true, false, 202) && twig_get_attribute($this->env, $this->source, (isset($context["lastProductStatus"]) || array_key_exists("lastProductStatus", $context) ? $context["lastProductStatus"] : (function () { throw new RuntimeError('Variable "lastProductStatus" does not exist.', 202, $this->source); })()), "deathInsuranceStatus", [], "any", false, false, false, 202))) {
// line 203
echo " <a class=\"text-decoration-none\" href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_shop_death_insurance");
echo "\">
<div class=\"dropdown-item my-2 d-flex align-items-center\">
<div class=\"mr-4\">
<img src=\"";
// line 206
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/images/icons/person.png"), "html", null, true);
echo "\" width=\"35px\"/>
</div>
<h4>";
// line 208
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.nn_insurance"), "html", null, true);
echo "</h4>
</div>
</a>
";
}
// line 212
echo "
<a class=\"text-decoration-none\" ";
// line 213
if ((twig_get_attribute($this->env, $this->source, ($context["lastProductStatus"] ?? null), "peajStatus", [], "any", true, true, false, 213) && twig_get_attribute($this->env, $this->source, (isset($context["lastProductStatus"]) || array_key_exists("lastProductStatus", $context) ? $context["lastProductStatus"] : (function () { throw new RuntimeError('Variable "lastProductStatus" does not exist.', 213, $this->source); })()), "peajStatus", [], "any", false, false, false, 213))) {
echo "href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_shop_peaj");
echo "\" ";
} else {
echo "href=\"https://www.taxadepod.ro/\" target=\"_blank\"";
}
echo ">
<div class=\"dropdown-item my-2 d-flex align-items-center\">
<div class=\"mr-4\">
<img src=\"";
// line 216
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/images/icons/ic_produse_pod_dark_48.png"), "html", null, true);
echo "\" width=\"35px\"/>
</div>
<h4>";
// line 218
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.toll_tax"), "html", null, true);
echo "</h4>
</div>
</a>
";
// line 222
if ((twig_get_attribute($this->env, $this->source, ($context["lastProductStatus"] ?? null), "licenseRecoveryStatus", [], "any", true, true, false, 222) && twig_get_attribute($this->env, $this->source, (isset($context["lastProductStatus"]) || array_key_exists("lastProductStatus", $context) ? $context["lastProductStatus"] : (function () { throw new RuntimeError('Variable "lastProductStatus" does not exist.', 222, $this->source); })()), "licenseRecoveryStatus", [], "any", false, false, false, 222))) {
// line 223
echo " <a class=\"text-decoration-none\" href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_shop_license_recovery");
echo "\">
<div class=\"dropdown-item my-2 d-flex align-items-center\">
<div class=\"mr-4\">
<img src=\"";
// line 226
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/images/icons/license.png"), "html", null, true);
echo "\" width=\"35px\"/>
</div>
<h4>";
// line 228
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.license_recovery"), "html", null, true);
echo "</h4>
</div>
</a>
";
}
// line 232
echo "
";
// line 233
if ((twig_get_attribute($this->env, $this->source, ($context["lastProductStatus"] ?? null), "telemedicineStatus", [], "any", true, true, false, 233) && twig_get_attribute($this->env, $this->source, (isset($context["lastProductStatus"]) || array_key_exists("lastProductStatus", $context) ? $context["lastProductStatus"] : (function () { throw new RuntimeError('Variable "lastProductStatus" does not exist.', 233, $this->source); })()), "telemedicineStatus", [], "any", false, false, false, 233))) {
// line 234
echo " <a class=\"text-decoration-none\" href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_shop_telemedicine");
echo "\">
<div class=\"dropdown-item my-2 d-flex align-items-center\">
<div class=\"mr-4\">
<img src=\"";
// line 237
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/images/icons/umbrella_plus.png"), "html", null, true);
echo "\" width=\"35px\"/>
</div>
<h4>";
// line 239
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.telemedicine.menu_entry"), "html", null, true);
echo "</h4>
</div>
</a>
";
}
// line 243
echo "
";
// line 244
if ((twig_get_attribute($this->env, $this->source, ($context["lastProductStatus"] ?? null), "roadAssistanceStatus", [], "any", true, true, false, 244) && twig_get_attribute($this->env, $this->source, (isset($context["lastProductStatus"]) || array_key_exists("lastProductStatus", $context) ? $context["lastProductStatus"] : (function () { throw new RuntimeError('Variable "lastProductStatus" does not exist.', 244, $this->source); })()), "roadAssistanceStatus", [], "any", false, false, false, 244))) {
// line 245
echo " <a class=\"text-decoration-none\" href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_shop_road_assistance");
echo "\">
<div class=\"dropdown-item my-2 d-flex align-items-center\">
<div class=\"mr-4\">
<img src=\"";
// line 248
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/images/icons/road_assistance.png"), "html", null, true);
echo "\" width=\"35px\"/>
</div>
<h4>";
// line 250
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.road_assistance"), "html", null, true);
echo "</h4>
</div>
</a>
";
}
// line 254
echo " </div>
</div>
<div class=\"col-9\">
<div class=\"d-flex justify-content-between my-4\">
<div class=\"card text-center product-card product-vignette-card\" style=\"width: 32%\">
<div class=\"card-body\">
<div class=\"mx-4 mt-4\" style=\"margin-bottom: 4%;\">
";
// line 262
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["vignetteCategories"]) || array_key_exists("vignetteCategories", $context) ? $context["vignetteCategories"] : (function () { throw new RuntimeError('Variable "vignetteCategories" does not exist.', 262, $this->source); })()));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["category"]) {
// line 263
echo " <img src=\"";
echo twig_escape_filter($this->env, ($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("assets/shop/images/icons/ic_rovinieta_categ_" . twig_lower_filter($this->env, twig_first($this->env, twig_get_attribute($this->env, $this->source, $context["category"], "code", [], "any", false, false, false, 263))))) . "_white.png"), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans((("app.ui.category_rovignette_" . twig_lower_filter($this->env, twig_first($this->env, twig_get_attribute($this->env, $this->source, $context["category"], "code", [], "any", false, false, false, 263)))) . "_name")), "html", null, true);
echo "\" style=\"width: 35px;\" alt=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans((("app.ui.category_rovignette_" . twig_lower_filter($this->env, twig_first($this->env, twig_get_attribute($this->env, $this->source, $context["category"], "code", [], "any", false, false, false, 263)))) . "_name")), "html", null, true);
echo "\" />
";
// line 264
if (((twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 264) % 4) == 0)) {
echo " <br> ";
}
// line 265
echo " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['category'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 266
echo " </div>
<h3 class=\"card-title text-white mb-5\"><strong>";
// line 268
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.vignette"), "html", null, true);
echo "</strong></h3>
<a href=\"";
// line 269
echo ((twig_get_attribute($this->env, $this->source, (isset($context["lastProductStatus"]) || array_key_exists("lastProductStatus", $context) ? $context["lastProductStatus"] : (function () { throw new RuntimeError('Variable "lastProductStatus" does not exist.', 269, $this->source); })()), "vignetteStatus", [], "any", false, false, false, 269)) ? ($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_shop_vignette")) : ("#"));
echo "\" class=\"btn ";
if (twig_get_attribute($this->env, $this->source, (isset($context["lastProductStatus"]) || array_key_exists("lastProductStatus", $context) ? $context["lastProductStatus"] : (function () { throw new RuntimeError('Variable "lastProductStatus" does not exist.', 269, $this->source); })()), "vignetteStatus", [], "any", false, false, false, 269)) {
echo " btn-primary ";
} else {
echo " btn-primary-inactive ";
}
echo " w-100\">
";
// line 270
if ((twig_get_attribute($this->env, $this->source, (isset($context["lastProductStatus"]) || array_key_exists("lastProductStatus", $context) ? $context["lastProductStatus"] : (function () { throw new RuntimeError('Variable "lastProductStatus" does not exist.', 270, $this->source); })()), "vignetteStatus", [], "any", false, false, false, 270) == true)) {
// line 271
echo " ";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.buy"), "html", null, true);
echo "
";
} else {
// line 273
echo " ";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.disabled_temporary"), "html", null, true);
echo "
";
}
// line 275
echo " </a>
</div>
</div>
<div class=\"card text-center product-card product-oxygen-card\" style=\"width: 32%\">
<div class=\"card-body\">
<img src=\"";
// line 280
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/images/icons/ic_produse_rca_white_48.png"), "html", null, true);
echo "\"
width=\"60px\" class=\"my-4\"/>
<h3 class=\"card-title text-white mb-5\"><strong>";
// line 282
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.rca"), "html", null, true);
echo "</strong></h3>
<a href=\"";
// line 283
((twig_get_attribute($this->env, $this->source, (isset($context["lastProductStatus"]) || array_key_exists("lastProductStatus", $context) ? $context["lastProductStatus"] : (function () { throw new RuntimeError('Variable "lastProductStatus" does not exist.', 283, $this->source); })()), "rcaStatus", [], "any", false, false, false, 283)) ? (print (twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_shop_rca_details", ["from" => twig_constant("App\\Entity\\Customer\\TrackerActivity::FROM_HOMEPAGE")]), "html", null, true))) : (print ("#")));
echo "\" class=\"btn ";
if (twig_get_attribute($this->env, $this->source, (isset($context["lastProductStatus"]) || array_key_exists("lastProductStatus", $context) ? $context["lastProductStatus"] : (function () { throw new RuntimeError('Variable "lastProductStatus" does not exist.', 283, $this->source); })()), "rcaStatus", [], "any", false, false, false, 283)) {
echo " btn-primary ";
} else {
echo " btn-primary-inactive ";
}
echo " w-100\">
";
// line 284
if ((twig_get_attribute($this->env, $this->source, (isset($context["lastProductStatus"]) || array_key_exists("lastProductStatus", $context) ? $context["lastProductStatus"] : (function () { throw new RuntimeError('Variable "lastProductStatus" does not exist.', 284, $this->source); })()), "rcaStatus", [], "any", false, false, false, 284) == true)) {
// line 285
echo " ";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.buy"), "html", null, true);
echo "
";
} else {
// line 287
echo " ";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.disabled_temporary"), "html", null, true);
echo "
";
}
// line 289
echo " </a>
</div>
</div>
";
// line 293
if (twig_get_attribute($this->env, $this->source, (isset($context["lastProductStatus"]) || array_key_exists("lastProductStatus", $context) ? $context["lastProductStatus"] : (function () { throw new RuntimeError('Variable "lastProductStatus" does not exist.', 293, $this->source); })()), "deathInsuranceStatus", [], "any", false, false, false, 293)) {
// line 294
echo " <div class=\"card text-center product-card product-nn-card\" style=\"width: 32%\">
<div class=\"card-body\">
<img src=\"";
// line 296
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/images/icons/person_white.png"), "html", null, true);
echo "\"
height=\"60px\" class=\"my-4\"/>
<h3 class=\"card-title text-white mb-5\"><strong>";
// line 298
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.nn_insurance"), "html", null, true);
echo "</strong></h3>
<a href=\"";
// line 299
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_shop_death_insurance");
echo "\" class=\"btn btn-primary w-100\">
";
// line 300
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.buy"), "html", null, true);
echo "
</a>
</div>
</div>
";
} else {
// line 306
echo "
<div class=\"card text-center product-card product-toll-card\" style=\"width: 32%\">
<div class=\"card-body\">
<img src=\"";
// line 309
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/images/icons/ematrica_white.png"), "html", null, true);
echo "\"
height=\"60px\" class=\"my-4\"/>
<h3 class=\"card-title text-white mb-5\"><strong>";
// line 311
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.hu_vignette.hu_vignette"), "html", null, true);
echo "</strong></h3>
<a href=\"";
// line 312
echo ((twig_get_attribute($this->env, $this->source, (isset($context["lastProductStatus"]) || array_key_exists("lastProductStatus", $context) ? $context["lastProductStatus"] : (function () { throw new RuntimeError('Variable "lastProductStatus" does not exist.', 312, $this->source); })()), "huVignetteStatus", [], "any", false, false, false, 312)) ? ($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_shop_hu_vignette")) : ("#"));
echo "\" class=\"btn ";
if (twig_get_attribute($this->env, $this->source, (isset($context["lastProductStatus"]) || array_key_exists("lastProductStatus", $context) ? $context["lastProductStatus"] : (function () { throw new RuntimeError('Variable "lastProductStatus" does not exist.', 312, $this->source); })()), "huVignetteStatus", [], "any", false, false, false, 312)) {
echo " btn-primary ";
} else {
echo " btn-primary-inactive ";
}
echo " w-100\">
";
// line 313
if ((twig_get_attribute($this->env, $this->source, (isset($context["lastProductStatus"]) || array_key_exists("lastProductStatus", $context) ? $context["lastProductStatus"] : (function () { throw new RuntimeError('Variable "lastProductStatus" does not exist.', 313, $this->source); })()), "huVignetteStatus", [], "any", false, false, false, 313) == true)) {
// line 314
echo " ";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.buy"), "html", null, true);
echo "
";
} else {
// line 316
echo " ";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.disabled_temporary"), "html", null, true);
echo "
";
}
// line 318
echo " </a>
</div>
</div>
";
}
// line 322
echo "
</div>
</div>
</div>
</div>
</div>
<div class=\"custom-container my-3\">
<h1>
";
// line 331
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.homepage_h1"), "html", null, true);
echo "
</h1>
</div>
";
// line 335
if (((isset($context["isTicketing"]) || array_key_exists("isTicketing", $context)) && ((isset($context["isTicketing"]) || array_key_exists("isTicketing", $context) ? $context["isTicketing"] : (function () { throw new RuntimeError('Variable "isTicketing" does not exist.', 335, $this->source); })()) == "true"))) {
// line 336
echo "
";
} else {
// line 338
echo " <div class=\"custom-container my-3\">
";
// line 339
$this->loadTemplate("@templates/Front/Shop/_trust_cnair.html.twig", "@templates/Front/homepage.html.twig", 339)->display($context);
// line 340
echo " </div>
";
}
// line 342
echo "
";
// line 343
$this->displayBlock('get_help', $context, $blocks);
// line 364
echo "
";
// line 365
$this->displayBlock('info', $context, $blocks);
// line 409
echo "
";
// line 411
$this->displayBlock('find_car_piece', $context, $blocks);
// line 436
echo "
";
// line 437
$this->displayBlock('pre_footer', $context, $blocks);
// line 485
echo " <script>
\$(function () {
\$('[data-toggle=\"popover\"]').popover({
trigger : 'hover'
})
})
</script>
<script>
\$(document).ready(function() {
let email = null;
\$(\"#mc-embedded-subscribe-form\").submit(function () {
let input = \$(this).find(\"input[name=EMAIL]\");
email = input.val();
});
\$('#mce-success-response').bind('DOMSubtreeModified', function (event) {
let url = Routing.generate('app_newsletter');
\$.ajax({
url: url,
data: {'email': email},
type: 'POST',
dataType: 'json',
async: true,
success: function (data) {
},
error: function () {
}
});
});
});
</script>
<style>
.scala-banner {
width: 100%;
height: 90px;
background-image: url(\"/assets/shop/images/banner.png\");
background-size: 100% 90px;
background-repeat: no-repeat;
}
.custom-container {
max-width: 1400px;
width: 100%;
margin: auto;
}
.banner-custom-container {
width: 100%;
background-image: url(\"/assets/shop/images/banner-background.png\");
background-size: 100% 100%;
background-repeat: no-repeat;
}
.btn-primary-inactive {
background-color: #F19F6D;
color: #fff;
}
.btn-primary-inactive:hover {
color: #fff;
}
@media (min-width: 1400px) {
#bannerCustomContainer {
margin-left: 0;
margin-right: 0;
}
}
</style>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 343
public function block_get_help($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "get_help"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "get_help"));
// line 344
echo " <div class=\"custom-container my-4\">
<div class=\"container-help\">
<div class=\"row text-white d-flex align-items-center\">
<div class=\"col-9 mt-5\">
<h2 class=\"font-weight-bolder text-white ml-5\">
";
// line 349
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.no_worries"), "html", null, true);
echo "
</h2>
<h5 class=\"font-weight-bold text-white ml-5\">
";
// line 352
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.let_us_help_you"), "html", null, true);
echo "
</h5>
</div>
<div class=\"col-3\">
<div class=\"pt-3\">
<a href=\"";
// line 357
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sylius_shop_register");
echo "\" class=\"btn btn-light h-100 text-primary font-weight-bold w-50 mt-4\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.create_account"), "html", null, true);
echo "</a>
</div>
</div>
</div>
</div>
</div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 365
public function block_info($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "info"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "info"));
// line 366
echo " <div class=\"custom-container\">
<div class=\"row d-flex align-items-center my-3\">
<div class=\"col-4\">
<h1 class=\"font-weight-bolder ml-5\">
";
// line 370
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.we_help_you"), "html", null, true);
echo "
</h1>
<h5 class=\"font-weight-bold ml-5\">
";
// line 373
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.call_center_schedule"), "html", null, true);
echo "
</h5>
</div>
<div class=\"col-4\">
<h5 class=\"font-weight-bolder ml-5\">
";
// line 378
if (((isset($context["isTicketing"]) || array_key_exists("isTicketing", $context)) && ((isset($context["isTicketing"]) || array_key_exists("isTicketing", $context) ? $context["isTicketing"] : (function () { throw new RuntimeError('Variable "isTicketing" does not exist.', 378, $this->source); })()) == "true"))) {
// line 379
echo " <a href=\"tel:+40732773774\">
<img src=\"";
// line 380
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/images/icons/ic_contact_phone_primary_24.png"), "html", null, true);
echo "\"
width=\"25px\"/>
";
// line 382
echo twig_escape_filter($this->env, (isset($context["call_center_phone_ticketing"]) || array_key_exists("call_center_phone_ticketing", $context) ? $context["call_center_phone_ticketing"] : (function () { throw new RuntimeError('Variable "call_center_phone_ticketing" does not exist.', 382, $this->source); })()), "html", null, true);
echo "</a>
";
} else {
// line 384
echo " <a href=\"tel:+40213009696\">
<img src=\"";
// line 385
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/images/icons/ic_contact_phone_primary_24.png"), "html", null, true);
echo "\"
width=\"25px\"/>
";
// line 387
echo twig_escape_filter($this->env, (isset($context["call_center_phone"]) || array_key_exists("call_center_phone", $context) ? $context["call_center_phone"] : (function () { throw new RuntimeError('Variable "call_center_phone" does not exist.', 387, $this->source); })()), "html", null, true);
echo "</a>
";
}
// line 389
echo " </h5>
</div>
<div class=\"col-4\">
<h5 class=\"font-weight-bolder ml-5\">
";
// line 393
if (((isset($context["isTicketing"]) || array_key_exists("isTicketing", $context)) && ((isset($context["isTicketing"]) || array_key_exists("isTicketing", $context) ? $context["isTicketing"] : (function () { throw new RuntimeError('Variable "isTicketing" does not exist.', 393, $this->source); })()) == "true"))) {
// line 394
echo " <a href=\"mailto:comenzi@taxeauto.ro\">
<img src=\"";
// line 395
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/images/icons/ic_contact_mail_primary_24.png"), "html", null, true);
echo "\"
width=\"25px\"/>
comenzi@taxeauto.ro</a>
";
} else {
// line 399
echo " <a href=\"mailto:comenzi@roviniete.ro\">
<img src=\"";
// line 400
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/images/icons/ic_contact_mail_primary_24.png"), "html", null, true);
echo "\"
width=\"25px\"/>
comenzi@roviniete.ro</a>
";
}
// line 404
echo " </h5>
</div>
</div>
</div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 411
public function block_find_car_piece($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "find_car_piece"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "find_car_piece"));
// line 412
echo " <div class=\"custom-container d-none\">
<div class=\"card w-100 my-5 py-5\">
<div class=\"d-flex justify-content-between align-items-center\">
<div class=\"ml-auto\">
<h1 class=\"font-weight-bolder\">
";
// line 417
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.specific_search"), "html", null, true);
echo "
</h1>
<h4 class=\"font-weight-bold\">
";
// line 420
echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.choose_auto_pieces_easily");
echo "
</h4>
</div>
<div class=\"ml-auto mr-auto\">
<h5> ";
// line 425
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.vin"), "html", null, true);
echo ":</h5>
<form>
<input type=\"text\" class=\"form-control my-3\" style=\"background-color: #E2E2E2; width: 150%\"
placeholder=\"EX: VF00000000\" name=\"inputVIN\">
<button type=\"submit\" class=\"btn btn-primary\" style=\"width: 150%\"> ";
// line 429
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.search"), "html", null, true);
echo "</button>
</form>
</div>
</div>
</div>
</div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 437
public function block_pre_footer($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "pre_footer"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "pre_footer"));
// line 438
echo " <div class=\"custom-container mt-5\">
<div class=\"bg-white\">
<div class=\"border-bottom pt-3 pb-4\">
<div class=\"row align-items-center\">
<div class=\"col-3\">
<a href=\"";
// line 443
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("bitbag_sylius_cms_plugin_shop_page_show", ["slug" => "descarca-rovinieta"]);
echo "\">
<h3 class=\"font-weight-bolder ml-5\">
<img src=\"";
// line 445
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/images/icons/ic_servicii_download_primary_24.png"), "html", null, true);
echo "\"
width=\"25px\"/>
";
// line 447
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.download_vignette"), "html", null, true);
echo "
</h3>
</a>
</div>
<div class=\"col-3\">
<a href=\"";
// line 452
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("bitbag_sylius_cms_plugin_shop_page_show", ["slug" => "servicii-firme"]);
echo "\">
<h3 class=\"font-weight-bolder ml-5\">
<img src=\"";
// line 454
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/images/icons/ic_servicii_gear_primary_24.png"), "html", null, true);
echo "\"
width=\"25px\"/>
";
// line 456
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.company_services"), "html", null, true);
echo "
</h3>
</a>
</div>
<div class=\"col-3\">
<a href=\"";
// line 461
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("bitbag_sylius_cms_plugin_shop_page_show", ["slug" => "verifica-valabilitatea-rovinietei"]);
echo "\">
<h3 class=\"font-weight-bolder ml-5\">
<img src=\"";
// line 463
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/images/icons/ic_servicii_shield_primary_24.png"), "html", null, true);
echo "\"
width=\"25px\"/>
";
// line 465
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.validity_check"), "html", null, true);
echo "
</h3>
</a>
</div>
<div class=\"col-3\">
<a href=\"";
// line 470
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("bitbag_sylius_cms_plugin_shop_page_show", ["slug" => "Alerte-de-expirare"]);
echo "\">
<h3 class=\"font-weight-bolder ml-5\">
<img
src=\"";
// line 473
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/images/icons/ic_servicii_notifications_primary_24.png"), "html", null, true);
echo "\"
width=\"25px\"/>
";
// line 475
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.expiry_alerts"), "html", null, true);
echo "
</h3>
</a>
</div>
</div>
</div>
</div>
</div>
</div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "@templates/Front/homepage.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 1276 => 475, 1271 => 473, 1265 => 470, 1257 => 465, 1252 => 463, 1247 => 461, 1239 => 456, 1234 => 454, 1229 => 452, 1221 => 447, 1216 => 445, 1211 => 443, 1204 => 438, 1194 => 437, 1177 => 429, 1170 => 425, 1162 => 420, 1156 => 417, 1149 => 412, 1139 => 411, 1125 => 404, 1118 => 400, 1115 => 399, 1108 => 395, 1105 => 394, 1103 => 393, 1097 => 389, 1092 => 387, 1087 => 385, 1084 => 384, 1079 => 382, 1074 => 380, 1071 => 379, 1069 => 378, 1061 => 373, 1055 => 370, 1049 => 366, 1039 => 365, 1020 => 357, 1012 => 352, 1006 => 349, 999 => 344, 989 => 343, 910 => 485, 908 => 437, 905 => 436, 903 => 411, 899 => 409, 897 => 365, 894 => 364, 892 => 343, 889 => 342, 885 => 340, 883 => 339, 880 => 338, 876 => 336, 874 => 335, 867 => 331, 856 => 322, 850 => 318, 844 => 316, 838 => 314, 836 => 313, 826 => 312, 822 => 311, 817 => 309, 812 => 306, 803 => 300, 799 => 299, 795 => 298, 790 => 296, 786 => 294, 784 => 293, 778 => 289, 772 => 287, 766 => 285, 764 => 284, 754 => 283, 750 => 282, 745 => 280, 738 => 275, 732 => 273, 726 => 271, 724 => 270, 714 => 269, 710 => 268, 706 => 266, 692 => 265, 688 => 264, 679 => 263, 662 => 262, 652 => 254, 645 => 250, 640 => 248, 633 => 245, 631 => 244, 628 => 243, 621 => 239, 616 => 237, 609 => 234, 607 => 233, 604 => 232, 597 => 228, 592 => 226, 585 => 223, 583 => 222, 576 => 218, 571 => 216, 559 => 213, 556 => 212, 549 => 208, 544 => 206, 537 => 203, 535 => 202, 532 => 201, 524 => 196, 518 => 193, 511 => 190, 509 => 189, 506 => 188, 498 => 183, 491 => 179, 484 => 176, 482 => 175, 479 => 174, 470 => 168, 463 => 164, 456 => 161, 454 => 160, 446 => 154, 444 => 153, 439 => 150, 426 => 143, 420 => 140, 416 => 138, 412 => 137, 409 => 136, 396 => 129, 390 => 126, 386 => 124, 382 => 123, 379 => 122, 366 => 115, 360 => 112, 356 => 110, 352 => 109, 349 => 108, 336 => 101, 330 => 98, 326 => 96, 322 => 95, 319 => 94, 316 => 93, 313 => 92, 309 => 90, 307 => 89, 300 => 85, 297 => 84, 295 => 83, 284 => 75, 281 => 74, 271 => 73, 261 => 69, 259 => 68, 254 => 66, 242 => 57, 237 => 55, 233 => 54, 229 => 53, 225 => 52, 221 => 51, 211 => 44, 203 => 40, 193 => 39, 181 => 21, 177 => 19, 167 => 18, 156 => 70, 154 => 39, 150 => 38, 147 => 37, 144 => 36, 141 => 35, 135 => 34, 130 => 32, 125 => 31, 122 => 30, 117 => 29, 114 => 28, 112 => 27, 107 => 26, 104 => 25, 102 => 24, 99 => 23, 97 => 18, 91 => 15, 84 => 11, 75 => 4, 65 => 3, 42 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends '@templates/Front/Shop/layout.html.twig' %}
{% block head %}
<head>
<meta charset=\"utf-8\">
<meta name=\"verify-paysera\" content=\"933b669cd20feb6010fff2d42583717d\">
<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
<meta http-equiv=\"Content-Language\" content=\"ro\">
<meta name=\"google-site-verification\" content=\"BEtIqk-choaMawpOxG98NtbWKAZK5MuTxV_2-pSHGFQ\">
<title>{{'app.ui.homepage_meta_title'|trans}} </title>
<meta content=\"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no\" name=\"viewport\">
<meta name=\"description\" content=\"{{'app.ui.homepage_meta_description'|trans}}\">
<meta name=\"keywords\" content=\"rovinieta online, roviniete online, rovinieta preţ, verificare valabilitate rovinieta, plata rovinieta online, calculator rovinieta\">
{% block stylesheets %}
<link rel=\"stylesheet\" href=\"/assets/shop/css/homepage.css\">
<link rel=\"stylesheet\" href=\"/assets/shop/css/bootstrap.min.css\">
{{ encore_entry_link_tags('bootstrap-fix', null, 'bootstrapTheme') }}
{% endblock %}
{% set urlPath = app.request.uri %}
{% if urlPath is not null %}
<link rel=\"canonical\" href=\"{{ urlPath }}\"/>
{% set currentLocale = app.request.locale %}
{% if currentLocale is not null %}
{% for locale in locales.allLocales %}
{% if locale != currentLocale %}
<link rel=\"alternate\" hreflang=\"{{ locale }}\"
href=\"{{ absolute_url(path('sylius_shop_homepage', {'_locale': locale})) }}\"/>
{% endif %}
{% endfor %}
{% endif %}
{% endif %}
{{ sonata_block_render_event('sylius.shop.layout.head') }}
{% block javascripts %}
<script src=\"{{ asset('assets/shop/js/sentry-bundle.min.js') }}\"></script>
<script>
if (typeof Sentry !== 'undefined') {
Sentry.init({
dsn: \"{{ sentry_dsn }}\",
integrations: [new Sentry.Integrations.TryCatch({
eventTarget: false,
})]
});
}
</script>
<script src=\"{{ asset('assets/shop/js/jquery.min.js') }}\"></script>
<script src=\"{{ asset('assets/shop/js/jquery-ui.min.js') }}\"></script>
<script src=\"{{ asset('assets/shop/js/popper.min.js') }}\"></script>
<script src=\"{{ asset('assets/shop/js/bootstrap.min.js') }}\"></script>
<script src=\"{{ asset('assets/shop/js/leftmenu.js') }}\"></script>
<script src=\"/bundles/fosjsrouting/js/router.js\"></script>
<script src=\"{{ path('fos_js_routing_js', { callback: 'fos.Router.setData' }) }}\"></script>
<script>
dataLayer = [];
</script>
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','{{ gtm_code }}');</script>
<!-- End Google Tag Manager -->
{% include '@templates/ShopCustom/one_signal.html.twig' %}
{% endblock %}
</head>
{% endblock %}
{% block header %}
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id={{ gtm_code }}\"
height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
<div>
<div class=\"custom-container\">
<div style=\"background-color: white; max-width: 100%\">
<header>
<input id=\"collapsibleMenu\" value=\"1\" hidden>
{% include '@templates/Front/Shop/v2/_header.html.twig' %}
{{ sonata_block_render_event('sylius.shop.layout.after_header') }}
</header>
</div>
{% if isTicketing is defined and isTicketing == \"true\"%}
{% else %}
{% include '@templates/Front/Shop/_after_header.html.twig' %}
{% endif %}
{% for flash_message in app.session.flashBag.get('vignette-init-error') %}
<div class=\"alert alert-warning alert-dismissible fade show\" role=\"alert\">
<div class=\"header text-center\">
<h2>{{ 'sylius.ui.warning'|trans }}</h2>
</div>
<a class=\"text-center\">
{{ flash_message }}
</a>
<button type=\"button\" class=\"close\" data-dismiss=\"alert\" aria-label=\"Close\">
<span aria-hidden=\"true\">×</span>
</button>
</div>
{% endfor %}
{% for flash_message in app.session.flashBag.get('already_logged_in') %}
<div class=\"alert alert-warning alert-dismissible fade show\" role=\"alert\">
<div class=\"header text-center\">
<h2>{{ 'sylius.ui.warning'|trans }}</h2>
</div>
<a class=\"text-center\">
{{ 'app.ui.already_signed_in'|trans }}
</a>
<button type=\"button\" class=\"close\" data-dismiss=\"alert\" aria-label=\"Close\">
<span aria-hidden=\"true\">×</span>
</button>
</div>
{% endfor %}
{% for flash_message in app.session.flashBag.get('unsubscribe') %}
<div class=\"alert alert-warning alert-dismissible fade show\" role=\"alert\">
<div class=\"header text-center\">
<h2>{{ 'app.ui.success_action'|trans }}</h2>
</div>
<a class=\"text-center\">
{{ 'app.ui.successfully_unsubscribed'|trans }}
</a>
<button type=\"button\" class=\"close\" data-dismiss=\"alert\" aria-label=\"Close\">
<span aria-hidden=\"true\">×</span>
</button>
</div>
{% endfor %}
{% for flash_message in app.session.flashBag.get('productRemoved') %}
<div class=\"alert alert-warning alert-dismissible fade show\" role=\"alert\">
<div class=\"header text-center\">
<h2>{{ 'sylius.ui.warning'|trans }}</h2>
</div>
<a class=\"text-center\">
{{ 'app.hu_vignette.product_removed_from_cart'|trans }}
</a>
<button type=\"button\" class=\"close\" data-dismiss=\"alert\" aria-label=\"Close\">
<span aria-hidden=\"true\">×</span>
</button>
</div>
{% endfor %}
<div class=\"custom-container\">
<div class=\"container-rounded\">
{% include '@templates/Front/Shop/_shop_navbar.html.twig' %}
</div>
</div>
<div class=\"custom-container\">
<div class=\"row\">
<div class=\"col-3\">
<div class=\"card w-100 special-card border-top-0\">
{% if lastProductStatus.rcaStatus is defined and lastProductStatus.rcaStatus %}
<a class=\"text-decoration-none\" href=\"{{ lastProductStatus.rcaStatus ? path('app_shop_rca_details', {'from': constant('App\\\\Entity\\\\Customer\\\\TrackerActivity::FROM_HOMEPAGE')}) : '#' }}\">
<div class=\"dropdown-item my-2 d-flex align-items-center\" href=\"#\">
<div class=\"mr-4\">
<img src=\"{{ asset('assets/shop/images/icons/ic_produse_rca_dark_48.png') }}\" width=\"35px\"/>
</div>
<div>
<div class=\"d-flex align-items-center\">
<h4>{{ 'app.ui.rca'|trans }}</h4>
</div>
</div>
</div>
</a>
{% endif %}
{% if lastProductStatus.vignetteStatus is defined and lastProductStatus.vignetteStatus %}
<a class=\"text-decoration-none\" href=\"{{ path('app_shop_vignette') }}\">
<div class=\"dropdown-item my-2 d-flex align-items-center\" href=\"#\">
<div class=\"mr-4\">
<img src=\"{{ asset('assets/shop/images/icons/ic_produse_roviniete_dark_48.png') }}\"
width=\"35px\"/>
</div>
<div class=\"d-flex align-items-center\">
<h4>{{ 'app.ui.vignette'|trans }}</h4>
</div>
</div>
</a>
{% endif %}
{% if lastProductStatus.huVignetteStatus is defined and lastProductStatus.huVignetteStatus %}
<a class=\"text-decoration-none\" href=\"{{ path('app_shop_hu_vignette') }}\">
<div class=\"dropdown-item my-2 d-flex align-items-center\">
<div class=\"mr-4 d-flex justify-content-center\" style=\"width: 35px\">
<img src=\"{{ asset('assets/shop/images/icons/ematrica_black.png') }}\" height=\"35px\"/>
</div>
<div class=\"d-flex align-items-center\">
<h4>{{ 'app.hu_vignette.hu_vignette'|trans }}</h4>
</div>
</div>
</a>
{% endif %}
{% if lastProductStatus.deathInsuranceStatus is defined and lastProductStatus.deathInsuranceStatus %}
<a class=\"text-decoration-none\" href=\"{{ path('app_shop_death_insurance') }}\">
<div class=\"dropdown-item my-2 d-flex align-items-center\">
<div class=\"mr-4\">
<img src=\"{{ asset('assets/shop/images/icons/person.png') }}\" width=\"35px\"/>
</div>
<h4>{{ 'app.ui.nn_insurance'|trans }}</h4>
</div>
</a>
{% endif %}
<a class=\"text-decoration-none\" {% if lastProductStatus.peajStatus is defined and lastProductStatus.peajStatus %}href=\"{{ path('app_shop_peaj') }}\" {% else %}href=\"https://www.taxadepod.ro/\" target=\"_blank\"{% endif %}>
<div class=\"dropdown-item my-2 d-flex align-items-center\">
<div class=\"mr-4\">
<img src=\"{{ asset('assets/shop/images/icons/ic_produse_pod_dark_48.png') }}\" width=\"35px\"/>
</div>
<h4>{{ 'app.ui.toll_tax'|trans }}</h4>
</div>
</a>
{% if lastProductStatus.licenseRecoveryStatus is defined and lastProductStatus.licenseRecoveryStatus %}
<a class=\"text-decoration-none\" href=\"{{ path('app_shop_license_recovery') }}\">
<div class=\"dropdown-item my-2 d-flex align-items-center\">
<div class=\"mr-4\">
<img src=\"{{ asset('assets/shop/images/icons/license.png') }}\" width=\"35px\"/>
</div>
<h4>{{ 'app.ui.license_recovery'|trans }}</h4>
</div>
</a>
{% endif %}
{% if lastProductStatus.telemedicineStatus is defined and lastProductStatus.telemedicineStatus %}
<a class=\"text-decoration-none\" href=\"{{ path('app_shop_telemedicine') }}\">
<div class=\"dropdown-item my-2 d-flex align-items-center\">
<div class=\"mr-4\">
<img src=\"{{ asset('assets/shop/images/icons/umbrella_plus.png') }}\" width=\"35px\"/>
</div>
<h4>{{ 'app.ui.telemedicine.menu_entry'|trans }}</h4>
</div>
</a>
{% endif %}
{% if lastProductStatus.roadAssistanceStatus is defined and lastProductStatus.roadAssistanceStatus %}
<a class=\"text-decoration-none\" href=\"{{ path('app_shop_road_assistance') }}\">
<div class=\"dropdown-item my-2 d-flex align-items-center\">
<div class=\"mr-4\">
<img src=\"{{ asset('assets/shop/images/icons/road_assistance.png') }}\" width=\"35px\"/>
</div>
<h4>{{ 'app.ui.road_assistance'|trans }}</h4>
</div>
</a>
{% endif %}
</div>
</div>
<div class=\"col-9\">
<div class=\"d-flex justify-content-between my-4\">
<div class=\"card text-center product-card product-vignette-card\" style=\"width: 32%\">
<div class=\"card-body\">
<div class=\"mx-4 mt-4\" style=\"margin-bottom: 4%;\">
{% for category in vignetteCategories %}
<img src=\"{{ (asset('assets/shop/images/icons/ic_rovinieta_categ_' ~ category.code|first|lower) ~ '_white.png')}}\" title=\"{{('app.ui.category_rovignette_' ~category.code|first|lower ~ '_name')|trans}}\" style=\"width: 35px;\" alt=\"{{('app.ui.category_rovignette_' ~category.code|first|lower ~ '_name')|trans}}\" />
{% if loop.index % 4 == 0 %} <br> {% endif %}
{% endfor %}
</div>
<h3 class=\"card-title text-white mb-5\"><strong>{{ 'app.ui.vignette'|trans }}</strong></h3>
<a href=\"{{ lastProductStatus.vignetteStatus ? path('app_shop_vignette') : '#' }}\" class=\"btn {% if lastProductStatus.vignetteStatus %} btn-primary {% else %} btn-primary-inactive {% endif %} w-100\">
{% if lastProductStatus.vignetteStatus == true %}
{{ 'app.ui.buy'|trans }}
{% else %}
{{ 'app.ui.disabled_temporary'|trans }}
{% endif %}
</a>
</div>
</div>
<div class=\"card text-center product-card product-oxygen-card\" style=\"width: 32%\">
<div class=\"card-body\">
<img src=\"{{ asset('assets/shop/images/icons/ic_produse_rca_white_48.png') }}\"
width=\"60px\" class=\"my-4\"/>
<h3 class=\"card-title text-white mb-5\"><strong>{{ 'app.ui.rca'|trans }}</strong></h3>
<a href=\"{{ lastProductStatus.rcaStatus ? path('app_shop_rca_details', {'from': constant('App\\\\Entity\\\\Customer\\\\TrackerActivity::FROM_HOMEPAGE')}) : '#' }}\" class=\"btn {% if lastProductStatus.rcaStatus %} btn-primary {% else %} btn-primary-inactive {% endif %} w-100\">
{% if lastProductStatus.rcaStatus == true %}
{{ 'app.ui.buy'|trans }}
{% else %}
{{ 'app.ui.disabled_temporary'|trans }}
{% endif %}
</a>
</div>
</div>
{% if lastProductStatus.deathInsuranceStatus %}
<div class=\"card text-center product-card product-nn-card\" style=\"width: 32%\">
<div class=\"card-body\">
<img src=\"{{ asset('assets/shop/images/icons/person_white.png') }}\"
height=\"60px\" class=\"my-4\"/>
<h3 class=\"card-title text-white mb-5\"><strong>{{ 'app.ui.nn_insurance'|trans }}</strong></h3>
<a href=\"{{ path('app_shop_death_insurance') }}\" class=\"btn btn-primary w-100\">
{{ 'app.ui.buy'|trans }}
</a>
</div>
</div>
{% else %}
<div class=\"card text-center product-card product-toll-card\" style=\"width: 32%\">
<div class=\"card-body\">
<img src=\"{{ asset('assets/shop/images/icons/ematrica_white.png') }}\"
height=\"60px\" class=\"my-4\"/>
<h3 class=\"card-title text-white mb-5\"><strong>{{ 'app.hu_vignette.hu_vignette'|trans }}</strong></h3>
<a href=\"{{ lastProductStatus.huVignetteStatus ? path('app_shop_hu_vignette') : '#' }}\" class=\"btn {% if lastProductStatus.huVignetteStatus %} btn-primary {% else %} btn-primary-inactive {% endif %} w-100\">
{% if lastProductStatus.huVignetteStatus == true %}
{{ 'app.ui.buy'|trans }}
{% else %}
{{ 'app.ui.disabled_temporary'|trans }}
{% endif %}
</a>
</div>
</div>
{% endif %}
</div>
</div>
</div>
</div>
</div>
<div class=\"custom-container my-3\">
<h1>
{{'app.ui.homepage_h1'|trans}}
</h1>
</div>
{% if isTicketing is defined and isTicketing == \"true\"%}
{% else %}
<div class=\"custom-container my-3\">
{% include '@templates/Front/Shop/_trust_cnair.html.twig' %}
</div>
{% endif %}
{% block get_help %}
<div class=\"custom-container my-4\">
<div class=\"container-help\">
<div class=\"row text-white d-flex align-items-center\">
<div class=\"col-9 mt-5\">
<h2 class=\"font-weight-bolder text-white ml-5\">
{{ 'app.ui.no_worries'|trans }}
</h2>
<h5 class=\"font-weight-bold text-white ml-5\">
{{ 'app.ui.let_us_help_you'|trans }}
</h5>
</div>
<div class=\"col-3\">
<div class=\"pt-3\">
<a href=\"{{ path('sylius_shop_register') }}\" class=\"btn btn-light h-100 text-primary font-weight-bold w-50 mt-4\">{{ 'app.ui.create_account'|trans }}</a>
</div>
</div>
</div>
</div>
</div>
{% endblock %}
{% block info %}
<div class=\"custom-container\">
<div class=\"row d-flex align-items-center my-3\">
<div class=\"col-4\">
<h1 class=\"font-weight-bolder ml-5\">
{{ 'app.ui.we_help_you'|trans }}
</h1>
<h5 class=\"font-weight-bold ml-5\">
{{ 'app.ui.call_center_schedule'|trans }}
</h5>
</div>
<div class=\"col-4\">
<h5 class=\"font-weight-bolder ml-5\">
{% if isTicketing is defined and isTicketing == \"true\"%}
<a href=\"tel:+40732773774\">
<img src=\"{{ asset('assets/shop/images/icons/ic_contact_phone_primary_24.png') }}\"
width=\"25px\"/>
{{ call_center_phone_ticketing }}</a>
{% else %}
<a href=\"tel:+40213009696\">
<img src=\"{{ asset('assets/shop/images/icons/ic_contact_phone_primary_24.png') }}\"
width=\"25px\"/>
{{ call_center_phone }}</a>
{% endif %}
</h5>
</div>
<div class=\"col-4\">
<h5 class=\"font-weight-bolder ml-5\">
{% if isTicketing is defined and isTicketing == \"true\"%}
<a href=\"mailto:comenzi@taxeauto.ro\">
<img src=\"{{ asset('assets/shop/images/icons/ic_contact_mail_primary_24.png') }}\"
width=\"25px\"/>
comenzi@taxeauto.ro</a>
{% else %}
<a href=\"mailto:comenzi@roviniete.ro\">
<img src=\"{{ asset('assets/shop/images/icons/ic_contact_mail_primary_24.png') }}\"
width=\"25px\"/>
comenzi@roviniete.ro</a>
{% endif %}
</h5>
</div>
</div>
</div>
{% endblock %}
{% block find_car_piece %}
<div class=\"custom-container d-none\">
<div class=\"card w-100 my-5 py-5\">
<div class=\"d-flex justify-content-between align-items-center\">
<div class=\"ml-auto\">
<h1 class=\"font-weight-bolder\">
{{'app.ui.specific_search'|trans}}
</h1>
<h4 class=\"font-weight-bold\">
{{'app.ui.choose_auto_pieces_easily'|trans|raw}}
</h4>
</div>
<div class=\"ml-auto mr-auto\">
<h5> {{'app.ui.vin'|trans}}:</h5>
<form>
<input type=\"text\" class=\"form-control my-3\" style=\"background-color: #E2E2E2; width: 150%\"
placeholder=\"EX: VF00000000\" name=\"inputVIN\">
<button type=\"submit\" class=\"btn btn-primary\" style=\"width: 150%\"> {{'app.ui.search'|trans}}</button>
</form>
</div>
</div>
</div>
</div>
{% endblock %}
{% block pre_footer %}
<div class=\"custom-container mt-5\">
<div class=\"bg-white\">
<div class=\"border-bottom pt-3 pb-4\">
<div class=\"row align-items-center\">
<div class=\"col-3\">
<a href=\"{{path('bitbag_sylius_cms_plugin_shop_page_show', {'slug' : 'descarca-rovinieta'})}}\">
<h3 class=\"font-weight-bolder ml-5\">
<img src=\"{{ asset('assets/shop/images/icons/ic_servicii_download_primary_24.png') }}\"
width=\"25px\"/>
{{'app.ui.download_vignette'|trans}}
</h3>
</a>
</div>
<div class=\"col-3\">
<a href=\"{{path('bitbag_sylius_cms_plugin_shop_page_show', {'slug' : 'servicii-firme'})}}\">
<h3 class=\"font-weight-bolder ml-5\">
<img src=\"{{ asset('assets/shop/images/icons/ic_servicii_gear_primary_24.png') }}\"
width=\"25px\"/>
{{'app.ui.company_services'|trans}}
</h3>
</a>
</div>
<div class=\"col-3\">
<a href=\"{{path('bitbag_sylius_cms_plugin_shop_page_show', {'slug' : 'verifica-valabilitatea-rovinietei'})}}\">
<h3 class=\"font-weight-bolder ml-5\">
<img src=\"{{ asset('assets/shop/images/icons/ic_servicii_shield_primary_24.png') }}\"
width=\"25px\"/>
{{'app.ui.validity_check'|trans}}
</h3>
</a>
</div>
<div class=\"col-3\">
<a href=\"{{path('bitbag_sylius_cms_plugin_shop_page_show', {'slug' : 'Alerte-de-expirare'})}}\">
<h3 class=\"font-weight-bolder ml-5\">
<img
src=\"{{ asset('assets/shop/images/icons/ic_servicii_notifications_primary_24.png') }}\"
width=\"25px\"/>
{{'app.ui.expiry_alerts'|trans}}
</h3>
</a>
</div>
</div>
</div>
</div>
</div>
</div>
{% endblock %}
<script>
\$(function () {
\$('[data-toggle=\"popover\"]').popover({
trigger : 'hover'
})
})
</script>
<script>
\$(document).ready(function() {
let email = null;
\$(\"#mc-embedded-subscribe-form\").submit(function () {
let input = \$(this).find(\"input[name=EMAIL]\");
email = input.val();
});
\$('#mce-success-response').bind('DOMSubtreeModified', function (event) {
let url = Routing.generate('app_newsletter');
\$.ajax({
url: url,
data: {'email': email},
type: 'POST',
dataType: 'json',
async: true,
success: function (data) {
},
error: function () {
}
});
});
});
</script>
<style>
.scala-banner {
width: 100%;
height: 90px;
background-image: url(\"/assets/shop/images/banner.png\");
background-size: 100% 90px;
background-repeat: no-repeat;
}
.custom-container {
max-width: 1400px;
width: 100%;
margin: auto;
}
.banner-custom-container {
width: 100%;
background-image: url(\"/assets/shop/images/banner-background.png\");
background-size: 100% 100%;
background-repeat: no-repeat;
}
.btn-primary-inactive {
background-color: #F19F6D;
color: #fff;
}
.btn-primary-inactive:hover {
color: #fff;
}
@media (min-width: 1400px) {
#bannerCustomContainer {
margin-left: 0;
margin-right: 0;
}
}
</style>
{% endblock %}
", "@templates/Front/homepage.html.twig", "/vhosts/newrca.roviniete.ro/templates/Front/homepage.html.twig");
}
}