Skip to content

Commit e5ecfce

Browse files
authored
Updates to social links (#144)
* update social icons from pebble-dev/iconography, remove twitter, add bluesky and mastodon * make social links rel="me" * better alt text for social link icons * make email link a mailto url * add fediverse:creator meta tag for fediverse embed attribution * add changes from other PR * adjust vertical position of email icon to be inline with dev_console * run svgo on icons
1 parent f3e1168 commit e5ecfce

File tree

13 files changed

+25
-11
lines changed

13 files changed

+25
-11
lines changed

_data/socials.yml

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,19 @@
1-
- name: discord
1+
- name: Discord
22
url: https://discordapp.com/invite/aRUAYFN
3-
icon: discord.png
3+
icon: discord.svg
44

5-
- name: twitter
6-
url: https://twitter.com/pebble_dev/
7-
icon: twitter.png
5+
- name: Bluesky
6+
url: https://bsky.app/profile/rebble.io/
7+
icon: bluesky.svg
88

9-
- name: email
10-
url: /contact/
11-
icon: email.png
9+
- name: Mastodon
10+
url: https://mastodon.social/@rebble
11+
icon: mastodon.svg
12+
13+
- name: GitHub
14+
url: https://github.com/pebble-dev
15+
icon: github.svg
16+
17+
- name: Email
18+
url: mailto:support@rebble.io
19+
icon: email.svg

_includes/footer.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
</div>
66
<div class="text-content">
77
{% for item in site.data.socials %}
8-
<a href="{{ item.url }}"><img class="footer-icon" alt="icon-{{ item.name }}" src="/images/social-icons/{{ item.icon }}"></img></a>
8+
<a rel="me" href="{{ item.url }}"><img class="footer-icon" alt="{{ item.name }}" src="/images/social-icons/{{ item.icon }}"></img></a>
99
{% endfor %}
1010
</div>
1111
{% include mailinglist.html %}

_includes/head.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<title>{% if page.title and page.title != site.title %}{{ site.title }} · {{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
44
<meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}"/>
55
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"/>
6+
<meta name="fediverse:creator" content="@rebble@mastodon.social">
67
<link rel="alternate" type="application/rss+xml" title="{{ site.title }}" href="{{ "/feed.xml" | prepend: site.baseurl | prepend: site.url }}" />
78
<link rel="icon" type="image/x-icon" href="/images/favicon.ico">
89
<link rel="stylesheet" href="/css/common.css?version=1.2.0">

_scss/footer.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ footer {
1414
}
1515

1616
.footer-icon {
17-
height: 30px;
18-
width: 30px;
17+
height: 25px;
18+
width: 25px;
1919
margin-left: 10px;
2020
}

images/social-icons/bluesky.svg

Lines changed: 1 addition & 0 deletions
Loading

images/social-icons/discord.png

-5.76 KB
Binary file not shown.

images/social-icons/discord.svg

Lines changed: 1 addition & 0 deletions
Loading

images/social-icons/email.png

-9.44 KB
Binary file not shown.

images/social-icons/email.svg

Lines changed: 1 addition & 0 deletions
Loading

images/social-icons/facebook.png

-6.33 KB
Binary file not shown.

0 commit comments

Comments
 (0)