From 3a6e28beb811eca484d9c432ceacf5b35380e6e4 Mon Sep 17 00:00:00 2001 From: Edward Faulkner Date: Fri, 27 Jan 2023 15:18:13 -0500 Subject: [PATCH 1/6] 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. --- addon/constants/es-footer.js | 8 +++++++- addon/templates/components/es-footer/es-statement.hbs | 2 +- public/images/icons/mastodon-logo.svg | 3 +++ 3 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 public/images/icons/mastodon-logo.svg diff --git a/addon/constants/es-footer.js b/addon/constants/es-footer.js index b8551b5b..019b2119 100644 --- a/addon/constants/es-footer.js +++ b/addon/constants/es-footer.js @@ -10,7 +10,13 @@ const socialLinks = [{ }, { title: 'Discord', href: 'https://discordapp.com/invite/zT3asNS', - class: 'discord-logo' + class: 'discord-logo', + label: 'Join the Ember Community Discord' +}, { + title: 'Mastodon', + href: 'https://hachyderm.io/@emberjs', + class: 'mastodon-logo', + label: 'Official Ember Mastodon Account' }]; diff --git a/addon/templates/components/es-footer/es-statement.hbs b/addon/templates/components/es-footer/es-statement.hbs index c8190f68..65f9e6bb 100644 --- a/addon/templates/components/es-footer/es-statement.hbs +++ b/addon/templates/components/es-footer/es-statement.hbs @@ -5,7 +5,7 @@