Skip to content

Commit

Permalink
Удаляет лишний код с ссылками на конференции (#382)
Browse files Browse the repository at this point in the history
* Удаляет лишний код из шаблонов

* Удаляет лишний код из стилей

* Удаляет svg-иконку `shout`
  • Loading branch information
monochromer authored Jan 13, 2025
1 parent 3c07718 commit 2788783
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 107 deletions.
1 change: 0 additions & 1 deletion src/images/shout.svg

This file was deleted.

8 changes: 0 additions & 8 deletions src/includes/conference-link.njk

This file was deleted.

3 changes: 0 additions & 3 deletions src/layouts/article.njk
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,4 @@ layout: page.njk
{%- endfor -%}
</ul>
</div>
{# <div class="main__conference-link">
{% include 'conference-link.njk' %}
</div> #}
</main>
4 changes: 0 additions & 4 deletions src/pages/articles/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,4 @@ layout: page.njk
paginationModel=paginationModel
) }}
</div>

{# <div class="main__conference-link">
{% include 'conference-link.njk' %}
</div> #}
</main>
57 changes: 0 additions & 57 deletions src/styles/blocks/conference-link.css

This file was deleted.

10 changes: 0 additions & 10 deletions src/styles/blocks/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,6 @@
}
}

.main__conference-link {
margin-top: 40px;
}

@media (min-width: 1024px) {
.main {
padding: 100px 64px;
Expand All @@ -40,9 +36,3 @@
margin-bottom: 40px;
}
}

@media (min-width: 1250px) {
.main__conference-link {
margin-top: 60px;
}
}
23 changes: 0 additions & 23 deletions src/styles/blocks/notice.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@
}

@media (min-width: 1024px) {
/* .notice {
margin: 160px 0;
} */

.notice:last-child {
margin-bottom: 60px;
}
Expand Down Expand Up @@ -55,22 +51,3 @@
text-decoration: underline;
}
}

.notice__link--shout {
background-image: url('/images/shout.svg');
background-repeat: no-repeat;
background-position: 50% 0;
background-size: auto 24px;
}

@media (min-width: 630px) {
.notice__link--shout {
padding-left: 50px;
}
}

@media (min-width: 1024px) {
.notice__link--shout {
padding-left: 56px;
}
}
1 change: 0 additions & 1 deletion src/styles/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
@import 'blocks/blob.css';
@import 'blocks/related-articles.css';
@import 'blocks/article-card.css';
@import 'blocks/conference-link.css';
@import 'blocks/video.css';
@import 'blocks/tooltip.css';
@import 'blocks/not-found.css';
Expand Down

0 comments on commit 2788783

Please sign in to comment.