Skip to content

Commit cfc7234

Browse files
WEB: Add Telegram to follow us and footer (#47531)
1 parent 612f566 commit cfc7234

File tree

3 files changed

+25
-3
lines changed

3 files changed

+25
-3
lines changed

web/pandas/_templates/layout.html

+5
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,11 @@
6969
</main>
7070
<footer class="container pt-4 pt-md-5 border-top">
7171
<ul class="list-inline social-buttons float-end">
72+
<li class="list-inline-item">
73+
<a href="https://t.me/s/pandas_dev">
74+
<i class="fab fa-telegram"></i>
75+
</a>
76+
</li>
7277
<li class="list-inline-item">
7378
<a href="https://twitter.com/pandas_dev/">
7479
<i class="fab fa-twitter"></i>

web/pandas/index.html

+13-3
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,19 @@ <h4>Latest version: {{ releases[0].name }}</h4>
7272
{% endif %}
7373
<h4>Follow us</h4>
7474
<div class="text-center">
75-
<p>
76-
<a href="https://twitter.com/pandas_dev?ref_src=twsrc%5Etfw" class="twitter-follow-button" data-show-count="false">Follow @pandas_dev</a><script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
77-
</p>
75+
<ul class="list-inline social-buttons">
76+
<li class="list-inline-item">
77+
<a href="https://t.me/s/pandas_dev">
78+
<i class="follow-us-button fab fa-telegram"></i>
79+
</a>
80+
</li>
81+
<li class="list-inline-item">
82+
<a href="https://twitter.com/pandas_dev/">
83+
<i class="follow-us-button fab fa-twitter"></i>
84+
</a>
85+
</li>
86+
</ul>
87+
7888
</div>
7989
<h4>Get the book</h4>
8090
<p class="book">

web/pandas/static/css/pandas.css

+7
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,13 @@ ol ol, ol ul, ul ol, ul ul {
3232
.pink {
3333
color: #e70488;
3434
}
35+
.follow-us-button {
36+
font-size: 2.4rem !important;
37+
color: #0d6efd !important;
38+
}
39+
.follow-us-button:hover {
40+
color: #0b5ed7 !important;
41+
}
3542
.fab {
3643
font-size: 1.2rem;
3744
color: #666;

0 commit comments

Comments
 (0)