Skip to content

Commit

Permalink
Меняет партнёрский блок
Browse files Browse the repository at this point in the history
  • Loading branch information
skorobaeus committed Sep 3, 2024
1 parent 2a73321 commit 22bbf32
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
12 changes: 11 additions & 1 deletion src/styles/blocks/intro.css
Original file line number Diff line number Diff line change
Expand Up @@ -46,17 +46,27 @@
}

.intro__pitch--partner {
border: 1px solid hsl(var(--color-fade));
border-radius: 6px;
background-color: transparent;
}

.intro__moto {
align-self: center;
align-self: self-start;
font-family: var(--font-family);
font-size: var(--font-size-l);
font-weight: 300;
line-height: 1;
margin: 0;
}

.intro__accent {
border-radius: 1em;
padding: 0 0.3em;
background-color: hsl(var(--color-fade));
white-space: nowrap;
}

.intro__footer {
display: flex;
flex-wrap: wrap;
Expand Down
8 changes: 3 additions & 5 deletions src/views/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,13 @@
<h1 class="visually-hidden" id="main-content">Дока</h1>
{{ promo(promoData.color, promoData.title, promoData.content, promoData.links) }}
<div class="intro__pitch intro__pitch--partner">
<a target="_blank" rel="nofollow" href="https://practicum.yandex.ru/promo/courses/programming-reskilling/?utm_source=pr&utm_medium=content&utm_campaign=pr_content_programming-reskilling_doka">
<img class="intro__logo intro__logo--invertible" src="/images/partners/practicum.svg" alt="Практикум">
</a>
<h2 class="intro__moto font-theme--code">Дока <span class="intro__accent">ищет партнёров</span></h2>
<p class="intro__description">
Работу редакции Доки поддерживает <a class="link" target="_blank" rel="nofollow" href="https://practicum.yandex.ru/promo/courses/programming-reskilling/?utm_source=pr&utm_medium=content&utm_campaign=pr_content_programming-reskilling_doka">Яндекс Практикум</a> — сервис онлайн-образования. Вместе мы помогаем сообществу развиваться и становиться лучше. Дока развивает площадку для накопления опыта, а Практикум помогает разработчикам изучать новое и расти.
Партнёрство с Докой полезно компаниям и проектам, которые разделяют ценности open-source. Предоставляя Доке полную или частичную поддержку, вы помогаете развивать русскоязычное фронтенд-сообщество.
</p>
<div class="intro__footer">
<div class="intro__link">
<a class="link" href="/about/#otkuda-my-vzyalis">О партнёрстве</a>
📧 <a class="link" href="mailto:hi@doka.guide">Написать нам</a>
</div>
</div>
</div>
Expand Down

0 comments on commit 22bbf32

Please sign in to comment.