{% extends '@Portal/base.html.twig' %}
{% block seo %}
<title>{{ 'seo.test_drive.title'|trans({}, 'portal_base') }}</title>
<meta name="description" content="{{ 'seo.test_drive.description'|trans({}, 'portal_base') }}"/>
{% endblock %}
{% block css %}
<link rel="stylesheet" href="{{ asset('bundles/dcsite/css/modules/WIDGET_NEW.css') }}">
<link rel="stylesheet" href="{{ asset('bundles/portal/css/service.css') }}">
<link rel="stylesheet" href="{{ asset('bundles/dcsite/css/modules/multi-consultation-enter.css') }}">
<style>
.recording__service-calendar-day .select, .recording__service-calendar-day span:hover {
background: #2CA3E126;
color: #2CA3E1;
}
.recording__service-calendar-time div:hover, .recording__service-calendar-time .select {
color: #2CA3E1;
background: #2CA3E126;
border: 1px solid #2CA3E126;
}
#orderTd .swappy-radios input:checked ~ span {
color: #E40C25;
}
.testdrive__card-car-link, .testdrive__card-car-link:hover{
color: #E40C25;
}
.testdrive__steep.active .testdrive__steeps-num{
color: #E40C25;
}
.testdrive__form-select-car-btn{
color: #E40C25;
}
.testdrive__form-select-car-btn:hover{
color: #E40C25;
}
.testdrive__modules-btn {
border: 1px solid #E40C25;
background: #E40C25;
}
.testdrive__modules-btn:hover{
border: 1px solid #E40C25;
color: #E40C25;
}
.testdrive__modules-radio-box [type=checkbox]:checked + label:before, .testdrive__modules-radio-box [type=radio]:checked + label:after {
background-color: #E40C25;
border-color: #E40C25;
}
.testdrive__card-car-link svg path {
fill: #E40C25;
}
.td-need__card svg path {
fill: #E40C25;
}
.td-need__card {
background-color: transparent;
border: none;
}
.td-need__card .card-body {
padding: 1.25rem;
padding-left: 0;
padding-right: 0;
}
.td__title {
font-style: normal;
font-weight: bold;
font-size: 28px;
line-height: 48px;
margin-bottom: 20px;
color: #2F2F2F;
}
.td-card__name {
font-size: 20px;
line-height: 1.5625;
transition: .2s ease;
font-style: normal;
font-weight: bold;
color: #1E1E1E;
height: 37px;
overflow: hidden;
margin-bottom: 6px;
display: block;
}
.td-need__card .card-text {
font-weight: lighter;
color: #343434;
}
button.btn-order-car.w-100{
font-family: 'Circe-Extra-Bold', sans-serif;
font-weight: bold;
border: 1px solid #E40C25;
background: #E40C25;
color: #FFFFFF;
cursor: pointer;
}
</style>
{% 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.td'|trans({}, 'portal_base') }}</span>
<meta itemprop="position" content="3"/>
</li>
</ol>
</div>
</section>
<section class="service-head-block section-padding-page">
<div class="container">
<div class="row">
<div class="col-md-5">
<h1 class="service-head-h1">{{ 'service.td'|trans({}, 'portal_base') }}</h1>
</div>
<div class="col-md-6 offset-md-1 flexbox-wrapper">
<div>
<p class="section-subtitle-page mb-4">{{ 'service.td_subtitle'|trans({}, 'portal_base') }}</p>
</div>
</div>
</div>
</div>
</section>
<section class="front-consultation pb-2">
<div class="container">
{# <div class="front-consultation__title">{{ 'base.services.order_consultation'|trans({}, 'dc_toyota') }}</div>#}
{% include '@DcSite/Modules/multi-consultation/multi-consultation-enter.html.twig' with {
link_test_drive: "portal_service_testdrive_form",
link_online: "portal_service_consultation_form_online",
link_offline: "portal_service_consultation_form"
} %}
</div>
</section>
{#<section class="section-padding-page bg-gray-page">#}
{#<div class="container">#}
{#<div class="row">#}
{#<div class="col-12"><h2 class="h2-small">{{ 'service.all.td_what_need'|trans({}, 'portal_base') }}</h2>#}
{#</div>#}
{#<div class="col-md-6 advantages__card">#}
{#<div class="advantages__img"><img#}
{#src="{{ asset('bundles/portal/img/adv-fast.f0eb64d5.svg?v1.2.38') }}"#}
{#style="visibility: visible;"></div>#}
{#<div class="advantages__title">{{ 'service.all.td_submit'|trans({}, 'portal_base') }}</div>#}
{#<div class="advantages__text">{{ 'service.all.td_what_need_desc'|trans({}, 'portal_base') }}</div>#}
{#</div>#}
{#<div class="col-md-6 advantages__card">#}
{#<div class="advantages__img"><img#}
{#src="{{ asset('bundles/portal/img/adv-reliably.055733b7.svg?v1.2.38') }}"#}
{#style="visibility: visible;"></div>#}
{#<div class="advantages__title">{{ 'service.all.td_docs'|trans({}, 'portal_base') }}</div>#}
{#<div class="advantages__text">{{ 'service.all.td_docs_desc'|trans({}, 'portal_base') }}</div>#}
{#</div>#}
{#</div>#}
{#</div>#}
{#</section>#}
{% if app.request.locale == 'ru' %}
{% include '@Portal/Service/translations/test-drive_ru.html.twig' %}
{% else %}
{% include '@Portal/Service/translations/test-drive_ua.html.twig' %}
{% endif %}
{% endblock %}
{% block pageJS %}
<script>
app.onCustomEvent('appInit', function () {
app.loadJs("{{ asset('bundles/dcsite/js/test-drive.js') }}", function () {
initTd({
initUrl: '{{ path('base_test_drive_init') }}',
byDealerUrl: '{{ path('base_test_drive_dealers') }}',
getTimesUrl: '{{ path('base_test_drive_time') }}',
locale: '{{ app.request.locale }}',
allowChangeBrand: true,
checkDateUrl: '{{ path('base_test_drive_month') }}',
});
});
});
</script>
{% endblock %}