{% extends '@Portal/base.html.twig' %}
{% block seo %}
<title>{{ 'seo.tires_hotel.title'|trans({}, 'portal_base') }}</title>
<meta name="description" content="{{ 'seo.tires_hotel.description'|trans({}, 'portal_base') }}"/>
{% endblock %}
{% block css %}
<link rel="stylesheet" type="text/css" href="/dist/{{ MODE }}/portal/css/portalTiresHotel.css?{{ VERSION }}">
{% endblock %}
{% block content %}
<section class="breadcrumbs__new">
<div class="container">
<ol class="vidi_breadcrumbs__new" itemscope itemtype="https://schema.org/BreadcrumbList">
<li class="marker__none" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
<a itemprop="item" href="{{ path('portal_homepage') }}">
<span class="breadcrumbs__link" itemprop="name">VIDI.UA</span>
</a>
<meta itemprop="position" content="1"/>
</li>
<div class="arrow-bc"></div>
<li itemprop="item" class="marker__none" itemprop="itemListElement" itemscope
itemtype="https://schema.org/ListItem">
<span style="color: #ABABAB" class="breadcrumbs__link"
itemprop="name">{{ 'service.all.service'|trans({}, 'portal_base') }}</span>
<meta itemprop="position" content="2"/>
</li>
<div class="arrow-bc"></div>
<li itemprop="item" class="marker__none" itemprop="itemListElement" itemscope
itemtype="https://schema.org/ListItem">
<span style="color: #ABABAB" class="breadcrumbs__link"
itemprop="name">{{ 'service.all.tires'|trans({}, 'portal_base') }}</span>
<meta itemprop="position" content="3"/>
</li>
</ol>
</div>
</section>
<section id="tiresHotel" class="section_prices_storage">
{% if app.request.locale == 'ru' %}
{% include '@Portal/Service/translations/tires-hotel-head_ru.html.twig' %}
{% else %}
{% include '@Portal/Service/translations/tires-hotel-head_ua.html.twig' %}
{% endif %}
<div class="container">
<div class="prices_storage_wheels">
<div class="storage_wheels_block">
<p class="storage_wheels_block_title">{{ 'tires_hotel.price_storage_tires'|trans({}, 'portal_base') }}</p>
<div class="storage_wheels_content">
{% for mainCategory in mainCategories %}
<label class="storage_wheels_content_row">
<input class="storage_wheels_input" id="main_category_{{ mainCategory.id }}"
@click="selectCategory('main_category_{{ mainCategory.id }}', '{{ mainCategory.title_ua }}', '{{ mainCategory.min_price|round }}')"
type="checkbox"/>
<span class="checkmark"></span>
<div class="storage_wheels_box">
<p class="storage_wheels_content_check_name">{{ mainCategory.title_ua }}{% if loop.first %}, 4 шт{% endif %}</p>
<p class="storage_wheels_content_price">
<span>{{ 'tires_hotel.from'|trans({}, 'portal_base') }}</span>
{% if loop.first %}
1800 грн/6 {{ 'tires_hotel.month'|trans({}, 'portal_base') }}
{% else %}
{{ mainCategory.min_price|price }} грн
{% endif %}
</p>
</div>
</label>
{% endfor %}
</div>
</div>
{# <div class="storage_wheels_block">#}
{# <p class="storage_wheels_block_title">{{ 'tires_hotel.price_another_services'|trans({}, 'portal_base') }}</p>#}
{# <div class="storage_wheels_content">#}
{# {% for additionCategory in additionCategories %}#}
{# <label class="storage_wheels_content_row">#}
{# <input class="storage_wheels_input" id="add_category_{{ additionCategory.id }}"#}
{# @click="selectCategory('add_category_{{ additionCategory.id }}', '{{ additionCategory.title_ua }}', '{{ additionCategory.min_price|round }}')"#}
{# type="checkbox"/>#}
{# <span class="checkmark"></span>#}
{# <div class="storage_wheels_box">#}
{# <p class="storage_wheels_content_check_name">{{ additionCategory.title_ua[0:1]|upper ~ additionCategory.title_ua[1:]}}</p>#}
{# <p class="storage_wheels_content_price">#}
{# <span>{{ 'tires_hotel.from'|trans({}, 'portal_base') }}</span>#}
{# {{ additionCategory.min_price|price }} грн</p>#}
{# </div>#}
{# </label>#}
{# {% endfor %}#}
{# </div>#}
{# </div>#}
</div>
<div class="storage_wheels_bottom_wrapper">
<p class="wheels_bottom_title">{{ 'tires_hotel.total_cost'|trans({}, 'portal_base') }}</p>
<p class="wheels_bottom_price">{{ 'tires_hotel.from'|trans({}, 'portal_base') }}
<span v-text="amountWithCurrency"></span>
</p>
</div>
<p class="wheels_bottom_text">{{ 'tires_hotel.star_1'|trans({}, 'portal_base') }} {{ 'now'|date('d.m.Y') }}.</p>
<p class="wheels_bottom_text">{{ 'tires_hotel.star_2'|trans({}, 'portal_base') }}</p>
<p class="wheels_bottom_text">{{ 'tires_hotel.star_3'|trans({}, 'portal_base') }}</p>
<div class="storage_wheels_bottom_btn_group">
<button id="tires-register-online" @click="showTiresHotelPopupForm" class="tires_btn">
{{ 'tires_hotel.request_online'|trans({}, 'portal_base') }}
</button>
<button class="tires_btn tires_btn-white" @click="showCallMePopupForm">{{ 'tires_hotel.consultation'|trans({}, 'portal_base') }}</button>
</div>
</div>
</section>
{% if app.request.locale == 'ru' %}
{% include '@Portal/Service/translations/tires-hotel-seo_ru.html.twig' %}
{% else %}
{% include '@Portal/Service/translations/tires-hotel-seo_ua.html.twig' %}
{% endif %}
{% include '@Portal/Modules/call-me-popup.html.twig' with {'route':path('form_call_me', {'formType': 47}), 'id' : 'call_me_with_dealers', 'showDealer' : true} %}
{% include '@Portal/Modules/tires-hotel-popup.html.twig' %}
{% endblock %}
{% block pageJS %}
<script src="/dist/{{ MODE }}/portal/js/portalTiresHotel.js?{{ VERSION }}"></script>
<script>
$(() => {
portal.portalTiresHotel.initTiresHotel({
locale: '{{ app.request.locale }}',
call_form_id : 'call_me_with_dealers'
})
});
</script>
{% endblock %}