Skip to content

Commit 6c522ed

Browse files
ef4mansona
authored andcommitted
Add link to Mastodon account
This adds a social media link to our new mastodon account. It also adds `rel="me"` to the social media links, which is a semantic hint that these are pages about EmberJS on other sites, and which should cause our Mastodon profile to show as "Verified" as the owner of emberjs.com.
1 parent bd7953c commit 6c522ed

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

addon/components/es-footer-info.hbs

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
</div>
1212
<div class="footer-social hide-on-mobile">
1313
{{#each @socialLinks as |link|}}
14-
<a href={{link.href}} title={{link.title}} aria-label={{link.label}}>
14+
<a href={{link.href}} title={{link.title}} aria-label={{link.label}} rel="me">
1515
{{svg-jar link.class}} {{link.title}}
1616
</a>
1717
{{/each}}

addon/constants/es-footer.js

+5
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ const socialLinks = [{
1515
href: 'https://discordapp.com/invite/zT3asNS',
1616
class: 'discord-logo',
1717
label: 'Join the Ember Community Discord'
18+
}, {
19+
title: 'Mastodon',
20+
href: 'https://hachyderm.io/@emberjs',
21+
class: 'mastodon-logo',
22+
label: 'Official Ember Mastodon Account'
1823
}];
1924

2025

public/images/icons/mastodon-logo.svg

+3
Loading

0 commit comments

Comments
 (0)