Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/initial footer #22

Closed
wants to merge 4 commits into from
Closed

Conversation

Anastacia-Tesli
Copy link
Contributor

No description provided.

@elrouss elrouss added the enhancement New feature or request label Nov 27, 2022
@elrouss elrouss linked an issue Nov 27, 2022 that may be closed by this pull request
Copy link
Owner

@elrouss elrouss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Требуются правки

@@ -0,0 +1,7 @@
.contacts__phone-subheader {
font-family: 'YS Display', Arial, sans-serif, Arial, sans-serif;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

font-family не стоит прописывать в каждом текстовом элементе: мы подключим его к классу тега body (т. о., убираем дублирование)

@@ -0,0 +1,7 @@
.contacts__phone-subheader {
font-family: 'YS Display', Arial, sans-serif, Arial, sans-serif;
font-style: normal;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Аналогично со свойствами: font-weight, font-style, font-size. Мы пропишем самый частый случай в теге body, а там, где будет отличаться, пропишем.

font-size: 16px;
line-height: 24px;
text-align: left;
margin: 4px 0 4px 0;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Можно короче, margin: 4px 0.

color: black;
}

.link:hover {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Пока вроде бы hover нет

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

где ховера нет? В макете - да, там еще ничего не прописано.
посмотрел реализацию не готовом варианте лендинга.

<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link href="./pages/index.css" rel="stylesheet" type="text/css">
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Убрать: проект собирает Вебпак

index.html Outdated
<footer class="footer">
<div class="footer-container">
<ul class="footer-container-column contacts">
<li class="contacts__phone">8-800-700-93-29</li>
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

index.html Outdated
<li class="footer-container-column__item">
<li class="social-items">
<a href="" class="social-items__item">Журнал</a>
<img src="images/vk-icon.svg" alt="vkontakte-icon" class="social-items__icon">
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Может, так?
alt = "Иконка социальной сети %22ВКонтакте%22"

%22 - это кодировка кавычек

index.html Outdated
<li class="social-items">
<a href="" class="social-items__item">Журнал</a>
<img src="images/vk-icon.svg" alt="vkontakte-icon" class="social-items__icon">
<img src="images/telegram-icon.svg" alt="telegram-icon" class="social-items__icon">
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Подумать над alt

index.html Outdated
</li>
<li class="copyright">
<p class="copyright__item">АНО ДПО «ШАД», ООО «Яндекс»</p>
<p class="copyright__item">©2022</p>
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Здесь был бы уместен семантический тег: https://developer.mozilla.org/ru/docs/Web/HTML/Element/time

/* Отступ слева в браузере Firefox, Safari, Chrome */
}
/* Сброс подчеркивания у ссылок */
a {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Не задумывался над тем, что это можно прописывать в нормалайзере

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

я не знаю))
подумал, что это удобно, поэтому прописал

@alexs41 alexs41 closed this Nov 27, 2022
@alexs41 alexs41 deleted the feature/initial-footer branch November 27, 2022 20:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Верстка футера
3 participants