Skip to content

Add Bluesky & Mastodon support #1145

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 5, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions app/components/teams/team/member.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,31 @@
{{~! ~}}{{svg-jar "twitter"}}{{~! ~}}
</a>
{{/if}}

{{#if @member.mastodon}}
<a
aria-label="{{@member.name}} Mastodon"
class="icon"
data-test-link="Mastodon"
href={{@member.mastodon}}
rel="noopener noreferrer"
target="_blank"
>
{{~! ~}}{{svg-jar "mastodon"}}{{~! ~}}
</a>
{{/if}}

{{#if @member.bluesky}}
<a
aria-label="{{@member.name}} Bluesky"
class="icon"
data-test-link="Bluesky"
href={{@member.bluesky}}
rel="noopener noreferrer"
target="_blank"
>
{{~! ~}}{{svg-jar "bluesky"}}{{~! ~}}
</a>
{{/if}}
</div>
</div>
2 changes: 2 additions & 0 deletions app/models/team-member.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@ import Model, { attr } from '@ember-data/model';

export default class TeamMemberModel extends Model {
@attr('date') added;
@attr bluesky;
@attr first;
@attr github;
@attr image;
@attr last;
@attr mastodon;
@attr name;
@attr teams;
@attr twitter;
Expand Down
2 changes: 2 additions & 0 deletions blueprints/team-member/files/data/team-member/__name__.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
name: <%= dasherizedModuleName %>
first:
last:
bluesky:
github:
mastodon:
twitter:
image:
added: <%= date %>
Expand Down
2 changes: 2 additions & 0 deletions lib/content-data-generator/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ const teamTree = new StaticSiteJson(`data/team-member`, {
'name',
'first',
'last',
'bluesky',
'github',
'mastodon',
'twitter',
'image',
'teams',
Expand Down
4 changes: 4 additions & 0 deletions public/images/icons/bluesky.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions public/images/icons/mastodon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.