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

Меняет партнёрский блок #1302

Merged
merged 2 commits into from
Sep 4, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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>
skorobaeus marked this conversation as resolved.
Show resolved Hide resolved
</div>
</div>
</div>
Expand Down
Loading