Commit 452ee4b5 authored by dagalkova's avatar dagalkova

update

parent 3c14ce87
No preview for this file type
......@@ -843,6 +843,7 @@
</div>
</div>
</footer>
<script defer src="js/jquery-3.6.0.min.js"></script>
<script defer src="js/index.js"></script>
</body>
</html>
\ No newline at end of file
......@@ -611,6 +611,7 @@
</div>
</div>
</footer>
<script defer src="js/jquery-3.6.0.min.js"></script>
<script defer src="js/index.js"></script>
</body>
</html>
\ No newline at end of file
......@@ -658,34 +658,7 @@
</div>
</div>
</footer>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script defer src="js/jquery-3.6.0.min.js"></script>
<script defer src="js/index.js"></script>
<script>
jQuery(($) => {
$('.select').on('click', '.select__head', function () {
if ($(this).hasClass('open')) {
$(this).removeClass('open');
$(this).next().fadeOut();
} else {
$('.select__head').removeClass('open');
$('.select__list').fadeOut();
$(this).addClass('open');
$(this).next().fadeIn();
}
});
$('.select').on('click', '.select__item', function () {
$('.select__head').removeClass('open');
$(this).parent().fadeOut();
$(this).parent().prev().text($(this).text());
$(this).parent().prev().prev().val($(this).text());
});
$(document).click(function (e) {
if (!$(e.target).closest('.select').length) {
$('.select__head').removeClass('open');
$('.select__list').fadeOut();
}
});
});
</script>
</body>
</html>
\ No newline at end of file
......@@ -572,6 +572,7 @@
</div>
</div>
</footer>
<script defer src="js/jquery-3.6.0.min.js"></script>
<script defer src="js/index.js"></script>
</body>
</html>
\ No newline at end of file
......@@ -575,6 +575,7 @@
</div>
</div>
</footer>
<script defer src="js/jquery-3.6.0.min.js"></script>
<script defer src="js/index.js"></script>
</body>
</html>
\ No newline at end of file
......@@ -847,6 +847,7 @@
</div>
</div>
</footer>
<script defer src="js/jquery-3.6.0.min.js"></script>
<script defer src="js/index.js"></script>
</body>
</html>
\ No newline at end of file
......@@ -612,6 +612,7 @@
</div>
</div>
</footer>
<script defer src="js/jquery-3.6.0.min.js"></script>
<script defer src="js/index.js"></script>
</body>
</html>
\ No newline at end of file
......@@ -721,6 +721,7 @@
</div>
</div>
</footer>
<script defer src="js/jquery-3.6.0.min.js"></script>
<script defer src="js/index.js"></script>
</body>
</html>
\ No newline at end of file
<svg width="0" height="0" class="hidden">
<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 17" id="news-detail_arrow">
<path d="M7.68 16.62L8.8 15.5 2.16 8.62l.72-.72L8.8 1.74 7.68.62c-1.6 1.68-6.16 6.4-7.68 8 1.12 1.2 0 0 7.68 8z"></path>
</symbol>
</svg>
\ No newline at end of file
<svg width="31" height="32" viewBox="0 0 31 32" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect y="0.619141" width="31" height="31" rx="2" fill="#3B5998"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M17.9881 11.5988L18.3001 9.61877C17.5008 9.56437 16.6986 9.57039 15.9001 9.63677C15.3433 9.7109 14.8343 9.99054 14.4731 10.4208C14.1326 10.8823 13.9639 11.4482 13.9961 12.0208V14.6128L11.9961 14.5978V16.6048L13.9961 16.6118V22.6118L16.0091 22.6068V16.6068H18.3831L18.6931 14.5998H16.0101C16.0101 14.5998 16.0101 12.3148 16.0101 12.0908C16.019 12.0133 16.0438 11.9385 16.0831 11.8711C16.1224 11.8038 16.1753 11.7454 16.2384 11.6995C16.3015 11.6537 16.3735 11.6216 16.4497 11.6051C16.5259 11.5886 16.6048 11.5881 16.6812 11.6038C17.1222 11.5978 17.9881 11.5988 17.9881 11.5988Z" fill="white"/>
</svg>
<svg width="31" height="32" viewBox="0 0 31 32" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect y="0.619141" width="31" height="31" rx="2" fill="#FF9205"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M15.5003 9.61916C16.1918 9.62272 16.8667 9.83099 17.4399 10.2177C18.0131 10.6045 18.4589 11.1523 18.721 11.7922C18.9832 12.432 19.0499 13.1352 18.9129 13.8129C18.7758 14.4907 18.441 15.1126 17.9508 15.6003C17.4606 16.088 16.837 16.4196 16.1585 16.5532C15.4801 16.6868 14.7773 16.6164 14.1388 16.351C13.5003 16.0855 12.9548 15.637 12.571 15.0618C12.1872 14.4866 11.9823 13.8106 11.9823 13.1192C11.9831 12.6582 12.0748 12.202 12.2521 11.7765C12.4294 11.3511 12.6888 10.9648 13.0156 10.6397C13.3424 10.3146 13.73 10.0571 14.1563 9.88201C14.5827 9.7069 15.0394 9.61758 15.5003 9.61916ZM15.5083 11.5762C15.8084 11.5791 16.1009 11.6708 16.3489 11.8397C16.5969 12.0086 16.7894 12.2472 16.9021 12.5253C17.0148 12.8034 17.0426 13.1086 16.9821 13.4025C16.9217 13.6964 16.7755 13.9659 16.5622 14.1769C16.3488 14.3879 16.0777 14.531 15.7832 14.5882C15.4886 14.6454 15.1837 14.6142 14.9068 14.4984C14.63 14.3826 14.3936 14.1875 14.2275 13.9376C14.0614 13.6877 13.973 13.3942 13.9734 13.0942C13.9752 12.6895 14.1376 12.3022 14.4248 12.0172C14.7121 11.7322 15.1007 11.5728 15.5053 11.5741L15.5083 11.5762ZM15.5003 17.6352C16.171 17.6303 16.8358 17.5096 17.4654 17.2782C17.8163 17.051 18.1903 16.862 18.5813 16.7142C18.8013 16.7222 19.1643 17.0871 19.1023 18.0311C19.0673 18.5701 18.0843 18.7922 17.7383 18.9982C17.5124 19.121 17.2673 19.2046 17.0133 19.2452C17.0133 19.2452 17.8603 20.1512 18.0763 20.3742C18.515 20.6938 18.8457 21.1396 19.0243 21.6522C18.9673 21.8954 18.8435 22.1179 18.6668 22.2946C18.4901 22.4713 18.2676 22.5951 18.0243 22.6522C17.4873 22.3765 17.0112 21.9956 16.6244 21.5322C16.0424 20.9762 15.5093 20.4632 15.5093 20.4632C15.5093 20.4632 14.9633 20.9492 14.3943 21.5112C14.0166 21.9766 13.552 22.3641 13.0263 22.6522C12.756 22.5825 12.5117 22.4358 12.3232 22.2298C12.1346 22.0239 12.0099 21.7676 11.9643 21.4921C12.2993 20.9358 12.7179 20.4342 13.2054 20.0051C13.4544 19.7349 13.7217 19.4819 14.0053 19.2482C13.782 19.2172 13.566 19.1468 13.3673 19.0402C12.8863 18.7732 11.8563 18.4932 11.8833 17.9972C11.9123 17.4852 12.0424 16.6972 12.4994 16.6972C12.8899 16.8391 13.2648 17.0208 13.6183 17.2392C14.2086 17.5087 14.8515 17.6434 15.5003 17.6332V17.6352Z" fill="white"/>
</svg>
<svg width="31" height="32" viewBox="0 0 31 32" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect y="0.619141" width="31" height="31" rx="2" fill="#1DA1F2"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M15.2628 14.0381C15.2628 14.0381 15.4998 10.6902 17.8338 10.6612C19.7338 10.6362 20.0978 11.4991 20.0978 11.4991C20.6714 11.3239 21.2018 11.0303 21.6548 10.6371C21.6139 11.1961 21.39 11.7261 21.0178 12.1451C21.3792 12.1427 21.7288 12.0159 22.0078 11.7862C21.9346 12.0561 21.8039 12.3069 21.6248 12.5216C21.4456 12.7363 21.2222 12.9098 20.9698 13.0302C21.0889 15.1235 20.5276 17.1991 19.3698 18.9471C17.6698 21.4161 14.5778 21.6002 12.8818 21.6212C11.5245 21.5409 10.2027 21.1557 9.01479 20.4941C9.01479 20.4941 11.5878 20.5261 12.7398 19.6841C11.8277 19.0605 10.9742 18.3553 10.1898 17.5771C10.5005 17.603 10.8135 17.5715 11.1128 17.4842C10.2894 16.6131 9.58342 15.6382 9.01277 14.5842C9.33132 14.6476 9.65741 14.6644 9.98079 14.6342C9.98079 14.6342 8.48081 12.1991 9.19081 10.6191C9.19081 10.6231 11.7258 13.8251 15.2628 14.0381Z" fill="white"/>
</svg>
<svg width="31" height="32" viewBox="0 0 31 32" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect y="0.619141" width="31" height="31" rx="2" fill="#2787F5"/>
<path d="M20.9363 17.6401C20.6453 17.2726 20.7285 17.1091 20.9363 16.7806C20.94 16.7769 23.3422 13.4574 23.5897 12.3316L23.5912 12.3309C23.7143 11.9206 23.5913 11.6191 22.9965 11.6191H21.0285C20.5275 11.6191 20.2965 11.8779 20.1727 12.1674C20.1727 12.1674 19.1707 14.5659 17.7533 16.1206C17.2957 16.5699 17.0843 16.7139 16.8345 16.7139C16.7115 16.7139 16.5203 16.5699 16.5203 16.1596V12.3309C16.5203 11.8389 16.38 11.6191 15.9653 11.6191H12.8708C12.5565 11.6191 12.3698 11.8486 12.3698 12.0624C12.3698 12.5289 13.0785 12.6361 13.152 13.9486V16.7964C13.152 17.4204 13.0388 17.5351 12.7875 17.5351C12.1185 17.5351 10.4948 15.1269 9.5325 12.3706C9.33825 11.8359 9.1485 11.6199 8.64375 11.6199H6.675C6.11325 11.6199 6 11.8786 6 12.1681C6 12.6796 6.669 15.2229 9.111 18.5829C10.7385 20.8764 13.0305 22.1191 15.1155 22.1191C16.3688 22.1191 16.5218 21.8431 16.5218 21.3684C16.5218 19.1769 16.4085 18.9699 17.0363 18.9699C17.3273 18.9699 17.8282 19.1139 18.9982 20.2201C20.3355 21.5319 20.5553 22.1191 21.3038 22.1191H23.2717C23.8328 22.1191 24.117 21.8431 23.9535 21.2986C23.5793 20.1534 21.0503 17.7976 20.9363 17.6401Z" fill="white"/>
</svg>
<svg width="21" height="17" viewBox="0 0 21 17" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M0.5 0.347656C0.5 6.24766 0.5 10.4477 0.5 16.3477C9.5 16.3477 12.8 16.3477 20.5 16.3477V0.347656C11 0.347656 18 0.347656 0.5 0.347656ZM18.5 14.3477H2.5V2.34766H18.5V14.3477ZM16.5 12.3477H4.5L9 6.14766L11.8 9.94766L13.2 8.04766L16.5 12.3477ZM12.5 4.84766C12.5 4.24766 12.9 3.84766 13.5 3.84766C14.1 3.84766 14.5 4.24766 14.5 4.84766C14.5 5.44766 14.1 5.84766 13.5 5.84766C12.9 5.84766 12.5 5.44766 12.5 4.84766Z" fill="#C7C9CF"/>
</svg>
<svg width="65" height="65" viewBox="0 0 65 65" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect x="32.5" y="0.730469" width="45.2548" height="45.2548" transform="rotate(45 32.5 0.730469)" fill="#029745"/>
<path d="M40.7969 32.7864L28.7289 39.9518L28.7289 25.6211L40.7969 32.7864Z" fill="white"/>
</svg>
......@@ -961,6 +961,7 @@
</div>
</footer>
<script src="https://api-maps.yandex.ru/2.1/?lang=ru_RU&amp;apikey=6d05ea4e-5eb3-4409-88a3-d4f809c991d9" type="text/javascript"></script>
<script defer src="js/jquery-3.6.0.min.js"></script>
<script defer src="js/index.js"></script>
<script defer>
ymaps.ready(function () {
......
......@@ -44,7 +44,7 @@ document.addEventListener("DOMContentLoaded", function () {
item.classList.add('second-menu-scroll-item__link__icon');
}
for (let item of submenus) {
item.style.top = '105px';
item.style.top = '86px';
}
search.style.top = '86px';
}
......@@ -171,9 +171,11 @@ document.addEventListener("DOMContentLoaded", function () {
e.preventDefault();
search.style.opacity = '0';
search.style.visibility = 'hidden';
document.querySelector('.header').style.opacity = 0.99;
for (let point of points) {
point.style.display = 'flex';
if (pageYOffset < 400) {
document.querySelector('.header').style.opacity = 0.99;
for (let point of points) {
point.style.display = 'flex';
}
}
});
......@@ -182,9 +184,11 @@ document.addEventListener("DOMContentLoaded", function () {
if (search.style.opacity == '1') {
search.style.opacity = '0';
search.style.visibility = 'hidden';
document.querySelector('.header').style.opacity = 0.99;
for (let point of points) {
point.style.display = 'flex';
if (pageYOffset < 400) {
document.querySelector('.header').style.opacity = 0.99;
for (let point of points) {
point.style.display = 'flex';
}
}
}
else {
......@@ -484,4 +488,31 @@ document.addEventListener("DOMContentLoaded", function () {
});
});
}
jQuery(($) => {
$('.select').on('click', '.select__head', function () {
if ($(this).hasClass('open')) {
$(this).removeClass('open');
$(this).next().fadeOut();
} else {
$('.select__head').removeClass('open');
$('.select__list').fadeOut();
$(this).addClass('open');
$(this).next().fadeIn();
}
});
$('.select').on('click', '.select__item', function () {
$('.select__head').removeClass('open');
$(this).parent().fadeOut();
$(this).parent().prev().text($(this).text());
$(this).parent().prev().prev().val($(this).text());
});
$(document).click(function (e) {
if (!$(e.target).closest('.select').length) {
$('.select__head').removeClass('open');
$('.select__list').fadeOut();
}
});
});
});
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -586,6 +586,7 @@
</div>
</div>
</footer>
<script defer src="js/jquery-3.6.0.min.js"></script>
<script defer src="js/index.js"></script>
</body>
</html>
\ No newline at end of file
......@@ -566,6 +566,7 @@
</div>
</div>
</footer>
<script defer src="js/jquery-3.6.0.min.js"></script>
<script defer src="js/index.js"></script>
</body>
</html>
\ No newline at end of file
......@@ -661,6 +661,7 @@
</div>
</div>
</footer>
<script defer src="js/jquery-3.6.0.min.js"></script>
<script defer src="js/index.js"></script>
</body>
</html>
\ No newline at end of file
......@@ -679,6 +679,7 @@
</div>
</div>
</footer>
<script defer src="js/jquery-3.6.0.min.js"></script>
<script defer src="js/index.js"></script>
</body>
</html>
\ No newline at end of file
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
......@@ -628,6 +628,7 @@
</div>
</div>
</footer>
<script defer src="js/jquery-3.6.0.min.js"></script>
<script defer src="js/index.js"></script>
</body>
</html>
\ No newline at end of file
......@@ -1032,6 +1032,7 @@
</div>
</div>
</footer>
<script defer src="js/jquery-3.6.0.min.js"></script>
<script defer src="js/index.js"></script>
</body>
</html>
\ No newline at end of file
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment