File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -195,8 +195,8 @@ <h4>{{ .title }}</h4>
195195 {{ end }}
196196 </ select >
197197 </ div >
198- < a href ="{{ "slack " | absURL }}" class="btn btn-primary " target ="_blank ">
199- < i class ="ti-comments pr-2 " > </ i > {{ T "join_slack" }}
198+ < a href ="{{ "slack " | absURL }}" class="btn btn-primary d-flex align-items-center " target ="_blank ">
199+ < img src =" /images/slack.png " class ="slack-icon-pulse " alt =" Slack " style =" width: 16px; height: 16px; margin-right: 8px; " > {{ T "join_slack" }}
200200 </ a >
201201 </ div >
202202 </ nav >
@@ -215,6 +215,18 @@ <h4>{{ .title }}</h4>
215215 to { transform : rotate (360deg ); }
216216}
217217
218+ @keyframes pulse {
219+ 0% { transform : scale (1 ); }
220+ 50% { transform : scale (1.2 ); }
221+ 100% { transform : scale (1 ); }
222+ }
223+
224+ .slack-icon-pulse {
225+ display : inline-block;
226+ animation : pulse 2s infinite ease-in-out;
227+ vertical-align : middle;
228+ }
229+
218230.language-selector {
219231 display : inline-block;
220232 margin-right : 10px ;
You can’t perform that action at this time.
0 commit comments