|
|
<?php
|
|
|
get_header();
|
|
|
|
|
|
// Получаем данные о тренере
|
|
|
$trainer_name = '';
|
|
|
$trainer_exp = '';
|
|
|
$trainer_short_desc = '';
|
|
|
|
|
|
if (have_rows('short_info')) {
|
|
|
while (have_rows('short_info')) {
|
|
|
the_row();
|
|
|
$trainer_name = get_sub_field('name');
|
|
|
$trainer_exp = get_sub_field('exp');
|
|
|
$trainer_short_desc = get_sub_field('short_desc');
|
|
|
}
|
|
|
}
|
|
|
|
|
|
$trainer_full_desc = '';
|
|
|
$trainer_desc_list = array();
|
|
|
$trainer_documents = array();
|
|
|
|
|
|
if (have_rows('full_info')) {
|
|
|
while (have_rows('full_info')) {
|
|
|
the_row();
|
|
|
$trainer_full_desc = get_sub_field('full_desc');
|
|
|
|
|
|
if (have_rows('desc_list')) {
|
|
|
while (have_rows('desc_list')) {
|
|
|
the_row();
|
|
|
$trainer_desc_list[] = get_sub_field('desc_list_item');
|
|
|
}
|
|
|
}
|
|
|
|
|
|
$documents = get_sub_field('documents');
|
|
|
if ($documents && is_array($documents)) {
|
|
|
$trainer_documents = $documents;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
$trainer_photos = get_field('photo');
|
|
|
$trainer_trainings = get_field('trainings');
|
|
|
?>
|
|
|
|
|
|
<section class="max-[768px]:py-[40px] container mx-auto py-[90px]">
|
|
|
<div class="max-[1050px]:flex-col max-[1300px]:gap-[24px] flex gap-[60px] justify-between">
|
|
|
<div class="flex">
|
|
|
<?php if ($trainer_photos && !empty($trainer_photos)): ?>
|
|
|
<div class="max-[1050px]:h-[380px] max-[1050px]:min-h-auto max-[1050px]:!mx-auto trainer-photos-swiper rounded-[20px] swiper !m-0 w-[500px] min-h-[540px] relative">
|
|
|
<div class="swiper-wrapper">
|
|
|
<?php foreach ($trainer_photos as $photo): ?>
|
|
|
<div class="swiper-slide overflow-hidden shadow-[0_2px_32px_0_rgba(16,_15,_15,_0.03)]">
|
|
|
<img src="<?php echo esc_url($photo['url']); ?>"
|
|
|
alt="<?php echo esc_attr($photo['alt']); ?>"
|
|
|
class="max-[1050px]:h-[380px] max-[1050px]:min-h-auto w-full min-h-[540px] object-cover object-top"/>
|
|
|
</div>
|
|
|
<?php endforeach; ?>
|
|
|
</div>
|
|
|
|
|
|
<div class="trainer-swiper-pagination absolute flex items-center justify-center left-1/2 z-[2]"></div>
|
|
|
</div>
|
|
|
<?php endif; ?>
|
|
|
</div>
|
|
|
|
|
|
<div class="max-[1300px]:max-w-full flex flex-col w-full max-w-[760px] relative">
|
|
|
<svg class="absolute right-0 top-0 max-[768px]:hidden" width="51" height="30" viewBox="0 0 51 30" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
|
<g clip-path="url(#clip0_2307_11639)">
|
|
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M50.9996 0.730469C41.5932 23.8872 21.1929 11.5514 5.21289 17.1783C9.85961 4.19316 18.2463 1.81256 27.653 1.70435C34.6796 1.59614 44.5398 2.35361 50.9996 0.730469Z" fill="#E21E24" />
|
|
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M35.0202 17.5029C27.7669 35.2491 12.2401 25.4021 0 29.7305C6.3468 11.9843 20.8535 21.0738 35.0202 17.5029Z" fill="#E21E24" />
|
|
|
</g>
|
|
|
<defs>
|
|
|
<clipPath id="clip0_2307_11639">
|
|
|
<rect width="51" height="29" fill="white" transform="translate(0 0.730469)" />
|
|
|
</clipPath>
|
|
|
</defs>
|
|
|
</svg>
|
|
|
<div class="max-[768px]:mx-0 max-[1300px]:mx-auto flex gap-[12px] mb-[16px]">
|
|
|
<div class="text-[15px] leading-[110%] font-[600] px-[12px] h-[29px] flex items-center justify-center rounded-[32px] border border-[#e0e0e0]">
|
|
|
<span class="mr-[8px] w-[8px] h-[8px] rounded-full bg-[#e21e24]"></span>
|
|
|
<?php echo pll_current_language('name'); ?>
|
|
|
</div>
|
|
|
<?php if ($trainer_exp): ?>
|
|
|
<div class="text-[15px] leading-[110%] font-[600] px-[12px] h-[29px] flex items-center justify-center rounded-[32px] border border-[#e0e0e0]">
|
|
|
<?php echo esc_html($trainer_exp); ?>
|
|
|
</div>
|
|
|
<?php endif; ?>
|
|
|
</div>
|
|
|
|
|
|
<?php if ($trainer_name): ?>
|
|
|
<h1 class="max-[768px]:text-[24px] max-[1050px]:text-[30px] font-[700] text-[40px] leading-[120%]">
|
|
|
<?php echo esc_html($trainer_name); ?>
|
|
|
</h1>
|
|
|
<?php endif; ?>
|
|
|
|
|
|
<?php if ($trainer_short_desc): ?>
|
|
|
<div class="max-[768px]:text-[16px] font-[500] text-[20px] leading-[140%] mt-[16px]">
|
|
|
<?php echo wp_kses_post($trainer_short_desc); ?>
|
|
|
</div>
|
|
|
<?php endif; ?>
|
|
|
|
|
|
<?php if ($trainer_full_desc): ?>
|
|
|
<div class="flex flex-col w-full pt-[24px] mt-[24px] border-t border-dashed border-[#e0e0e0]">
|
|
|
<h3 class="max-[768px]:text-[20px] font-[700] text-[24px] leading-[125%]">О тренере</h3>
|
|
|
<div class="max-[768px]:text-[16px] text-[20px] font-[500] leading-[140%] mt-[16px]">
|
|
|
<?php echo wp_kses_post($trainer_full_desc); ?>
|
|
|
</div>
|
|
|
</div>
|
|
|
<?php endif; ?>
|
|
|
|
|
|
<?php if ($trainer_full_desc): ?>
|
|
|
<h3 class="max-[768px]:text-[20px] font-[700] text-[24px] leading-[125%] mt-[24px] ">Опыт и подход</h3>
|
|
|
<div class="max-[768px]:text-[16px] text-[20px] font-[500] leading-[140%] mt-[16px]">
|
|
|
<ul class="max-[768px]:text-[16px] mt-[16px] font-[500] text-[20px] leading-[140%] flex flex-col gap-[8px]">
|
|
|
<?php
|
|
|
foreach ($trainer_desc_list as $desc_item): ?>
|
|
|
<?php if ($desc_item): ?>
|
|
|
<li class="flex items-center gap-[12px]">
|
|
|
<svg class="min-w-fit" width="16" height="16" viewBox="0 0 16 16" fill="none"
|
|
|
xmlns="http://www.w3.org/2000/svg">
|
|
|
<g clip-path="url(#clip0_4123_4601)">
|
|
|
<path fill-rule="evenodd" clip-rule="evenodd"
|
|
|
d="M4 0C2.93913 0 1.92172 0.421427 1.17157 1.17157C0.421427 1.92172 0 2.93913 0 4V12C0 13.0609 0.421427 14.0783 1.17157 14.8284C1.92172 15.5786 2.93913 16 4 16H12C13.0609 16 14.0783 15.5786 14.8284 14.8284C15.5786 14.0783 16 13.0609 16 12V4C16 2.93913 15.5786 1.92172 14.8284 1.17157C14.0783 0.421427 13.0609 0 12 0H4ZM11.712 4.9856C11.8749 5.12143 11.9772 5.31638 11.9964 5.5276C12.0156 5.73882 11.9501 5.94903 11.8144 6.112L7.8144 10.912C7.74531 10.9948 7.66017 11.0629 7.56412 11.1119C7.46806 11.161 7.36307 11.1902 7.25546 11.1977C7.14785 11.2051 7.03983 11.1908 6.93792 11.1554C6.836 11.1201 6.74228 11.0645 6.6624 10.992L4.2624 8.8104C4.10832 8.66696 4.01698 8.46857 4.0082 8.25825C3.99941 8.04792 4.07388 7.8426 4.21546 7.68681C4.35704 7.53102 4.55431 7.43731 4.76452 7.42601C4.97473 7.4147 5.18092 7.4867 5.3384 7.6264L7.12 9.2464L10.5856 5.088C10.7214 4.9251 10.9164 4.82281 11.1276 4.80361C11.3388 4.78441 11.549 4.84987 11.712 4.9856Z"
|
|
|
fill="#E21E24"/>
|
|
|
</g>
|
|
|
<defs>
|
|
|
<clipPath id="clip0_4123_4601">
|
|
|
<rect width="16" height="16" fill="white"/>
|
|
|
</clipPath>
|
|
|
</defs>
|
|
|
</svg>
|
|
|
<?php echo wp_kses_post($desc_item); ?>
|
|
|
</li>
|
|
|
<?php $counter++; ?>
|
|
|
<?php endif; ?>
|
|
|
<?php endforeach; ?>
|
|
|
</ul>
|
|
|
</div>
|
|
|
<?php endif; ?>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
<div class="max-[768px]:flex-col max-[768px]:mt-[24px] mt-[64px] flex gap-[24px] justify-between flex-wrap">
|
|
|
<?php if (!empty($trainer_desc_list)): ?>
|
|
|
<div class="flex flex-col w-full max-w-[760px] p-[24px] bg-[#fff] rounded-[12px]">
|
|
|
<h3 class="font-[700] text-[24px] leading-[125%]">Цели, с которыми работаю</h3>
|
|
|
<?php
|
|
|
$benefits = [
|
|
|
[
|
|
|
'text' => 'Снижение веса',
|
|
|
'svg' => '<svg width="27" height="27" viewBox="0 0 27 27" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
|
<path d="M4.57139 25.9997H18.8569C19.8038 25.9986 20.7116 25.622 21.3811 24.9525C22.0506 24.283 22.4273 23.3752 22.4283 22.4283V17.5717C19.4437 17.4217 16.4586 17.8567 13.6409 18.852C13.5021 18.8967 13.3677 18.9382 13.2316 18.9797C13.2257 18.9824 13.2195 18.9833 13.2132 18.9855C11.8229 19.4267 10.3746 19.6584 8.91598 19.673C7.73942 19.6877 6.56938 19.4963 5.45888 19.1074C5.19998 19.0128 4.9762 18.8412 4.81757 18.6158C4.65894 18.3904 4.57304 18.1219 4.57139 17.8462V12.9356C4.57067 12.7297 4.61766 12.5265 4.70867 12.3418C4.79968 12.1572 4.93223 11.9961 5.09593 11.8713C5.25706 11.7462 5.44503 11.6601 5.64505 11.62C5.84507 11.5799 6.05168 11.5867 6.2486 11.6401C7.86912 12.0713 10.9441 12.6606 13.3427 11.761C16.1784 10.6977 18.4324 10.1927 22.4283 10.4311V4.57139C22.4273 3.62452 22.0506 2.71674 21.3811 2.04721C20.7116 1.37767 19.8038 1.00106 18.8569 1H4.57139C3.62452 1.00106 2.71674 1.37767 2.04721 2.04721C1.37767 2.71674 1.00106 3.62452 1 4.57139V22.4283C1.00106 23.3752 1.37767 24.283 2.04721 24.9525C2.71674 25.622 3.62452 25.9986 4.57139 25.9997ZM19.7498 21.9819C20.0147 21.9819 20.2736 22.0604 20.4938 22.2076C20.7141 22.3548 20.8857 22.5639 20.9871 22.8086C21.0885 23.0534 21.115 23.3226 21.0633 23.5824C21.0116 23.8422 20.8841 24.0809 20.6968 24.2682C20.5095 24.4555 20.2708 24.583 20.0111 24.6347C19.7513 24.6864 19.482 24.6599 19.2373 24.5585C18.9925 24.4571 18.7834 24.2855 18.6362 24.0652C18.4891 23.845 18.4105 23.586 18.4105 23.3212C18.4105 22.966 18.5516 22.6253 18.8028 22.3742C19.0539 22.123 19.3946 21.9819 19.7498 21.9819ZM19.7498 2.33927C20.0147 2.33927 20.2736 2.41782 20.4938 2.56498C20.7141 2.71214 20.8857 2.9213 20.9871 3.16602C21.0885 3.41074 21.115 3.68003 21.0633 3.93982C21.0116 4.19961 20.8841 4.43825 20.6968 4.62555C20.5095 4.81285 20.2708 4.9404 20.0111 4.99208C19.7513 5.04375 19.482 5.01723 19.2373 4.91586C18.9925 4.8145 18.7834 4.64284 18.6362 4.4226C18.4891 4.20236 18.4105 3.94342 18.4105 3.67854C18.4105 3.32334 18.5516 2.98269 18.8028 2.73153C19.0539 2.48037 19.3946 2.33927 19.7498 2.33927ZM5.86066 5.40977C6.8852 4.41469 8.72937 3.23212 11.7142 3.23212C14.6989 3.23212 16.5431 4.41469 17.565 5.40754C17.8077 5.64862 17.9501 5.97273 17.9635 6.31459C17.9768 6.65645 17.8601 6.99067 17.6369 7.24993L15.2324 10.0669C15.1511 10.1641 15.0492 10.2422 14.9341 10.2954C14.819 10.3487 14.6936 10.3758 14.5668 10.3749H8.86151C8.73349 10.3752 8.607 10.347 8.49119 10.2924C8.37539 10.2378 8.27315 10.1582 8.19188 10.0593L5.78968 7.24993C5.56697 6.99092 5.45051 6.65724 5.46368 6.3159C5.47684 5.97457 5.61866 5.65085 5.86066 5.40977ZM3.67854 2.33927C3.94342 2.33927 4.20236 2.41782 4.4226 2.56498C4.64284 2.71214 4.8145 2.9213 4.91586 3.16602C5.01723 3.41074 5.04375 3.68003 4.99208 3.93982C4.9404 4.19961 4.81285 4.43825 4.62555 4.62555C4.43825 4.81285 4.19961 4.9404 3.93982 4.99208C3.68003 5.04375 3.41074 5.01723 3.16602 4.91586C2.9213 4.8145 2.71214 4.64284 2.56498 4.4226C2.41782 4.20236 2.33927 3.94342 2.33927 3.67854C2.33927 3.32334 2.48037 2.98269 2.73153 2.73153C2.98269 2.48037 3.32334 2.33927 3.67854 2.33927ZM3.67854 21.9819C3.94342 21.9819 4.20236 22.0604 4.4226 22.2076C4.64284 22.3548 4.8145 22.5639 4.91586 22.8086C5.01723 23.0534 5.04375 23.3226 4.99208 23.5824C4.9404 23.8422 4.81285 24.0809 4.62555 24.2682C4.43825 24.4555 4.19961 24.583 3.93982 24.6347C3.68003 24.6864 3.41074 24.6599 3.16602 24.5585C2.9213 24.4571 2.71214 24.2855 2.56498 24.0652C2.41782 23.845 2.33927 23.586 2.33927 23.3212C2.33927 22.966 2.48037 22.6253 2.73153 22.3742C2.98269 22.123 3.32334 21.9819 3.67854 21.9819Z" fill="url(#paint0_linear_4123_7229)"/>
|
|
|
<path d="M3.67885 23.7678C3.9254 23.7678 4.12527 23.568 4.12527 23.3214C4.12527 23.0749 3.9254 22.875 3.67885 22.875C3.43229 22.875 3.23242 23.0749 3.23242 23.3214C3.23242 23.568 3.43229 23.7678 3.67885 23.7678Z" fill="url(#paint1_linear_4123_7229)"/>
|
|
|
<path d="M3.67885 4.12527C3.9254 4.12527 4.12527 3.9254 4.12527 3.67885C4.12527 3.43229 3.9254 3.23242 3.67885 3.23242C3.43229 3.23242 3.23242 3.43229 3.23242 3.67885C3.23242 3.9254 3.43229 4.12527 3.67885 4.12527Z" fill="url(#paint2_linear_4123_7229)"/>
|
|
|
<path d="M25.6027 11.6284C19.5734 10.8846 17.0439 11.3266 13.6569 12.5971C11.023 13.5846 7.74136 12.9618 6.01816 12.5025C5.98146 12.4927 5.94364 12.4878 5.90566 12.4877C5.80863 12.4873 5.71427 12.5195 5.63781 12.5793C5.58286 12.6211 5.53837 12.6752 5.50785 12.7371C5.47733 12.7991 5.46161 12.8673 5.46192 12.9364V17.847C5.46236 17.9401 5.49161 18.0307 5.54565 18.1064C5.5997 18.1821 5.67587 18.2392 5.7637 18.2698C6.24616 18.4407 6.74378 18.5654 7.24984 18.6421V17.5363C7.24984 17.4179 7.29688 17.3044 7.3806 17.2207C7.46432 17.1369 7.57787 17.0899 7.69627 17.0899C7.81467 17.0899 7.92822 17.1369 8.01194 17.2207C8.09566 17.3044 8.14269 17.4179 8.14269 17.5363V18.7417C8.73744 18.782 9.3344 18.7769 9.92838 18.7265V17.5363C9.92838 17.4179 9.97542 17.3044 10.0591 17.2207C10.1429 17.1369 10.2564 17.0899 10.3748 17.0899C10.4932 17.0899 10.6068 17.1369 10.6905 17.2207C10.7742 17.3044 10.8212 17.4179 10.8212 17.5363V18.6216C11.4238 18.5299 12.0202 18.4011 12.6069 18.2359V17.0899C12.6069 16.9715 12.654 16.858 12.7377 16.7742C12.8214 16.6905 12.9349 16.6435 13.0533 16.6435C13.1717 16.6435 13.2853 16.6905 13.369 16.7742C13.4527 16.858 13.4998 16.9715 13.4998 17.0899V17.9609C14.1185 17.7579 14.7137 17.5817 15.2855 17.4323V16.1971C15.2855 16.0787 15.3325 15.9651 15.4162 15.8814C15.4999 15.7977 15.6135 15.7506 15.7319 15.7506C15.8503 15.7506 15.9638 15.7977 16.0476 15.8814C16.1313 15.9651 16.1783 16.0787 16.1783 16.1971V17.2158C16.7691 17.0821 17.3648 16.9709 17.964 16.8823V15.7506C17.964 15.6322 18.011 15.5187 18.0948 15.435C18.1785 15.3513 18.292 15.3042 18.4104 15.3042C18.5288 15.3042 18.6424 15.3513 18.7261 15.435C18.8098 15.5187 18.8568 15.6322 18.8568 15.7506V16.7676C19.4502 16.7046 20.046 16.666 20.6425 16.652V15.3042C20.6425 15.1858 20.6896 15.0723 20.7733 14.9886C20.857 14.9048 20.9706 14.8578 21.089 14.8578C21.2074 14.8578 21.3209 14.9048 21.4046 14.9886C21.4884 15.0723 21.5354 15.1858 21.5354 15.3042V16.6475C22.1497 16.6564 22.7439 16.6863 23.3211 16.7332V15.3047C23.3211 15.1863 23.3681 15.0727 23.4518 14.989C23.5356 14.9053 23.6491 14.8582 23.7675 14.8582C23.8859 14.8582 23.9995 14.9053 24.0832 14.989C24.1669 15.0727 24.2139 15.1863 24.2139 15.3047V16.818C24.8184 16.8819 25.4112 16.956 25.9996 17.0305V12.0717C25.9988 11.9621 25.9581 11.8566 25.885 11.775C25.8119 11.6933 25.7116 11.6412 25.6027 11.6284ZM25.8059 18.1488C25.8602 18.0796 25.9053 18.0035 25.9398 17.9225L25.9117 17.9189C25.0635 17.8118 24.2095 17.7037 23.3193 17.6301V19.1769C24.8675 18.9497 25.5278 18.5002 25.8059 18.1488Z" fill="#E21E24"/>
|
|
|
<path d="M19.7501 23.7678C19.9967 23.7678 20.1966 23.568 20.1966 23.3214C20.1966 23.0749 19.9967 22.875 19.7501 22.875C19.5036 22.875 19.3037 23.0749 19.3037 23.3214C19.3037 23.568 19.5036 23.7678 19.7501 23.7678Z" fill="url(#paint3_linear_4123_7229)"/>
|
|
|
<path d="M19.7501 4.12527C19.9967 4.12527 20.1966 3.9254 20.1966 3.67885C20.1966 3.43229 19.9967 3.23242 19.7501 3.23242C19.5036 3.23242 19.3037 3.43229 19.3037 3.67885C19.3037 3.9254 19.5036 4.12527 19.7501 4.12527Z" fill="url(#paint4_linear_4123_7229)"/>
|
|
|
<path d="M11.4744 9.48699H8.87617L6.46816 6.66827C6.39378 6.58101 6.35439 6.46928 6.3576 6.35466C6.36082 6.24005 6.40642 6.1307 6.48557 6.04775C7.38958 5.17052 9.02974 4.125 11.715 4.125C14.4002 4.125 16.0404 5.17052 16.9404 6.04462C17.0208 6.12775 17.0673 6.23794 17.0707 6.35357C17.074 6.4692 17.0341 6.58191 16.9587 6.66961L14.5569 9.48208H12.548L13.8721 7.49996C13.9046 7.45118 13.9272 7.39648 13.9386 7.33896C13.95 7.28145 13.95 7.22225 13.9385 7.16475C13.927 7.10726 13.9043 7.05259 13.8717 7.00386C13.8391 6.95513 13.7972 6.91331 13.7484 6.88077C13.6997 6.84823 13.645 6.82562 13.5874 6.81423C13.5299 6.80283 13.4707 6.80288 13.4132 6.81436C13.3557 6.82585 13.3011 6.84854 13.2523 6.88115C13.2036 6.91376 13.1618 6.95565 13.1292 7.00443L11.4744 9.48699Z" fill="url(#paint5_linear_4123_7229)"/>
|
|
|
<defs>
|
|
|
<linearGradient id="paint0_linear_4123_7229" x1="1" y1="13.4999" x2="22.4283" y2="13.4999" gradientUnits="userSpaceOnUse">
|
|
|
<stop offset="0.673077" stop-color="#2B2C35"/>
|
|
|
<stop offset="0.929023" stop-color="#4F5870"/>
|
|
|
</linearGradient>
|
|
|
<linearGradient id="paint1_linear_4123_7229" x1="3.23242" y1="23.3214" x2="4.12527" y2="23.3214" gradientUnits="userSpaceOnUse">
|
|
|
<stop offset="0.673077" stop-color="#2B2C35"/>
|
|
|
<stop offset="0.929023" stop-color="#4F5870"/>
|
|
|
</linearGradient>
|
|
|
<linearGradient id="paint2_linear_4123_7229" x1="3.23242" y1="3.67885" x2="4.12527" y2="3.67885" gradientUnits="userSpaceOnUse">
|
|
|
<stop offset="0.673077" stop-color="#2B2C35"/>
|
|
|
<stop offset="0.929023" stop-color="#4F5870"/>
|
|
|
</linearGradient>
|
|
|
<linearGradient id="paint3_linear_4123_7229" x1="19.3037" y1="23.3214" x2="20.1966" y2="23.3214" gradientUnits="userSpaceOnUse">
|
|
|
<stop offset="0.673077" stop-color="#2B2C35"/>
|
|
|
<stop offset="0.929023" stop-color="#4F5870"/>
|
|
|
</linearGradient>
|
|
|
<linearGradient id="paint4_linear_4123_7229" x1="19.3037" y1="3.67885" x2="20.1966" y2="3.67885" gradientUnits="userSpaceOnUse">
|
|
|
<stop offset="0.673077" stop-color="#2B2C35"/>
|
|
|
<stop offset="0.929023" stop-color="#4F5870"/>
|
|
|
</linearGradient>
|
|
|
<linearGradient id="paint5_linear_4123_7229" x1="6.35742" y1="6.80599" x2="17.0708" y2="6.80599" gradientUnits="userSpaceOnUse">
|
|
|
<stop offset="0.673077" stop-color="#2B2C35"/>
|
|
|
<stop offset="0.929023" stop-color="#4F5870"/>
|
|
|
</linearGradient>
|
|
|
</defs>
|
|
|
</svg>'
|
|
|
],
|
|
|
[
|
|
|
'text' => 'Общая функциональность и тонус',
|
|
|
'svg' => '<svg width="27" height="27" viewBox="0 0 27 27" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
|
<path d="M4.66538 13.5045C4.66538 9.9774 6.84866 6.95103 9.9345 5.70471L11.5091 2.54199C6.14141 3.30454 2 7.92956 2 13.5045C2 18.5767 5.42809 22.8629 10.0888 24.169L10.3917 21.4741C7.06638 20.3521 4.66538 17.2035 4.66538 13.5045ZM24.147 13.5045C24.147 8.4334 20.7205 4.14797 16.0613 2.84093L15.7516 5.5338C19.0788 6.65467 21.4817 9.80423 21.4817 13.5045C21.4817 17.0111 19.3238 20.0226 16.2664 21.2824L14.6482 24.4656C20.0109 23.6987 24.147 19.0759 24.147 13.5045Z" fill="url(#paint0_linear_4123_2267)" />
|
|
|
<path d="M19.412 12.1625C19.517 11.956 19.5071 11.7292 19.3859 11.5318C19.2648 11.3343 19.0497 11.2556 18.818 11.2556H13.752L14.8426 1.77463C14.8797 1.4532 14.6805 1.12019 14.3701 1.02807C14.3075 1.00946 14.2425 1.00001 14.1771 1C13.9311 1 13.6985 1.14002 13.584 1.36999L6.73289 15.1363C6.63011 15.3428 6.64144 15.6178 6.76288 15.814C6.8844 16.0102 7.09863 16.1699 7.32944 16.1699H12.3286L11.3038 25.2941C11.2679 25.6143 11.4663 25.8836 11.775 25.9758C11.8383 25.9948 11.9026 26 11.9659 26C12.089 26 12.2096 25.9659 12.3145 25.9015C12.4193 25.8372 12.5043 25.745 12.5601 25.6353L19.412 12.1625Z" fill="#E21E24" />
|
|
|
<defs>
|
|
|
<linearGradient id="paint0_linear_4123_2267" x1="2" y1="13.5038" x2="24.147" y2="13.5038" gradientUnits="userSpaceOnUse">
|
|
|
<stop offset="0.673077" stop-color="#2B2C35" />
|
|
|
<stop offset="0.929023" stop-color="#4F5870" />
|
|
|
</linearGradient>
|
|
|
</defs>
|
|
|
</svg>'
|
|
|
],
|
|
|
[
|
|
|
'text' => 'Работа с ограничениями (спина,суставы и т.д.)',
|
|
|
'svg' => '<svg width="27" height="27" viewBox="0 0 27 27" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
|
<g clip-path="url(#clip0_4123_5373)">
|
|
|
<path d="M16.7898 16.3098C16.9252 16.4311 17.0025 16.6068 16.999 16.7879C16.9973 16.9707 16.9199 17.1359 16.7811 17.2537L16.774 17.259C15.8723 18.0184 15.2641 19.0994 15.0654 20.3035L14.0178 26.5332L12.4902 26.3275L13.682 19.2154C13.8297 18.3295 13.5889 17.44 13.0229 16.7738C12.7891 16.4979 12.6959 16.1375 12.768 15.7824C12.8893 15.19 13.4535 14.784 14.0529 14.8578C14.2199 14.8789 14.3781 14.9334 14.5205 15.0195C14.7842 15.1795 15.0865 15.2656 15.3959 15.2674C15.5488 15.2691 15.7 15.3289 15.823 15.4379L16.7898 16.3098ZM19.1154 13.2055C19.2016 13.3197 19.2139 13.4621 19.1471 13.5887C19.0803 13.7152 18.9555 13.7838 18.8113 13.775L17.108 13.6643C16.9252 13.652 16.8426 13.5254 16.8145 13.4709C16.7863 13.4164 16.7336 13.274 16.832 13.1193L17.5703 11.9715C17.6336 11.873 17.7373 11.8133 17.8533 11.8098H17.8691C17.9254 11.8098 17.9781 11.8221 18.0256 11.8449C18.073 11.8678 18.1152 11.9029 18.1504 11.9469C18.4404 12.3266 18.7955 12.7889 19.1154 13.2055ZM15.7633 8.36973C16.2959 8.74766 16.4541 9.48418 16.1219 10.0467C16.0445 10.1785 15.9461 10.2928 15.8283 10.3877C15.4328 10.7094 15.1604 11.14 15.0408 11.6357C15.0057 11.7816 14.9441 11.9205 14.858 12.0471C14.4924 12.5885 13.7594 12.7625 13.1898 12.4443C12.8506 12.2545 12.6203 11.9275 12.557 11.5461C12.3971 10.5863 11.8469 9.74785 11.0471 9.2416L3.0332 4.19668L4.00527 2.79395L12.4076 8.09902C13.0352 8.49453 13.8227 8.54902 14.517 8.24316C14.9283 8.06035 15.3941 8.10781 15.7633 8.36973Z" fill="url(#paint0_linear_4123_5373)" />
|
|
|
<path d="M17.6725 7.3252C20.0771 8.79648 21.3199 11.6424 20.7662 14.4074L18.2244 27.1006L14.6086 26.6119L15.6527 20.4016C15.8303 19.3363 16.3646 18.3836 17.1592 17.7139L17.168 17.7068C17.4352 17.4783 17.5898 17.1461 17.5951 16.7945C17.6004 16.4395 17.451 16.102 17.1873 15.8646L16.217 14.9928C15.9867 14.7854 15.6949 14.6711 15.3943 14.6693C15.1939 14.6676 14.9971 14.6113 14.8248 14.5076C14.6104 14.3775 14.373 14.2949 14.1199 14.2633C13.2146 14.1525 12.3621 14.766 12.1793 15.6607C12.0703 16.1969 12.2109 16.7418 12.5643 17.1584C13.016 17.691 13.2076 18.4029 13.0898 19.1148L11.8963 26.2463L8.95195 25.8473C9.09434 25.3885 9.35098 24.5184 9.57598 23.5129C10.026 21.509 10.1473 19.9463 9.93809 18.8687C9.70078 17.6523 10.0594 16.3322 10.4004 15.4393C10.7783 14.4549 11.2213 13.757 11.2266 13.75C11.274 13.6762 11.2863 13.583 11.26 13.4986C11.2336 13.4143 11.1703 13.3457 11.0895 13.3123C7.3207 11.7619 4.76309 10.0814 3.27949 8.9459C2.08418 8.02832 1.37754 7.30762 1.09277 6.99648L2.69414 4.68496L10.7291 9.74219C11.3848 10.157 11.8365 10.8479 11.9684 11.6406C12.0615 12.2014 12.4008 12.683 12.8982 12.9625C13.1813 13.1207 13.4924 13.198 13.8 13.198C14.4029 13.198 14.9953 12.908 15.3521 12.3807C15.477 12.1943 15.5684 11.9904 15.6193 11.776C15.709 11.4086 15.9094 11.0904 16.2029 10.8514C16.3752 10.7107 16.5211 10.5437 16.6354 10.3504C17.124 9.52246 16.892 8.43789 16.108 7.88418C15.5666 7.50098 14.8828 7.43242 14.2764 7.69961C13.7648 7.92461 13.1848 7.8877 12.726 7.59766L4.34473 2.30664L5.87051 0.100586L17.6725 7.3252ZM19.6729 13.8695C19.8504 13.5355 19.8188 13.1436 19.5885 12.843C19.2686 12.4264 18.9135 11.9641 18.6217 11.5844C18.4336 11.34 18.1365 11.2012 17.8289 11.2135C17.5195 11.2258 17.2365 11.3893 17.0695 11.6494L16.3313 12.7973C16.1467 13.0838 16.1291 13.4354 16.282 13.7395C16.435 14.0436 16.7285 14.2369 17.0695 14.2598L18.7729 14.3705C18.7939 14.3723 18.8168 14.3723 18.8379 14.3723C19.1895 14.3705 19.5059 14.1824 19.6729 13.8695Z" fill="url(#paint1_linear_4123_5373)" />
|
|
|
<path d="M25.9061 12.5145C25.9237 12.3493 25.8042 12.2034 25.6407 12.1858L23.229 11.9309C23.0637 11.9133 22.9178 12.0329 22.9002 12.1963C22.8827 12.3616 23.0022 12.5075 23.1657 12.5251L25.5792 12.7799C25.5897 12.7817 25.6002 12.7817 25.6108 12.7817C25.7602 12.7817 25.8903 12.6674 25.9061 12.5145Z" fill="#E21E24" />
|
|
|
<path d="M25.4719 9.85669C25.6284 9.80396 25.7127 9.63521 25.66 9.47876C25.6073 9.32232 25.4385 9.23794 25.2821 9.29068L22.9793 10.0588C22.8229 10.1116 22.7385 10.2803 22.7913 10.4368C22.8334 10.5616 22.9495 10.6407 23.0743 10.6407C23.1059 10.6407 23.1375 10.6354 23.1692 10.6249L25.4719 9.85669Z" fill="#E21E24" />
|
|
|
<path d="M24.3874 7.36763C24.5157 7.26392 24.535 7.07583 24.4313 6.94751C24.3276 6.81919 24.1395 6.79986 24.0112 6.90357L22.1233 8.42935C21.995 8.53306 21.9756 8.72115 22.0793 8.84947C22.1391 8.92154 22.2252 8.96021 22.3114 8.96021C22.3782 8.96021 22.445 8.93736 22.4995 8.89341L24.3874 7.36763Z" fill="#E21E24" />
|
|
|
</g>
|
|
|
<defs>
|
|
|
<linearGradient id="paint0_linear_4123_5373" x1="3.0332" y1="14.6636" x2="19.1898" y2="14.6636" gradientUnits="userSpaceOnUse">
|
|
|
<stop offset="0.394231" stop-color="#E21E24" />
|
|
|
<stop offset="0.929023" stop-color="#FF2F35" />
|
|
|
</linearGradient>
|
|
|
<linearGradient id="paint1_linear_4123_5373" x1="1.09277" y1="13.6006" x2="20.8966" y2="13.6006" gradientUnits="userSpaceOnUse">
|
|
|
<stop offset="0.673077" stop-color="#2B2C35" />
|
|
|
<stop offset="0.929023" stop-color="#4F5870" />
|
|
|
</linearGradient>
|
|
|
<clipPath id="clip0_4123_5373">
|
|
|
<rect width="27" height="27" fill="white" />
|
|
|
</clipPath>
|
|
|
</defs>
|
|
|
</svg>'
|
|
|
],
|
|
|
[
|
|
|
'text' => 'Восстановление после перерывов и родов',
|
|
|
'svg' => '<svg width="27" height="27" viewBox="0 0 27 27" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
|
<path d="M5.97344 11.7627L9.89657 11.9868C9.93753 11.9905 9.97646 12.0063 10.0085 12.0321C10.0405 12.0579 10.0641 12.0926 10.0765 12.1319L10.6082 13.9595C10.6191 14.0014 10.6165 14.0456 10.6007 14.0859C10.5849 14.1261 10.5567 14.1604 10.5202 14.1836L8.42026 15.4622C7.94897 15.7477 7.57143 16.1648 7.33411 16.6621C7.0968 17.1594 7.01006 17.7152 7.08458 18.2612L7.3435 21.3585C7.38707 21.8668 7.62806 22.3379 8.01481 22.6707C8.40157 23.0034 8.90331 23.1715 9.41248 23.1387C9.92164 23.106 10.3977 22.875 10.7386 22.4954C11.0796 22.1158 11.2582 21.6178 11.2363 21.108L11.1046 18.8322C11.1014 18.7435 11.1238 18.6558 11.1689 18.5794C11.2141 18.5031 11.2802 18.4413 11.3595 18.4014C12.0372 17.9617 13.4206 17.0728 14.0925 16.6394C15.1523 17.7876 17.9062 20.7522 19 21.9384C20.6664 23.5709 23.2119 21.3893 21.9084 19.4951C21.2343 18.6706 18.0826 14.9162 17.3393 14.0211C17.318 13.9959 17.3032 13.9659 17.2963 13.9337C17.2894 13.9014 17.2905 13.868 17.2995 13.8363L17.7915 12.1229C17.8034 12.0837 17.8271 12.0492 17.8594 12.024C17.8916 11.9988 17.931 11.9843 17.9719 11.9823L22.0093 11.7935C24.1601 11.6846 24.2722 8.41989 22.1454 8.13373L16.3683 7.41321C16.1056 7.38291 15.8397 7.43025 15.6036 7.54937C15.1989 7.79238 14.7416 7.93405 14.2704 7.96234C13.7993 7.99063 13.3282 7.90471 12.8974 7.71186C12.5563 7.49773 12.1565 7.39622 11.7546 7.42169L5.82389 8.26989C5.39639 8.33629 5.00837 8.55791 4.73398 8.89239C4.4596 9.22687 4.31811 9.65073 4.33656 10.083C4.35501 10.5152 4.53211 10.9254 4.834 11.2353C5.13589 11.5452 5.54139 11.7329 5.97299 11.7627H5.97344Z" fill="url(#paint0_linear_4123_7296)" />
|
|
|
<path d="M12.1375 6.53927C13.9 8.13924 16.9178 6.77409 16.8696 4.36476C16.87 3.88383 16.7495 3.41051 16.519 2.98838C16.2886 2.56625 15.9557 2.20887 15.5509 1.94915C15.1462 1.68942 14.6826 1.53569 14.2028 1.50211C13.7231 1.46854 13.2426 1.55619 12.8056 1.757C12.3686 1.95781 11.9891 2.26533 11.7021 2.65125C11.4151 3.03717 11.2299 3.48908 11.1633 3.96538C11.0968 4.44169 11.1511 4.92708 11.3214 5.37686C11.4916 5.82665 11.7723 6.22639 12.1375 6.53927Z" fill="url(#paint1_linear_4123_7296)" />
|
|
|
<path d="M18.376 22.5576C20.9487 25.016 24.7138 21.5264 22.4621 18.7751C24.5179 19.592 25.766 20.7126 25.766 21.9692C25.4902 28.0008 2.51607 28.0053 2.23438 21.9692C2.23438 20.5764 3.76336 19.3505 6.22403 18.5202C6.27135 19.1059 6.41599 20.8197 6.46509 21.4286C6.52493 22.1695 6.87391 22.8571 7.4366 23.3427C7.99929 23.8284 8.73049 24.0732 9.47216 24.0241C10.2138 23.975 10.9064 23.636 11.4002 23.0804C11.894 22.5248 12.1493 21.7973 12.111 21.055L11.9967 19.034C12.4699 18.7336 13.4828 18.076 13.9475 17.7773C14.1306 17.9778 18.0791 22.2389 18.376 22.5576Z" fill="#E21E24" />
|
|
|
<defs>
|
|
|
<linearGradient id="paint0_linear_4123_7296" x1="4.33496" y1="15.2735" x2="23.6828" y2="15.2735" gradientUnits="userSpaceOnUse">
|
|
|
<stop offset="0.673077" stop-color="#2B2C35" />
|
|
|
<stop offset="0.929023" stop-color="#4F5870" />
|
|
|
</linearGradient>
|
|
|
<linearGradient id="paint1_linear_4123_7296" x1="11.1357" y1="4.36283" x2="16.8701" y2="4.36283" gradientUnits="userSpaceOnUse">
|
|
|
<stop offset="0.673077" stop-color="#2B2C35" />
|
|
|
<stop offset="0.929023" stop-color="#4F5870" />
|
|
|
</linearGradient>
|
|
|
</defs>
|
|
|
</svg>'
|
|
|
],
|
|
|
[
|
|
|
'text' => 'Построение привычки регулярных тренировок',
|
|
|
'svg' => '<svg width="27" height="27" viewBox="0 0 27 27" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
|
<path d="M25.122 16.9526C24.7566 16.9526 24.4061 17.0978 24.1477 17.3562C23.8893 17.6146 23.7441 17.9651 23.7441 18.3305V24.0392C23.7441 24.4047 23.8893 24.7551 24.1477 25.0136C24.4061 25.272 24.7566 25.4172 25.122 25.4172C25.4875 25.4172 25.838 25.272 26.0964 25.0136C26.3548 24.7551 26.5 24.4047 26.5 24.0392V18.3305C26.5 17.9651 26.3548 17.6146 26.0964 17.3562C25.838 17.0978 25.4875 16.9526 25.122 16.9526ZM20.9882 15.7715C20.6227 15.7715 20.2722 15.9167 20.0138 16.1751C19.7554 16.4335 19.6102 16.784 19.6102 17.1494V25.2203C19.6102 25.5858 19.7554 25.9362 20.0138 26.1947C20.2722 26.4531 20.6227 26.5983 20.9882 26.5983C21.3536 26.5983 21.7041 26.4531 21.9625 26.1947C22.221 25.9362 22.3661 25.5858 22.3661 25.2203V17.1494C22.3661 16.784 22.221 16.4335 21.9625 16.1751C21.7041 15.9167 21.3536 15.7715 20.9882 15.7715ZM2.87795 16.9526C2.5125 16.9526 2.16201 17.0978 1.90359 17.3562C1.64518 17.6146 1.5 17.9651 1.5 18.3305V24.0392C1.5 24.4047 1.64518 24.7551 1.90359 25.0136C2.16201 25.272 2.5125 25.4172 2.87795 25.4172C3.24341 25.4172 3.5939 25.272 3.85231 25.0136C4.11073 24.7551 4.25591 24.4047 4.25591 24.0392V18.3305C4.25591 17.9651 4.11073 17.6146 3.85231 17.3562C3.5939 17.0978 3.24341 16.9526 2.87795 16.9526ZM9.76772 19.8069H18.2323V22.5628H9.76772V19.8069ZM7.01181 15.7715C6.64636 15.7715 6.29587 15.9167 6.03745 16.1751C5.77904 16.4335 5.63386 16.784 5.63386 17.1494V25.2203C5.63386 25.5858 5.77904 25.9362 6.03745 26.1947C6.29587 26.4531 6.64636 26.5983 7.01181 26.5983C7.37727 26.5983 7.72775 26.4531 7.98617 26.1947C8.24459 25.9362 8.38976 25.5858 8.38976 25.2203V17.1494C8.38976 16.784 8.24459 16.4335 7.98617 16.1751C7.72775 15.9167 7.37727 15.7715 7.01181 15.7715Z" fill="url(#paint0_linear_4123_11882)" />
|
|
|
<path d="M15.3812 6.33734C15.1329 6.81771 14.8131 7.25762 14.4328 7.64207C13.7834 8.27256 12.9942 8.74078 12.1296 9.0086V9.37435C12.1296 9.92254 11.9119 10.4483 11.5243 10.8359C11.1366 11.2235 10.6109 11.4413 10.0627 11.4413C9.51453 11.4413 8.9888 11.2235 8.60118 10.8359C8.21355 10.4483 7.99579 9.92254 7.99579 9.37435V5.85703C7.40106 5.73106 6.78782 5.7193 6.1887 5.82238C2.96429 6.39128 0.926102 10.1728 1.64539 14.2527C1.7327 14.7488 1.85948 15.2371 2.02453 15.7129C2.43278 15.5786 2.86698 15.5423 3.29185 15.6073C3.71673 15.6722 4.1203 15.8364 4.4698 16.0866C4.71579 15.4996 5.15734 15.0159 5.71949 14.7175C6.28163 14.4191 6.92973 14.3245 7.55371 14.4497C8.1777 14.5749 8.73912 14.9122 9.14265 15.4043C9.54618 15.8965 9.76694 16.5131 9.76744 17.1496V18.4295H16.5718C17.5639 17.2292 18.2221 15.7885 18.48 14.2527C19.0844 10.8247 17.7399 7.6153 15.3812 6.33734Z" fill="#E21E24" />
|
|
|
<path d="M7.74062 2.8778C8.23783 3.17805 8.64933 3.60128 8.9355 4.10673C9.22167 4.61217 9.37285 5.1828 9.37448 5.76363V9.37386C9.37448 9.55659 9.44707 9.73183 9.57627 9.86104C9.70548 9.99025 9.88073 10.0628 10.0635 10.0628C10.2462 10.0628 10.4214 9.99025 10.5506 9.86104C10.6798 9.73183 10.7524 9.55659 10.7524 9.37386V7.92583C11.7622 7.79219 12.7067 7.35253 13.4591 6.66599C14.13 5.93291 14.5646 5.01486 14.7064 4.03134C14.7218 3.93863 14.7149 3.84358 14.6862 3.75408C14.6575 3.66458 14.6079 3.58322 14.5414 3.51676C14.475 3.45031 14.3936 3.40067 14.3041 3.37198C14.2146 3.34329 14.1195 3.33638 14.0268 3.35182C13.0433 3.49363 12.1253 3.92823 11.3922 4.59906C11.1308 4.86407 10.9087 5.16516 10.7327 5.49315C10.6883 4.72266 10.4573 3.97451 10.0595 3.31314C9.66171 2.65178 9.1091 2.09704 8.44928 1.6967C8.29294 1.60887 8.10852 1.58545 7.9352 1.63143C7.76187 1.6774 7.6133 1.78914 7.52104 1.9429C7.42878 2.09667 7.4001 2.28034 7.44111 2.45491C7.48211 2.62948 7.58955 2.78119 7.74062 2.8778Z" fill="#E21E24" />
|
|
|
<defs>
|
|
|
<linearGradient id="paint0_linear_4123_11882" x1="1.5" y1="21.1849" x2="26.5" y2="21.1849" gradientUnits="userSpaceOnUse">
|
|
|
<stop offset="0.673077" stop-color="#2B2C35" />
|
|
|
<stop offset="0.929023" stop-color="#4F5870" />
|
|
|
</linearGradient>
|
|
|
</defs>
|
|
|
</svg>'
|
|
|
],
|
|
|
[
|
|
|
'text' => 'Формирование фигуры и самоощущения',
|
|
|
'svg' => '<svg width="27" height="27" viewBox="0 0 27 27" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
|
<path d="M22.3193 14.2112C22.1783 13.7496 22.0084 13.2973 21.8106 12.8569L21.2309 13.2008C18.9754 14.539 16.3021 15.2464 13.5 15.2464C10.6979 15.2464 8.02461 14.5391 5.76909 13.2009L5.18936 12.857C4.99163 13.2973 4.82174 13.7496 4.68066 14.2112L12.1234 19.2315C12.5316 19.5068 13.0076 19.6523 13.5 19.6523C13.9924 19.6523 14.4684 19.5068 14.8766 19.2315L22.3193 14.2112ZM25.2676 6.46874H23.3737L23.5882 6.25419C23.8743 5.9682 23.8743 5.50443 23.5882 5.2184C23.3022 4.93241 22.8385 4.93241 22.5524 5.2184L21.0876 6.68324C20.8016 6.96923 20.8016 7.433 21.0876 7.71903L22.5524 9.18388C22.6954 9.32689 22.8829 9.39843 23.0703 9.39843C23.2578 9.39843 23.4452 9.32689 23.5882 9.18388C23.8742 8.89789 23.8742 8.43412 23.5882 8.14808L23.3737 7.93358H25.2676C25.6721 7.93358 26 7.60565 26 7.20116C26 6.79667 25.6721 6.46874 25.2676 6.46874ZM5.9124 6.68329L4.44756 5.21844C4.16157 4.93246 3.6978 4.93246 3.41177 5.21844C3.12573 5.50443 3.12573 5.9682 3.41177 6.25424L3.62632 6.46874H1.73242C1.32793 6.46874 1 6.79667 1 7.20116C1 7.60565 1.32793 7.93358 1.73242 7.93358H3.62632L3.41177 8.14813C3.12573 8.43412 3.12573 8.89789 3.41177 9.18392C3.55479 9.32689 3.74224 9.39843 3.92969 9.39843C4.11714 9.39843 4.30459 9.32689 4.44756 9.18388L5.9124 7.71903C6.19849 7.43304 6.19849 6.96927 5.9124 6.68329Z" fill="#E21E24" />
|
|
|
<path d="M19.1595 6.19741L20.5603 1.9624C20.5967 1.85236 20.6065 1.73524 20.5888 1.62068C20.5711 1.50612 20.5265 1.39739 20.4586 1.30344C20.3907 1.20948 20.3015 1.13298 20.1983 1.08023C20.0951 1.02748 19.9808 0.999981 19.8649 1H7.13522C7.01931 1 6.90506 1.02751 6.80186 1.08027C6.69865 1.13303 6.60945 1.20953 6.54156 1.30348C6.47368 1.39743 6.42907 1.50615 6.41139 1.6207C6.39371 1.73525 6.40346 1.85236 6.43986 1.9624L7.84059 6.19746C7.98601 6.63574 8.03383 7.10051 7.98072 7.55922C7.92761 8.01793 7.77484 8.45948 7.53312 8.85293L5.87375 11.5597L6.51657 11.9411C10.6283 14.3805 16.3718 14.3805 20.4836 11.9411L21.1264 11.5597L19.4671 8.85288C19.2253 8.45943 19.0725 8.01789 19.0194 7.55918C18.9663 7.10047 19.0141 6.63569 19.1595 6.19741ZM13.5001 12.3281C13.0956 12.3281 12.7676 12.0002 12.7676 11.5957C12.7676 11.1912 13.0956 10.8633 13.5001 10.8633C13.9046 10.8633 14.2325 11.1912 14.2325 11.5957C14.2325 12.0002 13.9046 12.3281 13.5001 12.3281ZM12.7676 21.0486C12.2439 20.9495 11.746 20.7444 11.3044 20.4459L4.32638 15.7392C4.28404 15.9996 4.25083 16.2615 4.22682 16.5243C4.07004 18.2704 4.32306 20.0571 4.95841 21.691L6.4526 25.5331C6.50609 25.6706 6.59988 25.7888 6.72169 25.8721C6.8435 25.9554 6.98764 26 7.13522 26H12.7676V21.0486ZM22.6737 15.7392L15.6958 20.4459C15.2542 20.7444 14.7562 20.9495 14.2325 21.0486V26H19.8649C20.0125 26 20.1566 25.9554 20.2784 25.8721C20.4002 25.7888 20.494 25.6706 20.5475 25.5331L22.0417 21.691C22.6771 20.057 22.9301 18.2704 22.7733 16.5243C22.7493 16.2615 22.7161 15.9996 22.6737 15.7392Z" fill="url(#paint0_linear_4123_2280)" />
|
|
|
<defs>
|
|
|
<linearGradient id="paint0_linear_4123_2280" x1="4.18164" y1="13.5" x2="22.8185" y2="13.5" gradientUnits="userSpaceOnUse">
|
|
|
<stop offset="0.673077" stop-color="#2B2C35" />
|
|
|
<stop offset="0.929023" stop-color="#4F5870" />
|
|
|
</linearGradient>
|
|
|
</defs>
|
|
|
</svg>'
|
|
|
],
|
|
|
];
|
|
|
?>
|
|
|
|
|
|
<ul class="max-[768px]:grid-cols-1 grid grid-cols-2 gap-y-[24px] gap-x-[16px] mt-[24px]">
|
|
|
<?php foreach ($benefits as $benefit): ?>
|
|
|
<li class="flex items-center font-[600] text-[16px] leading-[145%] gap-[16px]">
|
|
|
<div class="[&>svg]:min-w-fit grid place-items-center min-w-[55px] w-[55px] h-[55px] rounded-[9px] shadow-[0_1px_23px_0_rgba(16,_15,_15,_0.03)] bg-[linear-gradient(180deg,_#f2f2f2_69.59%,_#ededed_100%)]">
|
|
|
<?php echo $benefit['svg']; ?>
|
|
|
</div>
|
|
|
<p class="max-[768px]:max-w-full max-w-[240px] flex w-full"> <?php echo htmlspecialchars($benefit['text']); ?></p>
|
|
|
</li>
|
|
|
<?php endforeach; ?>
|
|
|
</ul>
|
|
|
</div>
|
|
|
<?php endif; ?>
|
|
|
|
|
|
<?php if ($trainer_documents && !empty($trainer_documents)): ?>
|
|
|
<div class="flex flex-col w-full max-w-[536px] h-fit p-[24px] rounded-[12px] border border-[#e0e0e0]">
|
|
|
<h3 class="font-[700] text-[24px] leading-[125%]">Сертификаты и квалификация</h3>
|
|
|
<ul class="mt-[26px] flex flex-col gap-[12px]">
|
|
|
<?php $counter = 1; ?>
|
|
|
<?php foreach ($trainer_documents as $document): ?>
|
|
|
<li class="flex items-center gap-[12px] flex w-full rounded-[12px] px-[16px] h-[48px]
|
|
|
shadow-[0_2px_32px_0_rgba(16,_15,_15,_0.03)]
|
|
|
bg-[#fff]
|
|
|
transition hover:shadow-none">
|
|
|
<span class="rounded-[24px] flex items-center justify-center w-[32px] h-[24px] bg-[linear-gradient(90deg,_#9d9994_39.42%,_#bbb7b1_92.9%)] text-white text-[14px] font-[600]">
|
|
|
<?php echo sprintf('%02d', $counter); ?>
|
|
|
</span>
|
|
|
<a href="<?php echo esc_url($document['document']['url']); ?>" target="_blank"
|
|
|
class="!no-underline font-[600] text-[16px] leading-[145%] w-full h-full flex items-center">
|
|
|
<?php echo esc_html($document['document_name']); ?>
|
|
|
</a>
|
|
|
</li>
|
|
|
<?php $counter++; ?>
|
|
|
<?php endforeach; ?>
|
|
|
</ul>
|
|
|
</div>
|
|
|
<?php endif; ?>
|
|
|
</div>
|
|
|
</section>
|
|
|
|
|
|
<?php if ($trainer_trainings): ?>
|
|
|
<?php
|
|
|
$trainings_section_id = 'trainings-section-' . uniqid();
|
|
|
$trainings_data = array();
|
|
|
|
|
|
foreach ($trainer_trainings as $training) {
|
|
|
$training_info = array(
|
|
|
'post' => $training,
|
|
|
'name' => '',
|
|
|
'short_desc' => ''
|
|
|
);
|
|
|
|
|
|
if (have_rows('short_info', $training->ID)) {
|
|
|
while (have_rows('short_info', $training->ID)) {
|
|
|
the_row();
|
|
|
$training_info['name'] = get_sub_field('name');
|
|
|
$training_info['short_desc'] = get_sub_field('short_desc');
|
|
|
}
|
|
|
}
|
|
|
|
|
|
$trainings_data[] = $training_info;
|
|
|
}
|
|
|
?>
|
|
|
|
|
|
<section class="max-[768px]:pb-[40px] mx-auto pb-[90px]">
|
|
|
<div class="container mx-auto">
|
|
|
|
|
|
|
|
|
<div class="flex items-center gap-[16px] ">
|
|
|
<h2 class="max-[1050px]:text-[36px] max-[768px]:max-[768px]:text-[24px] text-[40px] leading-[120%] font-[500]">
|
|
|
<strong>Тренировки</strong> с <?php echo esc_html($trainer_name ?: 'тренером'); ?>
|
|
|
</h2>
|
|
|
<div class="max-[1100px]:flex hidden gap-[6px] ml-auto">
|
|
|
<button class="group training-custom-prev cursor-pointer">
|
|
|
<?php display_icon('slider-prev') ?>
|
|
|
</button>
|
|
|
<button class="group training-custom-next cursor-pointer">
|
|
|
<?php display_icon('slider-next') ?>
|
|
|
</button>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
<div class="flex flex-col mt-[24px]">
|
|
|
<div class="swiper !m-0 rounded-[20px] rounded-b-[0]"
|
|
|
id="<?php echo esc_attr($trainings_section_id); ?>-swiper">
|
|
|
<div class="swiper-wrapper">
|
|
|
<?php foreach ($trainings_data as $training_data): ?>
|
|
|
<?php $training = $training_data['post']; ?>
|
|
|
<div class="max-w-[312px] swiper-slide">
|
|
|
<div class="flex flex-col bg-[#f8f8f8] relative rounded-[20px] overflow-hidden shadow-[0_2px_32px_0_rgba(16,_15,_15,_0.03)]">
|
|
|
<?php $photo_images = get_field('photo', $training->ID); ?>
|
|
|
<?php if ($photo_images && !empty($photo_images[0])): ?>
|
|
|
<div class="overflow-hidden">
|
|
|
<img src="<?php echo esc_url($photo_images[0]['url']); ?>"
|
|
|
alt="<?php echo esc_attr($photo_images[0]['alt']); ?>"
|
|
|
loading="lazy"
|
|
|
class="w-full h-full object-cover"/>
|
|
|
</div>
|
|
|
<?php endif; ?>
|
|
|
<div class="flex flex-col gap-[24px] h-full p-[24px]">
|
|
|
<?php $name = $training_data['name']; ?>
|
|
|
<?php if ($name): ?>
|
|
|
<div class="text-[24px] leading-[125%] font-[600]">
|
|
|
<?php echo esc_html($name); ?>
|
|
|
</div>
|
|
|
<?php endif; ?>
|
|
|
|
|
|
<?php $short_desc = $training_data['short_desc']; ?>
|
|
|
<?php if ($short_desc): ?>
|
|
|
<div class="text-[16px] leading-[145%] font-[500] text-[#222]">
|
|
|
<?php echo wp_kses_post($short_desc); ?>
|
|
|
</div>
|
|
|
<?php endif; ?>
|
|
|
<a href="<?php echo get_permalink($training->ID); ?>"
|
|
|
class="!no-underline mt-auto h-[59px] flex grey-gradient-hover w-full rounded-[90px] px-[12px] text-[18px] font-[600] leading-[195%] text-[#f8f8f8] bg-[0_2px_32px_0_rgba(16,_15,_15,_0.03)] items-center justify-center">
|
|
|
Перейти
|
|
|
</a>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<?php endforeach; ?>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
<div class="swiper-scrollbar [&_.swiper-scrollbar-drag]:dark:!bg-[#989597] !static !mx-auto !cursor-grab container mt-[44px] !w-full !p-0"
|
|
|
id="swiper-scrollbar-<?php echo esc_attr($trainings_section_id); ?>"></div>
|
|
|
<a class="hidden max-[768px]:flex !no-underline dark:text-[#F8F8F8] dark:max-w-[860px] dark:border-[#574348] flex mt-[44px] gap-[8px] border border-[#E0E0E0] hover:[&>svg]:translate-x-[6px] rounded-[90px] px-[32px] h-[59px] flex items-center justify-center text-[18px] font-[600] leading-[195%] text-[#222]"
|
|
|
href="<?php echo get_post_type_archive_link('training'); ?>">
|
|
|
Все тренировки
|
|
|
|
|
|
|
|
|
<svg class="transition fill-[#222222] dark:fill-[#F8F8F8]" width="12" height="13" viewBox="0 0 12 13" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
|
<path d="M6.4876 2.17896C6.73011 1.94034 7.12396 1.94035 7.36649 2.17896L11.3181 6.06809C11.5606 6.30671 11.5606 6.69329 11.3181 6.93191L7.36649 10.821C7.12396 11.0596 6.73011 11.0597 6.4876 10.821C6.24512 10.5824 6.24511 10.1949 6.4876 9.95626L9.38032 7.11093H1.1209C0.777923 7.11093 0.5 6.83747 0.5 6.5C0.5 6.16253 0.777923 5.88907 1.1209 5.88907H9.38032L6.4876 3.04374C6.24511 2.80512 6.24512 2.41758 6.4876 2.17896Z"
|
|
|
/>
|
|
|
</svg>
|
|
|
</a>
|
|
|
</div>
|
|
|
</div>
|
|
|
</section>
|
|
|
|
|
|
<script>
|
|
|
document.addEventListener('DOMContentLoaded', function () {
|
|
|
const swiperContainer = document.querySelector('#<?php echo esc_attr($trainings_section_id); ?>-swiper');
|
|
|
|
|
|
if (swiperContainer && typeof Swiper !== 'undefined') {
|
|
|
new Swiper('#<?php echo esc_attr($trainings_section_id); ?>-swiper', {
|
|
|
slidesPerView: 'auto',
|
|
|
spaceBetween: 24,
|
|
|
grabCursor: true,
|
|
|
freeMode: true,
|
|
|
scrollbar: {
|
|
|
el: `#swiper-scrollbar-<?php echo esc_attr($trainings_section_id); ?>`,
|
|
|
draggable: true,
|
|
|
},
|
|
|
navigation: {
|
|
|
nextEl: '.training-custom-next',
|
|
|
prevEl: '.training-custom-prev',
|
|
|
}
|
|
|
});
|
|
|
}
|
|
|
});
|
|
|
</script>
|
|
|
<?php endif; ?>
|
|
|
|
|
|
<script>
|
|
|
document.addEventListener('DOMContentLoaded', function () {
|
|
|
const trainerPhotosSwiper = document.querySelector('.trainer-photos-swiper');
|
|
|
|
|
|
if (trainerPhotosSwiper) {
|
|
|
const swiper = new Swiper('.trainer-photos-swiper', {
|
|
|
loop: true,
|
|
|
slidesPerView: 1,
|
|
|
spaceBetween: 0,
|
|
|
grabCursor: true,
|
|
|
|
|
|
pagination: {
|
|
|
el: '.trainer-swiper-pagination',
|
|
|
type: 'bullets',
|
|
|
clickable: true,
|
|
|
bulletClass: 'swiper-pagination-bullet',
|
|
|
},
|
|
|
});
|
|
|
|
|
|
const slides = trainerPhotosSwiper.querySelectorAll('.swiper-slide');
|
|
|
if (slides.length <= 1) {
|
|
|
const pagination = trainerPhotosSwiper.querySelector('.trainer-swiper-pagination');
|
|
|
if (pagination) pagination.style.display = 'none';
|
|
|
swiper.autoplay.stop();
|
|
|
}
|
|
|
}
|
|
|
});
|
|
|
</script>
|
|
|
|
|
|
<style>
|
|
|
.swiper-pagination-bullet {
|
|
|
width: 10px !important;
|
|
|
height: 10px !important;
|
|
|
background: #222 !important;
|
|
|
border-radius: 100% !important;
|
|
|
transform: none !important;
|
|
|
}
|
|
|
|
|
|
.swiper-pagination-bullet-active {
|
|
|
border-radius: 20px !important;
|
|
|
width: 17px !important;
|
|
|
height: 10px !important;
|
|
|
background: #fff !important;
|
|
|
}
|
|
|
</style>
|
|
|
|
|
|
<?php get_footer(); ?>
|