Skip to content

Commit

Permalink
Bluesky
Browse files Browse the repository at this point in the history
- Added Bluesky social icon
  • Loading branch information
xentenza committed Dec 6, 2024
1 parent 8c54de3 commit 4d884fd
Show file tree
Hide file tree
Showing 9 changed files with 24 additions and 1 deletion.
3 changes: 3 additions & 0 deletions assets/components/atoms/social-icon/social-icon-group.twig
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@
<li>
{% include '@atoms/social-icon/social-icon-single.twig' with { pretty_name: 'X', icon: 'icon-x', round: round, discrete: discrete, negative: negative } %}
</li>
<li>
{% include '@atoms/social-icon/social-icon-single.twig' with { pretty_name: 'Bluesky', icon: 'icon-bluesky', round: round, discrete: discrete, negative: negative } %}
</li>
<li>
{% include '@atoms/social-icon/social-icon-single.twig' with { pretty_name: 'Youtube', icon: 'icon-youtube', round: round, discrete: discrete, negative: negative } %}
</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@
<li>
{% include '@atoms/social-icon/social-icon-single-link.twig' with { pretty_name: 'Follow us on X', icon: 'icon-x', round: round, discrete: discrete, negative: negative, url: 'https://x.com/epfl_en' } %}
</li>
<li>
{% include '@atoms/social-icon/social-icon-single-link.twig' with { pretty_name: 'Follow us on Bluesky', icon: 'icon-bluesky', round: round, discrete: discrete, negative: negative, url: 'https://bsky.app' } %}
</li>
<li>
{% include '@atoms/social-icon/social-icon-single-link.twig' with { pretty_name: 'Follow us on Youtube', icon: 'icon-youtube', round: round, discrete: discrete, negative: negative, url: 'https://www.youtube.com/user/epflnews' } %}
</li>
Expand Down
4 changes: 4 additions & 0 deletions assets/components/atoms/social-icon/social-icon.scss
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,10 @@ a.social-icon {
background-color: $mastodon;
}

.social-icon-bluesky {
background-color: $bluesky;
}

.social-icon-tiktok {
background-color: $tiktok;
}
Expand Down
1 change: 1 addition & 0 deletions assets/components/atoms/social-icon/social-icon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ notes: |
* `tiktok`
* `whatsapp`
* `x`
* `bluesky`
* `youtube`
* `github`
* `gitlab`
2 changes: 1 addition & 1 deletion assets/components/molecules/social/social-follow.twig
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<p class="social-share-text">
Suivez nous sur <span class="sr-only">les réseaux sociaux</span>
</p>
{% include '@atoms/social-icon/social-icon-link-group.twig' with { discrete: true, social_mastodon: true, social_tiktok: true, social_github: true, social_gitlab: true } %}
{% include '@atoms/social-icon/social-icon-link-group.twig' with { discrete: true, social_mastodon: true, social_bluesky: true, social_tiktok: true, social_github: true, social_gitlab: true } %}
</div>

</div>
Expand Down
9 changes: 9 additions & 0 deletions assets/components/molecules/social/social.twig
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,15 @@
url: '#'
} %}
</li>
<li>
{% include '@atoms/social-icon/social-icon-single-link.twig' with {
pretty_name: 'Share on Bluesky',
icon: 'icon-bluesky',
round: round,
discrete: true,
url: '#'
} %}
</li>
</ul>
</div>

Expand Down
1 change: 1 addition & 0 deletions assets/config/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"accessibility",
"arrow-left",
"arrow-right",
"bluesky",
"browse",
"chevron-last-left",
"chevron-last-right",
Expand Down
1 change: 1 addition & 0 deletions assets/config/social-color.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
$amazon: #ff9900;
$android: #a4c639;
$apple: #a6b1b7;
$bluesky: #1185fe;
$deviantart: #05cc47;
$discord: #7289da;
$dribbble: #ea4c89;
Expand Down
1 change: 1 addition & 0 deletions assets/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.

0 comments on commit 4d884fd

Please sign in to comment.