<?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/bundles/BitBagSyliusCmsPlugin/Shop/Page/show.html.twig */
class __TwigTemplate_62c7c41aadf0134fa1e0ff260d2ea879bfd95495ab79e77f0be59165faf5e0f2 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'],
'title' => [$this, 'block_title'],
'metatags' => [$this, 'block_metatags'],
'stylesheets' => [$this, 'block_stylesheets'],
'javascripts' => [$this, 'block_javascripts'],
'header' => [$this, 'block_header'],
'content' => [$this, 'block_content'],
];
}
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/bundles/BitBagSyliusCmsPlugin/Shop/Page/show.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/bundles/BitBagSyliusCmsPlugin/Shop/Page/show.html.twig"));
$this->parent = $this->loadTemplate("@templates/Front/Shop/layout.html.twig", "@templates/bundles/BitBagSyliusCmsPlugin/Shop/Page/show.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 2
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 3
echo " <head>
<meta charset=\"utf-8\">
<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 8
$this->displayBlock('title', $context, $blocks);
// line 14
echo "</title>
<meta content=\"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no\" name=\"viewport\">
";
// line 18
$this->displayBlock('metatags', $context, $blocks);
// line 26
echo "
";
// line 27
$this->displayBlock('stylesheets', $context, $blocks);
// line 59
echo "
";
// line 60
$this->displayBlock('javascripts', $context, $blocks);
// line 95
echo " </head>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 8
public function block_title($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", "title"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
// line 9
echo " ";
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 9, $this->source); })()), "title", [], "any", false, false, false, 9))) {
// line 10
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 10, $this->source); })()), "title", [], "any", false, false, false, 10), "html", null, true);
echo "
";
} else {
// line 12
echo " ";
$this->displayParentBlock("title", $context, $blocks);
echo "
";
}
// line 14
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 18
public function block_metatags($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", "metatags"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metatags"));
// line 19
echo " ";
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 19, $this->source); })()), "metaKeywords", [], "any", false, false, false, 19))) {
// line 20
echo " <meta name=\"keywords\" content=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 20, $this->source); })()), "metaKeywords", [], "any", false, false, false, 20), "html", null, true);
echo "\"/>
";
}
// line 22
echo " ";
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 22, $this->source); })()), "metaDescription", [], "any", false, false, false, 22))) {
// line 23
echo " <meta name=\"description\" content=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 23, $this->source); })()), "metaDescription", [], "any", false, false, false, 23), "html", null, true);
echo "\"/>
";
}
// line 25
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 27
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 28
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 32
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.', 32, $this->source); })()), "html", null, true);
echo "\",
integrations: [new Sentry.Integrations.TryCatch({
eventTarget: false,
})]
});
}
</script>
<link rel=\"stylesheet\" href=\"";
// line 39
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/assets/shop/css/homepage.css"), "html", null, true);
echo "\">
<link rel=\"stylesheet\" href=\"";
// line 40
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/assets/shop/css/bootstrap.min.css"), "html", null, true);
echo "\">
<link rel=\"stylesheet\" href=\"";
// line 41
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/assets/shop/css/leftmenu.v1.css"), "html", null, true);
echo "\">
";
// line 42
echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("bootstrap-fix", null, "bootstrapTheme");
echo "
";
// line 43
$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.', 43, $this->source); })()), "request", [], "any", false, false, false, 43), "uri", [], "any", false, false, false, 43);
// line 44
echo " ";
if ( !(null === (isset($context["urlPath"]) || array_key_exists("urlPath", $context) ? $context["urlPath"] : (function () { throw new RuntimeError('Variable "urlPath" does not exist.', 44, $this->source); })()))) {
// line 45
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.', 45, $this->source); })()), "html", null, true);
echo "\"/>
";
// line 46
$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.', 46, $this->source); })()), "request", [], "any", false, false, false, 46), "locale", [], "any", false, false, false, 46);
// line 47
echo " ";
if ( !(null === (isset($context["currentLocale"]) || array_key_exists("currentLocale", $context) ? $context["currentLocale"] : (function () { throw new RuntimeError('Variable "currentLocale" does not exist.', 47, $this->source); })()))) {
// line 48
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.', 48, $this->source); })()), "allLocales", [], "any", false, false, false, 48));
foreach ($context['_seq'] as $context["_key"] => $context["locale"]) {
// line 49
echo " ";
if (($context["locale"] != (isset($context["currentLocale"]) || array_key_exists("currentLocale", $context) ? $context["currentLocale"] : (function () { throw new RuntimeError('Variable "currentLocale" does not exist.', 49, $this->source); })()))) {
// line 50
echo " ";
$context["currentLocaleTemp"] = ((isset($context["currentLocale"]) || array_key_exists("currentLocale", $context) ? $context["currentLocale"] : (function () { throw new RuntimeError('Variable "currentLocale" does not exist.', 50, $this->source); })()) . "/");
// line 51
echo " ";
$context["newUrl"] = twig_replace_filter((isset($context["urlPath"]) || array_key_exists("urlPath", $context) ? $context["urlPath"] : (function () { throw new RuntimeError('Variable "urlPath" does not exist.', 51, $this->source); })()), ["currentLocaleTemp" => ($context["locale"] . "/")]);
// line 52
echo " <link rel=\"alternate\" hreflang=\"";
echo twig_escape_filter($this->env, $context["locale"], "html", null, true);
echo "\"
href=\"";
// line 53
echo twig_escape_filter($this->env, (isset($context["newUrl"]) || array_key_exists("newUrl", $context) ? $context["newUrl"] : (function () { throw new RuntimeError('Variable "newUrl" does not exist.', 53, $this->source); })()), "html", null, true);
echo "\"/>
";
}
// line 55
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 56
echo " ";
}
// line 57
echo " ";
}
// line 58
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 60
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 61
echo " <script src=\"";
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 62
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 63
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 64
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=\"";
// line 65
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/bundles/fosjsrouting/js/router.js"), "html", null, true);
echo "\"></script>
<script src=\"";
// line 66
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("fos_js_routing_js", ["callback" => "fos.Router.setData"]);
echo "\"></script>
<script>
\$(document).ready(function () {
function checkIfRedirectExists()
{
let redirectElement = \$('[class^=\"redirect\"]');
if (redirectElement.length > 0) {
if (redirectElement.hasClass(\"scala\")) {
window.location.href = \"https://taxeauto.ro\" + window.location.pathname;
} else if (redirectElement.hasClass(\"roviniete\")) {
window.location.href = \"https://roviniete.ro\" + window.location.pathname;
}
}
}
checkIfRedirectExists();
\$(window).on('load', function () {
checkIfRedirectExists();
});
});
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 92
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.', 92, $this->source); })()), "html", null, true);
echo "');</script>
<!-- End Google Tag Manager -->
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 98
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 99
echo " <!-- Google Tag Manager (noscript) -->
<noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=";
// line 100
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.', 100, $this->source); })()), "html", null, true);
echo "\"
height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
<div class=\"custom-container mb-2\">
<div class=\"custom-container bg-white\">
<div class=\"bg-white\">
<header>
";
// line 108
$this->loadTemplate("@templates/Front/Shop/v2/_header.html.twig", "@templates/bundles/BitBagSyliusCmsPlugin/Shop/Page/show.html.twig", 108)->display($context);
// line 109
echo "
";
// line 110
echo call_user_func_array($this->env->getFunction('sonata_block_render_event')->getCallable(), ["sylius.shop.layout.after_header"]);
echo "
</header>
</div>
</div>
</div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 118
public function block_content($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", "content"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 119
echo " <div class=\"info-banner custom-container bg-white my-2\" onclick=\"location.href='";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_shop_vignette");
echo "'\" style=\"cursor: pointer\">
<div class=\"d-flex justify-content-center align-items-center\" style=\"height: 170px\">
<div class=\"info-banner-container\">
<h1 class=\"calculator-viniete-text\">";
// line 122
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.buy_vignette_online"), "html", null, true);
echo " - <br class=\"new-line\"/> ";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.romania_vignette_calculator"), "html", null, true);
echo "</h1>
<div class=\"d-flex justify-content-center align-items-center\">
<a class=\"text-center\">";
// line 124
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.select_car_type"), "html", null, true);
echo ":</a>
</div>
<div class=\"d-flex justify-content-center align-items-center banner-images\">
<img src=\"";
// line 127
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/images/icons/ic_rovinieta_categ_a.png"), "html", null, true);
echo "\"
title=\"";
// line 128
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.category_rovignette_a_name"), "html", null, true);
echo "\" class=\"mx-2\"
alt=\"";
// line 129
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.category_rovignette_a_name"), "html", null, true);
echo "\" />
<img src=\"";
// line 130
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/images/icons/ic_rovinieta_categ_b.png"), "html", null, true);
echo "\"
title=\"";
// line 131
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.category_rovignette_b_name"), "html", null, true);
echo "\" class=\"mx-2\"
alt=\"";
// line 132
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.category_rovignette_b_name"), "html", null, true);
echo "\" />
<img src=\"";
// line 133
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/images/icons/ic_rovinieta_categ_c.png"), "html", null, true);
echo "\"
title=\"";
// line 134
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.category_rovignette_c_name"), "html", null, true);
echo "\" class=\"mx-2\"
alt=\"";
// line 135
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.category_rovignette_c_name"), "html", null, true);
echo "\" />
<img src=\"";
// line 136
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/images/icons/ic_rovinieta_categ_d.png"), "html", null, true);
echo "\"
title=\"";
// line 137
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.category_rovignette_d_name"), "html", null, true);
echo "\" class=\"mx-2\"
alt=\"";
// line 138
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.category_rovignette_d_name"), "html", null, true);
echo "\" />
<img src=\"";
// line 139
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/images/icons/ic_rovinieta_categ_e.png"), "html", null, true);
echo "\"
title=\"";
// line 140
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.category_rovignette_e_name"), "html", null, true);
echo "\" class=\"mx-2\"
alt=\"";
// line 141
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.category_rovignette_e_name"), "html", null, true);
echo "\" />
<img src=\"";
// line 142
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/images/icons/ic_rovinieta_categ_f.png"), "html", null, true);
echo "\"
title=\"";
// line 143
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.category_rovignette_f_name"), "html", null, true);
echo "\" class=\"mx-2\"
alt=\"";
// line 144
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.category_rovignette_f_name"), "html", null, true);
echo "\" />
<img src=\"";
// line 145
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/images/icons/ic_rovinieta_categ_g.png"), "html", null, true);
echo "\"
title=\"";
// line 146
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.category_rovignette_g_name"), "html", null, true);
echo "\" class=\"mx-2\"
alt=\"";
// line 147
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.category_rovignette_g_name"), "html", null, true);
echo "\" />
<img src=\"";
// line 148
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/images/icons/ic_rovinieta_categ_h.png"), "html", null, true);
echo "\"
title=\"";
// line 149
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.category_rovignette_h_name"), "html", null, true);
echo "\" class=\"mx-2\"
alt=\"";
// line 150
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.category_rovignette_h_name"), "html", null, true);
echo "\" />
</div>
<div class=\"d-flex justify-content-center align-items-center\">
<button class=\"btn btn-lg btn-primary w-50\">";
// line 153
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.continue"), "html", null, true);
echo "</button>
</div>
</div>
</div>
</div>
<div class=\"card\">
<div class=\"card-header\">
";
// line 161
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 161, $this->source); })()), "name", [], "any", false, false, false, 161))) {
// line 162
echo " <h1 class=\"ui dividing header bitbag-page-name\">";
echo twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 162, $this->source); })()), "name", [], "any", false, false, false, 162);
echo "</h1>
";
}
// line 164
echo " </div>
<div class=\"card-body\">
<div class=\"row justify-content-center align-items-center\">
<div class=\"col-8\">
";
// line 169
if (twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 169, $this->source); })()), "image", [], "any", false, false, false, 169)) {
// line 170
echo " ";
$context["path"] = ((((isset($context["preview"]) || array_key_exists("preview", $context)) && ((isset($context["preview"]) || array_key_exists("preview", $context) ? $context["preview"] : (function () { throw new RuntimeError('Variable "preview" does not exist.', 170, $this->source); })()) == true))) ? (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 170, $this->source); })()), "image", [], "any", false, false, false, 170), "path", [], "any", false, false, false, 170)) : (("/media/image/" . twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 170, $this->source); })()), "image", [], "any", false, false, false, 170), "path", [], "any", false, false, false, 170))));
// line 171
echo "
<img class=\"page-image ui fluid image\" src=\"";
// line 172
echo twig_escape_filter($this->env, (isset($context["path"]) || array_key_exists("path", $context) ? $context["path"] : (function () { throw new RuntimeError('Variable "path" does not exist.', 172, $this->source); })()), "html", null, true);
echo "\" alt=\"\">
";
}
// line 174
echo " </div>
</div>
<div class=\"ui hidden divider\"></div>
<div class=\"bitbag-page-content\">";
// line 179
echo $this->extensions['BitBag\SyliusCmsPlugin\Twig\Extension\RenderContentExtension']->renderContent((isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 179, $this->source); })()));
echo "</div>
";
// line 180
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 180, $this->source); })()), "title", [], "any", false, false, false, 180))) {
// line 181
echo " <div class=\"ui dividing header\"></div>
";
} else {
// line 183
echo " <div class=\"ui hidden divider\"></div>
";
}
// line 185
echo "
</div>
</div>
";
// line 188
if ((twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 188, $this->source); })()), "products", [], "any", false, false, false, 188)) > 0)) {
// line 189
echo " <h2>
";
// line 190
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("bitbag_sylius_cms_plugin.ui.page_related_products"), "html", null, true);
echo "
</h2>
<div class=\"bitbag-page-products\">
";
// line 193
$this->loadTemplate("@SyliusShop/Product/_horizontalList.html.twig", "@templates/bundles/BitBagSyliusCmsPlugin/Shop/Page/show.html.twig", 193)->display(twig_array_merge($context, ["products" => twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 193, $this->source); })()), "products", [], "any", false, false, false, 193)]));
// line 194
echo " </div>
";
}
// line 196
echo "
<style>
.banner-images img {
width: 50px;
}
.calculator-viniete-text {
font-family: Calibri, Tahoma, Arial, serif;
font-size: 26px;
font-weight: normal;
color: #EA6031;
line-height: 20px;
letter-spacing: -1px;
text-shadow: 0.02em 0.02em 0.02em #d96642;
display: block;
height: 40px;
padding: 10px 30px 0 0
}
.new-line {
display: none;
}
@media only screen and (max-width: 600px) {
.info-banner {
max-width: 400px;
}
.info-banner-container {
max-width: 400px;
text-align: center;
}
.banner-images img {
width: 30px;
}
.calculator-viniete-text {
height: 58px;
line-height: 26px;
font-size: 20px;
}
.new-line {
display: block;
}
}
</style>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "@templates/bundles/BitBagSyliusCmsPlugin/Shop/Page/show.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 619 => 196, 615 => 194, 613 => 193, 607 => 190, 604 => 189, 602 => 188, 597 => 185, 593 => 183, 589 => 181, 587 => 180, 583 => 179, 576 => 174, 571 => 172, 568 => 171, 565 => 170, 563 => 169, 556 => 164, 550 => 162, 548 => 161, 537 => 153, 531 => 150, 527 => 149, 523 => 148, 519 => 147, 515 => 146, 511 => 145, 507 => 144, 503 => 143, 499 => 142, 495 => 141, 491 => 140, 487 => 139, 483 => 138, 479 => 137, 475 => 136, 471 => 135, 467 => 134, 463 => 133, 459 => 132, 455 => 131, 451 => 130, 447 => 129, 443 => 128, 439 => 127, 433 => 124, 426 => 122, 419 => 119, 409 => 118, 392 => 110, 389 => 109, 387 => 108, 376 => 100, 373 => 99, 363 => 98, 350 => 92, 321 => 66, 317 => 65, 313 => 64, 309 => 63, 305 => 62, 300 => 61, 290 => 60, 280 => 58, 277 => 57, 274 => 56, 268 => 55, 263 => 53, 258 => 52, 255 => 51, 252 => 50, 249 => 49, 244 => 48, 241 => 47, 239 => 46, 234 => 45, 231 => 44, 229 => 43, 225 => 42, 221 => 41, 217 => 40, 213 => 39, 203 => 32, 195 => 28, 185 => 27, 175 => 25, 169 => 23, 166 => 22, 160 => 20, 157 => 19, 147 => 18, 137 => 14, 131 => 12, 125 => 10, 122 => 9, 112 => 8, 101 => 95, 99 => 60, 96 => 59, 94 => 27, 91 => 26, 89 => 18, 83 => 14, 81 => 8, 74 => 3, 64 => 2, 41 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends '@templates/Front/Shop/layout.html.twig' %}
{% block head %}
<head>
<meta charset=\"utf-8\">
<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>{% block title %}
{% if page.title is not empty %}
{{ page.title }}
{% else %}
{{ parent() }}
{% endif %}
{% endblock %}</title>
<meta content=\"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no\" name=\"viewport\">
{% block metatags %}
{% if page.metaKeywords is not empty %}
<meta name=\"keywords\" content=\"{{ page.metaKeywords }}\"/>
{% endif %}
{% if page.metaDescription is not empty %}
<meta name=\"description\" content=\"{{ page.metaDescription }}\"/>
{% endif %}
{% endblock %}
{% block stylesheets %}
<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>
<link rel=\"stylesheet\" href=\"{{ asset('/assets/shop/css/homepage.css') }}\">
<link rel=\"stylesheet\" href=\"{{ asset('/assets/shop/css/bootstrap.min.css') }}\">
<link rel=\"stylesheet\" href=\"{{ asset('/assets/shop/css/leftmenu.v1.css') }}\">
{{ encore_entry_link_tags('bootstrap-fix', null, 'bootstrapTheme') }}
{% 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 %}
{% set currentLocaleTemp = currentLocale ~ '/' %}
{% set newUrl = urlPath|replace({currentLocaleTemp:locale ~ '/'}) %}
<link rel=\"alternate\" hreflang=\"{{ locale }}\"
href=\"{{ newUrl }}\"/>
{% endif %}
{% endfor %}
{% endif %}
{% endif %}
{% endblock %}
{% block javascripts %}
<script src=\"{{ asset('assets/shop/js/jquery.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=\"{{ asset('/bundles/fosjsrouting/js/router.js') }}\"></script>
<script src=\"{{ path('fos_js_routing_js', { callback: 'fos.Router.setData' }) }}\"></script>
<script>
\$(document).ready(function () {
function checkIfRedirectExists()
{
let redirectElement = \$('[class^=\"redirect\"]');
if (redirectElement.length > 0) {
if (redirectElement.hasClass(\"scala\")) {
window.location.href = \"https://taxeauto.ro\" + window.location.pathname;
} else if (redirectElement.hasClass(\"roviniete\")) {
window.location.href = \"https://roviniete.ro\" + window.location.pathname;
}
}
}
checkIfRedirectExists();
\$(window).on('load', function () {
checkIfRedirectExists();
});
});
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 -->
{% 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 class=\"custom-container mb-2\">
<div class=\"custom-container bg-white\">
<div class=\"bg-white\">
<header>
{% include '@templates/Front/Shop/v2/_header.html.twig' %}
{{ sonata_block_render_event('sylius.shop.layout.after_header') }}
</header>
</div>
</div>
</div>
{% endblock %}
{% block content %}
<div class=\"info-banner custom-container bg-white my-2\" onclick=\"location.href='{{ path('app_shop_vignette') }}'\" style=\"cursor: pointer\">
<div class=\"d-flex justify-content-center align-items-center\" style=\"height: 170px\">
<div class=\"info-banner-container\">
<h1 class=\"calculator-viniete-text\">{{ 'app.ui.buy_vignette_online'|trans }} - <br class=\"new-line\"/> {{ 'app.ui.romania_vignette_calculator'|trans }}</h1>
<div class=\"d-flex justify-content-center align-items-center\">
<a class=\"text-center\">{{ 'app.ui.select_car_type'|trans }}:</a>
</div>
<div class=\"d-flex justify-content-center align-items-center banner-images\">
<img src=\"{{ asset('assets/shop/images/icons/ic_rovinieta_categ_a.png') }}\"
title=\"{{'app.ui.category_rovignette_a_name'|trans}}\" class=\"mx-2\"
alt=\"{{'app.ui.category_rovignette_a_name'|trans}}\" />
<img src=\"{{ asset('assets/shop/images/icons/ic_rovinieta_categ_b.png') }}\"
title=\"{{'app.ui.category_rovignette_b_name'|trans}}\" class=\"mx-2\"
alt=\"{{'app.ui.category_rovignette_b_name'|trans}}\" />
<img src=\"{{ asset('assets/shop/images/icons/ic_rovinieta_categ_c.png') }}\"
title=\"{{'app.ui.category_rovignette_c_name'|trans}}\" class=\"mx-2\"
alt=\"{{'app.ui.category_rovignette_c_name'|trans}}\" />
<img src=\"{{ asset('assets/shop/images/icons/ic_rovinieta_categ_d.png') }}\"
title=\"{{'app.ui.category_rovignette_d_name'|trans}}\" class=\"mx-2\"
alt=\"{{'app.ui.category_rovignette_d_name'|trans}}\" />
<img src=\"{{ asset('assets/shop/images/icons/ic_rovinieta_categ_e.png') }}\"
title=\"{{'app.ui.category_rovignette_e_name'|trans}}\" class=\"mx-2\"
alt=\"{{'app.ui.category_rovignette_e_name'|trans}}\" />
<img src=\"{{ asset('assets/shop/images/icons/ic_rovinieta_categ_f.png') }}\"
title=\"{{'app.ui.category_rovignette_f_name'|trans}}\" class=\"mx-2\"
alt=\"{{'app.ui.category_rovignette_f_name'|trans}}\" />
<img src=\"{{ asset('assets/shop/images/icons/ic_rovinieta_categ_g.png') }}\"
title=\"{{'app.ui.category_rovignette_g_name'|trans}}\" class=\"mx-2\"
alt=\"{{'app.ui.category_rovignette_g_name'|trans}}\" />
<img src=\"{{ asset('assets/shop/images/icons/ic_rovinieta_categ_h.png') }}\"
title=\"{{'app.ui.category_rovignette_h_name'|trans}}\" class=\"mx-2\"
alt=\"{{'app.ui.category_rovignette_h_name'|trans}}\" />
</div>
<div class=\"d-flex justify-content-center align-items-center\">
<button class=\"btn btn-lg btn-primary w-50\">{{ 'app.ui.continue'|trans }}</button>
</div>
</div>
</div>
</div>
<div class=\"card\">
<div class=\"card-header\">
{% if page.name is not empty %}
<h1 class=\"ui dividing header bitbag-page-name\">{{ page.name|raw }}</h1>
{% endif %}
</div>
<div class=\"card-body\">
<div class=\"row justify-content-center align-items-center\">
<div class=\"col-8\">
{% if page.image %}
{% set path = preview is defined and preview == true ? page.image.path : '/media/image/'~page.image.path %}
<img class=\"page-image ui fluid image\" src=\"{{ path }}\" alt=\"\">
{% endif %}
</div>
</div>
<div class=\"ui hidden divider\"></div>
<div class=\"bitbag-page-content\">{{ bitbag_cms_render_content(page) }}</div>
{% if page.title is not empty %}
<div class=\"ui dividing header\"></div>
{% else %}
<div class=\"ui hidden divider\"></div>
{% endif %}
</div>
</div>
{% if page.products|length > 0 %}
<h2>
{{ 'bitbag_sylius_cms_plugin.ui.page_related_products'|trans }}
</h2>
<div class=\"bitbag-page-products\">
{% include '@SyliusShop/Product/_horizontalList.html.twig' with {'products': page.products} %}
</div>
{% endif %}
<style>
.banner-images img {
width: 50px;
}
.calculator-viniete-text {
font-family: Calibri, Tahoma, Arial, serif;
font-size: 26px;
font-weight: normal;
color: #EA6031;
line-height: 20px;
letter-spacing: -1px;
text-shadow: 0.02em 0.02em 0.02em #d96642;
display: block;
height: 40px;
padding: 10px 30px 0 0
}
.new-line {
display: none;
}
@media only screen and (max-width: 600px) {
.info-banner {
max-width: 400px;
}
.info-banner-container {
max-width: 400px;
text-align: center;
}
.banner-images img {
width: 30px;
}
.calculator-viniete-text {
height: 58px;
line-height: 26px;
font-size: 20px;
}
.new-line {
display: block;
}
}
</style>
{% endblock %}
", "@templates/bundles/BitBagSyliusCmsPlugin/Shop/Page/show.html.twig", "/vhosts/roviniete-qa.roviniete.ro/templates/bundles/BitBagSyliusCmsPlugin/Shop/Page/show.html.twig");
}
}