Commit 35cbf6a6 authored by dagalkova's avatar dagalkova

update

parent 81db8ada
File added
......@@ -10,7 +10,7 @@
<link rel="stylesheet" href="styles/style.css">
<link rel="stylesheet" href="styles/normalize.css">
</head>
<body>
<body class="body-subpage">
<div class="menu-hidden">
<div class="menu-hidden-main">
<div class="menu-hidden-mob">
......@@ -116,11 +116,10 @@
<input class="form-ui-inner-content__input" type="tel" placeholder="Телефон">
<input class="form-ui-inner-content__input" type="email" placeholder="E-mail">
<input class="form-ui-inner-content__input" type="text" placeholder="Сообщение">
<label for="checkbox" class="form-ui-inner-checkbox">
<input class="form-ui-inner-checkbox__input" type="checkbox" id="checkbox">
<div class="form-ui-inner-checkbox__cb"></div>
<span class="form-ui-inner-checkbox__text">Согласен на обработку персональных данных</span>
</label>
<div class="form-ui-inner-checkbox">
<input class="form-ui-inner-checkbox__input" type="checkbox" id="checkbox2" checked>
<label for="checkbox2" class="form-ui-inner-checkbox__text">Согласен на обработку персональных данных</label>
</div>
<input class="form-ui-inner-content__button" type="submit" value="ОТПРАВИТЬ">
</div>
</div>
......@@ -352,8 +351,9 @@
</div>
<div class="company-video company-video-subpage">
</div>
<a class="company-button" href="#">
<img src="img/video_button.png" alt="wacth video">
<a class="company-button company-button-subpage" href="#">
<img class="company-button__icon" src="img/video_button.png" alt="wacth video icon">
<img class="company-button__text" src="img/video_button_text.png" alt="wacth video text">
</a>
<div class="company-top">
<div class="company-top-item">
......@@ -399,11 +399,10 @@
<input class="form-ui-inner-content__input" type="text" placeholder="Сообщение">
<input class="form-ui-inner-content__button" type="submit" value="ОТПРАВИТЬ">
</div>
<label for="checkbox" class="form-ui-inner-checkbox">
<input class="form-ui-inner-checkbox__input" type="checkbox" id="checkbox">
<div class="form-ui-inner-checkbox__cb"></div>
<span class="form-ui-inner-checkbox__text">Нажимая на кнопку «Отправить», вы соглашаетесь на обработку персональных данных</span>
</label>
<div class="form-ui-inner-checkbox">
<input class="form-ui-inner-checkbox__input" type="checkbox" id="checkbox1" checked>
<label for="checkbox1" class="form-ui-inner-checkbox__text">Нажимая на кнопку «Отправить», вы соглашаетесь на обработку персональных данных</label>
</div>
</div>
</form>
</section>
......
This diff is collapsed.
This diff is collapsed.
File added
This diff is collapsed.
img/next.png

485 Bytes

img/prev.png

488 Bytes

<svg width="96" height="189" viewBox="0 0 96 189" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect x="48" y="20.7297" width="39" height="39" transform="rotate(45 48 20.7297)" fill="#029745"/>
<rect x="48" y="11.4368" width="52" height="52" transform="rotate(45 48 11.4368)" stroke="#029745"/>
<rect x="48" y="1.08329" width="66.5" height="66.5" transform="rotate(45 48 1.08329)" stroke="#029745" stroke-width="0.5"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M45.0785 48.7002L41.5406 48.715L46.0851 53.067V57.6263L36.6853 48.6853L33.5027 48.6705H28.0848L46.0555 66.4192V60.6757L33.5027 48.6853L30.098 45.5619L26.9746 48.715L47.9355 69.7646L68.9999 48.6557L65.8617 45.5619L62.4867 48.7298L50.0079 60.6757L50.0375 66.3452L67.9045 48.7446L62.4867 48.715H59.2301L54.4191 48.6261H50.8368L60.0442 39.6112L47.8911 27.6949L35.7527 39.7296L45.0785 48.7002ZM59.2301 48.7446L64.1742 43.7856L61.7761 41.58L54.4191 48.6705L50.0079 53.0078V57.7151L59.2301 48.7446ZM41.5406 48.715L34.08 41.654L31.8151 44.0224L36.6853 48.7002L41.5406 48.715Z" fill="white"/>
<line x1="47.5" y1="72.7297" x2="47.5" y2="146.73" stroke="#029745" stroke-width="3"/>
</svg>
......@@ -116,11 +116,11 @@
<input class="form-ui-inner-content__input" type="tel" placeholder="Телефон">
<input class="form-ui-inner-content__input" type="email" placeholder="E-mail">
<input class="form-ui-inner-content__input" type="text" placeholder="Сообщение">
<label for="checkbox" class="form-ui-inner-checkbox">
<input class="form-ui-inner-checkbox__input" type="checkbox" id="checkbox">
<div class="form-ui-inner-checkbox__cb"></div>
<span class="form-ui-inner-checkbox__text">Согласен на обработку персональных данных</span>
</label>
<div class="form-ui-inner-checkbox">
<input class="form-ui-inner-checkbox__input" type="checkbox" id="checkbox2" checked>
<label for="checkbox2" class="form-ui-inner-checkbox__text">Согласен на обработку персональных данных</label>
</div>
<input class="form-ui-inner-content__button" type="submit" value="ОТПРАВИТЬ">
</div>
</div>
......@@ -666,11 +666,10 @@
<input class="form-ui-inner-content__input" type="text" placeholder="Сообщение">
<input class="form-ui-inner-content__button" type="submit" value="ОТПРАВИТЬ">
</div>
<label for="checkbox" class="form-ui-inner-checkbox">
<input class="form-ui-inner-checkbox__input" type="checkbox" id="checkbox">
<div class="form-ui-inner-checkbox__cb"></div>
<span class="form-ui-inner-checkbox__text">Нажимая на кнопку «Отправить», вы соглашаетесь на обработку персональных данных</span>
</label>
<div class="form-ui-inner-checkbox">
<input class="form-ui-inner-checkbox__input" type="checkbox" id="checkbox1" checked>
<label for="checkbox1" class="form-ui-inner-checkbox__text">Нажимая на кнопку «Отправить», вы соглашаетесь на обработку персональных данных</label>
</div>
</div>
</form>
</section>
......
let prev = document.querySelector('.timeline-content-line-wrapper-events__prev');
let next = document.querySelector('.timeline-content-line-wrapper-events__next');
let contents = document.querySelectorAll('.timeline-content-year');
let events = document.querySelectorAll('.timeline-content-line-wrapper-events__item');
prev.addEventListener('click', (e) => {
e.preventDefault;
for (let i = 0; i < events.length; i++) {
if (events[i].classList.contains('timeline-content-line-wrapper-events__item--selected')) {
next.style.display = 'block';
events[i].classList.remove('timeline-content-line-wrapper-events__item--selected');
contents[i].classList.remove('timeline-content-year--selected');
events[i - 1].classList.add('timeline-content-line-wrapper-events__item--selected');
contents[i - 1].classList.add('timeline-content-year--selected');
if ((i - 1) === 0) {
prev.style.display = 'none';
}
else {
prev.style.display = 'block';
}
}
}
});
next.addEventListener('click', (e) => {
e.preventDefault;
for (let j = events.length - 1; j >= 0; j--) {
if (events[j].classList.contains('timeline-content-line-wrapper-events__item--selected')) {
prev.style.display = 'block';
events[j].classList.remove('timeline-content-line-wrapper-events__item--selected');
contents[j].classList.remove('timeline-content-year--selected');
events[j + 1].classList.add('timeline-content-line-wrapper-events__item--selected');
contents[j + 1].classList.add('timeline-content-year--selected');
if ((j + 1) === events.length - 1) {
next.style.display = 'none';
}
else {
next.style.display = 'block';
}
}
}
});
\ 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.
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