Add a "Share on Bluesky" button (#5179)

This commit is contained in:
Paul Gross 2025-04-22 20:54:28 -07:00 committed by GitHub
parent 8193f6071e
commit 126f71694f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 7 additions and 1 deletions

View File

@ -12,4 +12,8 @@
<a href="https://www.linkedin.com/shareArticle?mini=true&url={{ page.url | absolute_url }}" class="btn btn--linkedin" aria-label="Share on LinkedIn" onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} LinkedIn">
<i class="fab fa-fw fa-linkedin" aria-hidden="true"></i><span> LinkedIn</span>
</a>
<a href="https://bsky.app/intent/compose?text={{ page.title | url_encode }}%20{{ page.url | absolute_url | url_encode }}" class="btn btn--bluesky" onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} Bluesky">
<i class="fab fa-fw fa-bluesky" aria-hidden="true"></i><span> Bluesky</span>
</a>
</section>

View File

@ -40,7 +40,8 @@
(facebook, $facebook-color),
(twitter, $twitter-color),
(linkedin, $linkedin-color),
(mastodon, $mastodon-color);
(mastodon, $mastodon-color),
(bluesky, $bluesky-color);
@each $buttoncolor, $color in $buttoncolors {
&--#{$buttoncolor} {

View File

@ -90,6 +90,7 @@ $yiq-debug: false !default;
/* brands */
$behance-color: #1769ff !default;
$bitbucket-color: #205081 !default;
$bluesky-color: #1083fe !default;
$dribbble-color: #ea4c89 !default;
$facebook-color: #3b5998 !default;
$flickr-color: #ff0084 !default;