<?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, (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 169
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 176
echo "
";
// line 177
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.', 177, $this->source); })()), "vignetteStatus", [], "any", false, false, false, 177)) {
// line 178
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 181
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 186
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 192
echo "
";
// line 193
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.', 193, $this->source); })()), "huVignetteStatus", [], "any", false, false, false, 193)) {
// line 194
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 197
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 201
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 207
echo "
";
// line 208
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.', 208, $this->source); })()), "deathInsuranceStatus", [], "any", false, false, false, 208)) {
// line 209
echo " <div class=\"my-2\" style=\"cursor: pointer\">
<div class=\"dropdown-item\" onclick=\"location.href='";
// line 210
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_shop_death_insurance");
echo "'\">
<img src=\"";
// line 211
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/images/icons/person.png"), "html", null, true);
echo "\"
class=\"px-2\" height=\"35px\" style=\"margin-right: 10px; padding-left: 0 !important;\"/>
<a style=\"font-size: 21px\" class=\"text-highlight text-dark text-decoration-none text-dark\">
";
// line 214
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.nn_insurance"), "html", null, true);
echo "
</a>
</div>
</div>
";
}
// line 219
echo "
<a class=\"text-decoration-none\" href=\"https://taxadepod.ro\" target=\"_blank\">
<div class=\"dropdown-item my-2 d-flex align-items-center\" href=\"#\">
<div class=\"mr-4\">
<img src=\"";
// line 223
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 226
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 231
if ((twig_get_attribute($this->env, $this->source, ($context["lastProductStatus"] ?? null), "licenseRecoveryStatus", [], "any", true, true, false, 231) && 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.', 231, $this->source); })()), "licenseRecoveryStatus", [], "any", false, false, false, 231))) {
// line 232
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 235
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 238
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 243
echo "
";
// line 244
if ((twig_get_attribute($this->env, $this->source, ($context["lastProductStatus"] ?? null), "telemedicineStatus", [], "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); })()), "telemedicineStatus", [], "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_telemedicine");
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/umbrella_plus.png"), "html", null, true);
echo "\" width=\"35px\"/>
</div>
<h4>
";
// line 251
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 256
echo "
";
// line 257
if ((twig_get_attribute($this->env, $this->source, ($context["lastProductStatus"] ?? null), "roadAssistanceStatus", [], "any", true, true, false, 257) && 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.', 257, $this->source); })()), "roadAssistanceStatus", [], "any", false, false, false, 257))) {
// line 258
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 261
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 264
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 269
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 277
$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.', 277, $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 278
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, 278))))) . "_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, 278)))) . "_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, 278)))) . "_name")), "html", null, true);
echo "\" />
";
// line 279
if (((twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 279) % 4) == 0)) {
echo " <br> ";
}
// line 280
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 281
echo " </div>
<h3 class=\"card-title text-white mb-5\"><strong>";
// line 283
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 284
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.', 284, $this->source); })()), "vignetteStatus", [], "any", false, false, false, 284)) ? ($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.', 284, $this->source); })()), "vignetteStatus", [], "any", false, false, false, 284)) {
echo " btn-primary ";
} else {
echo " btn-primary-inactive ";
}
echo " w-100\">
";
// line 285
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.', 285, $this->source); })()), "vignetteStatus", [], "any", false, false, false, 285) == true)) {
// line 286
echo " ";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.buy"), "html", null, true);
echo "
";
} else {
// line 288
echo " ";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.disabled_temporary"), "html", null, true);
echo "
";
}
// line 290
echo " </a>
</div>
</div>
<div class=\"card text-center product-card product-oxygen-card\" style=\"width: 32%\">
<div class=\"card-body\">
<img src=\"";
// line 295
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 297
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 298
((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.', 298, $this->source); })()), "rcaStatus", [], "any", false, false, false, 298)) ? (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.', 298, $this->source); })()), "rcaStatus", [], "any", false, false, false, 298)) {
echo " btn-primary ";
} else {
echo " btn-primary-inactive ";
}
echo " w-100\">
";
// line 299
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.', 299, $this->source); })()), "rcaStatus", [], "any", false, false, false, 299) == true)) {
// line 300
echo " ";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.buy"), "html", null, true);
echo "
";
} else {
// line 302
echo " ";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.disabled_temporary"), "html", null, true);
echo "
";
}
// line 304
echo " </a>
</div>
</div>
";
// line 308
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.', 308, $this->source); })()), "deathInsuranceStatus", [], "any", false, false, false, 308)) {
// line 309
echo " <div class=\"card text-center product-card product-nn-card\" style=\"width: 32%\">
<div class=\"card-body\">
<img src=\"";
// line 311
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 313
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 314
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_shop_death_insurance");
echo "\" class=\"btn btn-primary w-100\">
";
// line 315
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 321
echo "
<div class=\"card text-center product-card product-toll-card\" style=\"width: 32%\">
<div class=\"card-body\">
<img src=\"";
// line 324
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 326
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 327
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.', 327, $this->source); })()), "huVignetteStatus", [], "any", false, false, false, 327)) ? ($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.', 327, $this->source); })()), "huVignetteStatus", [], "any", false, false, false, 327)) {
echo " btn-primary ";
} else {
echo " btn-primary-inactive ";
}
echo " w-100\">
";
// line 328
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.', 328, $this->source); })()), "huVignetteStatus", [], "any", false, false, false, 328) == true)) {
// line 329
echo " ";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.buy"), "html", null, true);
echo "
";
} else {
// line 331
echo " ";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.disabled_temporary"), "html", null, true);
echo "
";
}
// line 333
echo " </a>
</div>
</div>
";
}
// line 337
echo "
</div>
</div>
</div>
</div>
</div>
<div class=\"custom-container my-3\">
<h1>
";
// line 346
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 350
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.', 350, $this->source); })()) == "true"))) {
// line 351
echo "
";
} else {
// line 353
echo " <div class=\"custom-container my-3\">
";
// line 354
$this->loadTemplate("@templates/Front/Shop/_trust_cnair.html.twig", "@templates/Front/homepage.html.twig", 354)->display($context);
// line 355
echo " </div>
";
}
// line 357
echo "
";
// line 358
$this->displayBlock('get_help', $context, $blocks);
// line 379
echo "
";
// line 380
$this->displayBlock('info', $context, $blocks);
// line 424
echo "
";
// line 426
$this->displayBlock('find_car_piece', $context, $blocks);
// line 451
echo "
";
// line 452
$this->displayBlock('pre_footer', $context, $blocks);
// line 500
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 358
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 359
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 364
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 367
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 372
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 380
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 381
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 385
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 388
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 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=\"tel:+40732773774\">
<img src=\"";
// line 395
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 397
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.', 397, $this->source); })()), "html", null, true);
echo "</a>
";
} else {
// line 399
echo " <a href=\"tel:+40213009696\">
<img src=\"";
// line 400
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 402
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.', 402, $this->source); })()), "html", null, true);
echo "</a>
";
}
// line 404
echo " </h5>
</div>
<div class=\"col-4\">
<h5 class=\"font-weight-bolder ml-5\">
";
// line 408
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.', 408, $this->source); })()) == "true"))) {
// line 409
echo " <a href=\"mailto:comenzi@taxeauto.ro\">
<img src=\"";
// line 410
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 414
echo " <a href=\"mailto:comenzi@roviniete.ro\">
<img src=\"";
// line 415
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 419
echo " </h5>
</div>
</div>
</div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 426
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 427
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 432
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 435
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 440
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 444
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 452
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 453
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 458
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 460
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 462
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 467
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 469
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 471
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 476
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 478
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 480
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 485
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 488
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 490
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 ( 1283 => 490, 1278 => 488, 1272 => 485, 1264 => 480, 1259 => 478, 1254 => 476, 1246 => 471, 1241 => 469, 1236 => 467, 1228 => 462, 1223 => 460, 1218 => 458, 1211 => 453, 1201 => 452, 1184 => 444, 1177 => 440, 1169 => 435, 1163 => 432, 1156 => 427, 1146 => 426, 1132 => 419, 1125 => 415, 1122 => 414, 1115 => 410, 1112 => 409, 1110 => 408, 1104 => 404, 1099 => 402, 1094 => 400, 1091 => 399, 1086 => 397, 1081 => 395, 1078 => 394, 1076 => 393, 1068 => 388, 1062 => 385, 1056 => 381, 1046 => 380, 1027 => 372, 1019 => 367, 1013 => 364, 1006 => 359, 996 => 358, 917 => 500, 915 => 452, 912 => 451, 910 => 426, 906 => 424, 904 => 380, 901 => 379, 899 => 358, 896 => 357, 892 => 355, 890 => 354, 887 => 353, 883 => 351, 881 => 350, 874 => 346, 863 => 337, 857 => 333, 851 => 331, 845 => 329, 843 => 328, 833 => 327, 829 => 326, 824 => 324, 819 => 321, 810 => 315, 806 => 314, 802 => 313, 797 => 311, 793 => 309, 791 => 308, 785 => 304, 779 => 302, 773 => 300, 771 => 299, 761 => 298, 757 => 297, 752 => 295, 745 => 290, 739 => 288, 733 => 286, 731 => 285, 721 => 284, 717 => 283, 713 => 281, 699 => 280, 695 => 279, 686 => 278, 669 => 277, 659 => 269, 651 => 264, 645 => 261, 638 => 258, 636 => 257, 633 => 256, 625 => 251, 619 => 248, 612 => 245, 610 => 244, 607 => 243, 599 => 238, 593 => 235, 586 => 232, 584 => 231, 576 => 226, 570 => 223, 564 => 219, 556 => 214, 550 => 211, 546 => 210, 543 => 209, 541 => 208, 538 => 207, 529 => 201, 522 => 197, 515 => 194, 513 => 193, 510 => 192, 501 => 186, 493 => 181, 486 => 178, 484 => 177, 481 => 176, 471 => 169, 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 %}
<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 %}
<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 %}
<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 %}
<div class=\"my-2\" style=\"cursor: pointer\">
<div class=\"dropdown-item\" onclick=\"location.href='{{ path('app_shop_death_insurance') }}'\">
<img src=\"{{ asset('assets/shop/images/icons/person.png') }}\"
class=\"px-2\" height=\"35px\" style=\"margin-right: 10px; padding-left: 0 !important;\"/>
<a style=\"font-size: 21px\" class=\"text-highlight text-dark text-decoration-none text-dark\">
{{ 'app.ui.nn_insurance'|trans }}
</a>
</div>
</div>
{% endif %}
<a class=\"text-decoration-none\" href=\"https://taxadepod.ro\" target=\"_blank\">
<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_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");
}
}