<!DOCTYPE html>
<html lang="{{ app.request.locale|slice(0, 2) }}">
{% block head %}
<head>
{% if app.environment is not defined and app.environment is not null and app.environment == 'dev' %}
<meta name="robots" content="noindex,nofollow">
{% endif %}
<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 %} {{'app.ui.homepage_meta_title'|trans}} {% endblock %}</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=yes, shrink-to-fit=no" name="viewport">
{% block metatags %}
<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">
{% endblock %}
{% block stylesheets %}
{{ encore_entry_link_tags('app', null, 'bootstrapTheme') }}
{{ sonata_block_render_event('sylius.shop.layout.stylesheets') }}
<link rel="stylesheet" href="{{ asset('/assets/shop/css/bs-stepper.css') }}">
{% endblock %}
{{ sonata_block_render_event('sylius.shop.layout.head') }}
{% block javascripts %}
{% block javascripts_app %}
<script src="{{ asset('assets/shop/js/app.js') }}"></script>
{% endblock javascripts_app %}
<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="{{ asset('/bundles/fosjsrouting/js/router.js') }}"></script>
<script src="{{ asset('/assets/shop/js/bs-stepper.js') }}"></script>
<script src="{{ asset('/assets/shop/js/_bootstrap_select.min.js') }}"></script>
<script src="{{ path('fos_js_routing_js', { callback: 'fos.Router.setData' }) }}"></script>
<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>
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 -->
{% block webpack_app %}
{{ encore_entry_script_tags('app', null, 'bootstrapTheme') }}
{% endblock webpack_app %}
{% if app.request.attributes.get('_route') == 'sylius_shop_homepage' %}
{% include '@templates/ShopCustom/one_signal.html.twig' %}
{% endif %}
{{ sonata_block_render_event('sylius.shop.layout.javascripts') }}
{% endblock %}
</head>
{% endblock %}
<body class="{{ app.request.attributes.get('_route') }}" style="background-color: #F2F2F2">
<!-- 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) -->
{{ sonata_block_render_event('sylius.shop.layout.before_body') }}
{% block header %}
<div class="custom-container">
<div style="max-width: 100%">
<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 class="custom-container shop-navbar-container">
<div class="container-rounded">
{% include '@templates/Front/Shop/_shop_navbar.html.twig' %}
</div>
</div>
</div>
{% endblock %}
<div class="main-content custom-container">
{% include '@templates/Front/Shop/_flashes.html.twig' %}
{{ sonata_block_render_event('sylius.shop.layout.before_content') }}
{% block content %}
{% endblock %}
{{ sonata_block_render_event('sylius.shop.layout.after_content') }}
</div>
{% block footer %}
{% include '@templates/Front/Shop/v2/_footer.html.twig' %}
{% endblock %}
{{ sonata_block_render_event('sylius.shop.layout.after_body') }}
{% block loaderContainer %}
<div class="loading-overlay loaderContainer" data-js-loading-overlay>
<img src="{{ asset('assets/shop/images/spinner.gif') }}" style="width: 50px; pointer-events: none"/>
</div>
{% endblock %}
<script>
$(document).ready(function () {
let hostname = '{{ app.request.host }}';
let l = document.links;
let taxaDePodUrl = 'taxadepod.ro';
let blogUrl = 'asigur.blogspot.com';
let telUrl = 'tel:';
let mailUrl = 'mailto:';
for (let i = 0; i < l.length; i++) {
let urlPath = l[i].href;
if (typeof urlPath === 'string' && !urlPath.includes(hostname) && !urlPath.includes(taxaDePodUrl) && !urlPath.includes(blogUrl)
&& !urlPath.includes(telUrl) && !urlPath.includes(mailUrl)) {
l[i].setAttribute('rel','nofollow');
l[i].setAttribute('target', '_blank');
//UrlExists(urlPath, l[i]);
}
}
function UrlExists(url, element) {
$.ajax({
url: url,
dataType: 'jsonp',
statusCode: {
200: function() {
},
404: function() {
element.removeAttribute('href');
}
},
error:function(){
}
});
}
});
</script>
</body>
<style>
.custom-container {
max-width: 1400px;
width: 100%;
margin: auto;
}
</style>
</html>