Skip to content

Commit

Permalink
add support for bluesky on comfig huds
Browse files Browse the repository at this point in the history
  • Loading branch information
mastercoms committed Jan 23, 2025
1 parent 622a5f5 commit 6451340
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/pages/huds/author/[author].astro
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,20 @@ const {
</a>
)
}
{
social.bsky && (
<a
href={`https://bsky.app/profile/${social.bsky}`}
target="_blank"
rel="noreferrer"
class="list-group-item d-flex justify-content-between align-items-center"
>
<span>
<span class="fab fa-bluesky fa-fw" /> Bluesky
</span>
</a>
)
}
{
social.youtube && (
<a
Expand Down
15 changes: 15 additions & 0 deletions src/pages/huds/page/[id].astro
Original file line number Diff line number Diff line change
Expand Up @@ -581,6 +581,21 @@ const authors = await fetchAuthors();
</a>
)
}
{
hud.social.bsky && (
<a
href={`https://bsky.app/profile/${hud.social.bsky}`}
target="_blank"
rel="noreferrer"
class="list-group-item d-flex justify-content-between align-items-center"
>
<span>
<span class="fab fa-bluesky fa-fw" /> Bluesky
</span>
<span class="fas fa-square-arrow-up-right fa-fw" />
</a>
)
}
{
hud.social.youtube && (
<a
Expand Down

0 comments on commit 6451340

Please sign in to comment.