Skip to content

Commit

Permalink
Add an unofficial Discord server to the community page (#120)
Browse files Browse the repository at this point in the history
* Add Discord icon

* Add Discord community row without content

* Add content to the Discord community row

* Remove a separator within the Chat Room section
  • Loading branch information
snacks02 authored Nov 18, 2020
1 parent a3ed003 commit 92cf69c
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 0 deletions.
1 change: 1 addition & 0 deletions _assets/css/_sprites.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ i.extra-icons {
&.github { background-position: 0px -24px; }
&.stack_overflow { background-position: 1px -1px; }
&.gitter { background-position: -24px -24px; }
&.discord { background-position: 0px -72px; }
&.google { background-position: -47px -24px; }
&.twitter { background-position: -24px -1px; }
&.reddit { background-position: -72px -1px; }
Expand Down
18 changes: 18 additions & 0 deletions _assets/img/icons.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions community/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,16 @@
link_text="#crystal-lang"
url="https://webchat.freenode.net/?channels=%23crystal-lang"
icon="web_asset"
continues=true
%}

{% include community_row.html
title=""
content="The Discord server, unlike the Gitter room and the IRC channel, is unofficial, but strives not to yield to the official alternatives. There are many channels to discuss any kinds of topics related to the language."
link_text="Crystal Programming"
url="https://discord.gg/YS7YvQy"
icon="discord"
custom_icon=true
%}

{% include community_row.html
Expand Down

0 comments on commit 92cf69c

Please sign in to comment.