Skip to content

Commit

Permalink
Add StackOverflow links
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitry Shurupov <[email protected]>
  • Loading branch information
shurup authored and alexey-igrychev committed Jun 17, 2024
1 parent e974c0c commit 68c9717
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 1 deletion.
2 changes: 1 addition & 1 deletion _includes/_common/topnav.html
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
</a>
</li>
<li class="header__menu-icon"><a href="https://github.com/werf/werf" rel="noopener noreferrer" target="_blank" class="page__icon page__icon_github" title="GitHub"></a></li>
<li class="header__menu-icon"><a href="https://github.com/werf/werf/discussions" rel="noopener noreferrer" target="_blank" class="page__icon page__icon_discussions" title="GitHub Discussions"></a></li>
<li class="header__menu-icon"><a href="https://stackoverflow.com/questions/tagged/werf" rel="noopener noreferrer" target="_blank" class="page__icon page__icon_stackoverflow" title="Ask your question on Stack Overflow"></a></li>
<li class="header__menu-icon header__menu-icon_search"><a href="javascript:void(0)" class="page__icon page__icon_search"></a></li>
<!-- div>
{% if page.ref %}
Expand Down
4 changes: 4 additions & 0 deletions assets/css/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,10 @@ body,
background-image: url('/assets/images/icons/discussions.svg');
}

.page__icon_stackoverflow {
background-image: url('/assets/images/icons/stackoverflow.svg');
}

.page__icon_block-title {
width: 20px;
height: 20px;
Expand Down
11 changes: 11 additions & 0 deletions assets/images/icons/stackoverflow.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions pages_en/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,10 @@ sidebar: none
<span class="page__icon page__icon_github"></span>
GitHub Discussions
</a>
<a href="https://stackoverflow.com/questions/tagged/werf" rel="noopener noreferrer" target="_blank" class="page__btn page__btn_w community__btn">
<span class="page__icon page__icon_stackoverflow"></span>
Stack Overflow
</a>
</div>
</div>
</div>
Expand Down
4 changes: 4 additions & 0 deletions pages_ru/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,10 @@ sidebar: none
<span class="page__icon page__icon_github"></span>
GitHub Discussions
</a>
<a href="https://stackoverflow.com/questions/tagged/werf" rel="noopener noreferrer" target="_blank" class="page__btn page__btn_w community__btn">
<span class="page__icon page__icon_stackoverflow"></span>
Stack Overflow
</a>
</div>
</div>
</div>
Expand Down

0 comments on commit 68c9717

Please sign in to comment.