Skip to content

Commit 572a8a5

Browse files
committed
feat: social links
1 parent e5e916e commit 572a8a5

File tree

4 files changed

+52
-11
lines changed

4 files changed

+52
-11
lines changed

_includes/footer.html

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,22 @@
1-
<hr>
1+
<hr />
22
<div class="row">
3-
<div class="col-12 col-sm-12">
4-
{% tf footer/maintainer.md %}
5-
</div>
3+
<div class="col-12 col-sm-12">{% tf footer/maintainer.md %}</div>
64
</div>
75
<div class="row">
8-
<div class="col-12 col-sm-12">
9-
<div class="footer-links">
10-
{% tf footer/terms.md %}
11-
</div>
12-
</div>
6+
<div class="col-12 col-sm-12">
7+
<div class="footer-links">{% tf footer/terms.md %}</div>
8+
</div>
9+
</div>
10+
<div class="row">
11+
<div class="col-12 col-sm-12 text-center">
12+
<div class="social-links">
13+
<a href="https://web.brid.gy/r/https://pythondeadlin.es" class="social-icon" rel="me">
14+
<i class="fa-brands fa-mastodon fa-lg"></i>
15+
</a>
16+
<a href="https://bsky.app/profile/pythondeadlin.es" class="social-icon" rel="me">
17+
<i class="fa-brands fa-bluesky fa-md"></i>
18+
</a>
19+
</div>
20+
</div>
1321
</div>
1422
{% include google_analytics.js %}

_includes/head.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@
3232
<link rel="stylesheet" type="text/css" href="{{ "/static/css/deadlines.css" | prepend:site.baseurl_root }}?t={{site.time | date: '%s'}}" media="screen,projection">
3333
<link rel="stylesheet" type="text/css" href="{{ "/static/css/calendar.css" | prepend:site.baseurl_root }}?t={{site.time | date: '%s'}}" media="screen,projection">
3434
<link rel="stylesheet" type="text/css" href="{{ "/static/css/search.css" | prepend:site.baseurl_root }}?t={{site.time | date: '%s'}}" media="screen,projection">
35+
<link rel="stylesheet" type="text/css" href="{{ "/static/css/search.css" | prepend:site.baseurl_root }}?t={{site.time | date: '%s'}}" media="screen,projection">
36+
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/fontawesome.min.css" media="screen,projection">
37+
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/brands.min.css" media="screen,projection">
3538

3639
<link rel="shortcut icon" href="{{ "/static/img/favicon.png" | prepend:site.baseurl_root }}">
3740

_includes/masthead.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,15 @@ <h1 class="display-4">{{ include.title}}</h1>
1515
<a
1616
href="https://calendar.google.com/calendar/r?cid={{ site.url }}/{{ site.github_repo }}.ics"
1717
class="btn btn-outline-danger mx-1"
18+
rel="me"
1819
>
19-
<i class="fa fa-google" aria-hidden="true"></i> {% t buttons.google %}
20+
<i class="fa-brands fa-google fa-sm" aria-hidden="true"></i> {% t buttons.google %}
2021
</a>
2122
<a
2223
href="https://github.com/{{ site.github_username }}/{{ site.github_repo }}/"
2324
class="btn btn-outline-dark mx-1"
2425
>
25-
<i class="fa fa-github" aria-hidden="true"></i> {% t buttons.github %}
26+
<i class="fa-brands fa-github fa-xs" aria-hidden="true"></i> {% t buttons.github %}
2627
</a>
2728
</div>
2829
<hr class="my-3" />

static/css/deadlines.css

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -328,3 +328,32 @@ footer {
328328
text-decoration: dashed;
329329
color: #fff;
330330
}
331+
332+
.social-icon {
333+
display: inline-block;
334+
margin: 0 10px;
335+
font-size: 24px;
336+
color: #666;
337+
transition: color 0.3s ease;
338+
text-decoration: none;
339+
}
340+
341+
.social-icon:hover {
342+
color: #333;
343+
text-decoration: none;
344+
}
345+
346+
/* Mastodon specific color */
347+
.fa-mastodon:hover {
348+
color: #6364ff;
349+
}
350+
351+
/* Bluesky specific styling */
352+
.fa-bluesky {
353+
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
354+
font-style: normal;
355+
}
356+
357+
.fa-bluesky:hover {
358+
color: #0085ff;
359+
}

0 commit comments

Comments
 (0)