{% extends '@templates/Mobile/Shop/layout.html.twig' %}
{% block title %} Vezi oferte RCA cât ai clipi si primesti asigurarea pe email {% endblock %}
{% block metatags %}
<meta name="description" content="Site autorizat de ofertare asigurare auto RCA. Reînnoire asigurare auto RCA printr-un singur click! Afișăm toate mașinile într-un singur panou de control, și îl Alertăm Gratuit când expiră asigurarea auto RCA."/>
<meta name="keywords" content="asigurare auto, asigurare RCA, verificari asigurari auto; oferte RCA, RCA online">
{% endblock %}
{% block stylesheets %}
{{ parent() }}
{{ encore_entry_link_tags('rca') }}
<link rel="stylesheet" href="{{ asset('/assets/shop/css/toast.min.css') }}">
<link rel="stylesheet" href="{{ asset('/assets/shop/css/vue-select.min.css') }}">
<link rel="stylesheet" href="{{ asset('/assets/shop/css/ssr-carousel.css') }}">
<style>
@media (orientation: landscape) {
.portrait-footer {
display: none;
}
.landscape-footer {
display: block !important;
}
.div-landscape {
top: 0 !important;
}
}
</style>
{% endblock %}
{% block javascripts %}
{{ parent() }}
{% block webpack_app '' %}
{{ encore_entry_script_tags('rca') }}
<script src="{{ asset('/assets/shop/js/babel.min.js') }}"></script>
<script src="{{ asset('/assets/shop/js/float_label.js') }}" type="text/babel"></script>
{% endblock %}
{% block content %}
{% if lastProductStatus.rcaStatus or isAdmin %}
<script>
const roadAssistanceTranslations = '{{ roadAssistanceTranslations|json_encode|raw }}';
</script>
<div id="app">
<scala-front-homepage ref="scalaFrontHomepage"
:accordion-blocks-about-rca="{{ accordionBlocksAboutRca|json_encode }}"
:history-rca="{{ historyRca|json_encode }}"
:rca-mapped-category="{{ rcaMappedCategoryList|json_encode }}"
:vehicle-type-list="{{ vehicleTypeList|json_encode }}"
:rca-mapped-category-list="{{ rcaMappedCategoryList|json_encode }}"
:default-make-list="{{ defaultMakeList|json_encode }}"
:fuel-type-list="{{ fuelTypeList|json_encode }}"
:availability-interval-list="{{ availabilityIntervalList|json_encode }}"
:insurance-company-list="{{ insuranceCompanyList|json_encode }}"
:availability-list="{{ availabilityList|json_encode }}"
:usage-type-list="{{ usageTypeList|json_encode }}"
:road-assistance-default-price="{{ roadAssistanceDefaultPrice|json_encode }}"
:road-assistance-terms-and-conditions="'{{ path('bitbag_sylius_cms_plugin_shop_page_show', {'slug' : 'terms-and-conditions-road-assistance'}) }}'"
:leasing-company-list="{{ leasingCompanyList|json_encode }}"
:county-list="{{ countyList|json_encode }}"
:url-terms-gdpr="'{{ path('bitbag_sylius_cms_plugin_shop_page_show', {'slug' : 'protectia-datelor-rca'}) }}'"
:hash="'{{ hash }}'"
:recaptcha-site-key="'{{ recaptchaSiteKey }}'"
:last-product-status="{{ lastProductStatusArray|json_encode }}"
:last-campaign-status="{{ lastCampaignStatusArray|json_encode }}"
:old-vehicle="{{ oldVehicle ? oldVehicle|json_encode : '{}' }}"
:old-customer="{{ oldCustomer ? oldCustomer|json_encode : '{}' }}"
:old-offer="{{ oldOffer ? oldOffer|json_encode : '{}' }}"
:can-issue-road-assistance="{{ canIssueRoadAssistance ? 'true' : 'false' }}"
>
</scala-front-homepage>
</div>
{{ encore_entry_script_tags('vue') }}
{% else %}
<div class="card text-center my-3">
<div class="card-header">
<h2>RCA {{ 'app.ui.coming_soon'|trans }}</h2>
</div>
<div class="card-body">
<a href="{{ path('app_shop_vignette') }}">{{ 'app.ui.buy_vignette_online'|trans }}</a>
</div>
</div>
{% endif %}
{% endblock %}
{% block loaderContainer '' %}