Skip to content

Commit

Permalink
Fix #82 add bluesky link
Browse files Browse the repository at this point in the history
  • Loading branch information
boly38 committed Dec 18, 2024
1 parent 125797b commit 44eca40
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,12 @@ const config = {
className: 'header-github-link',
'aria-label': 'GitHub repository',
},
{
href: 'https://bsky.app/profile/chicken-bot.bsky.social',
position: 'right',
className: 'header-bluesky-link',
'aria-label': 'BlueSky',
},
{
type: 'search',
position: 'right',
Expand Down Expand Up @@ -121,6 +127,7 @@ const config = {
items: [
{label: 'Blog', to: '/blog'},
{label: 'GitHub', href: 'https://github.com/boly38/chickenbot-web'},
{label: 'BlueSky', href: 'https://bsky.app/profile/chicken-bot.bsky.social'},
],
},
],
Expand Down
14 changes: 14 additions & 0 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,17 @@
.header-github-link:hover::before {
background-color: var(--ifm-navbar-link-hover-color);
}

.header-bluesky-link::before {
content: '';
width: 24px;
height: 24px;
display: flex;
background-color: var(--ifm-navbar-link-color);
mask-image: url("data:image/svg+xml,%3Csvg role='img' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' id='Bluesky--Streamline-Simple-Icons' height='24' width='24'%3E%3Cdesc%3EBluesky Streamline Icon: https://streamlinehq.com%3C/desc%3E%3Ctitle%3EBluesky%3C/title%3E%3Cpath d='M12 10.8c-1.087 -2.114 -4.046 -6.053 -6.798 -7.995C2.566 0.944 1.561 1.266 0.902 1.565 0.139 1.908 0 3.08 0 3.768c0 0.69 0.378 5.65 0.624 6.479 0.815 2.736 3.713 3.66 6.383 3.364 0.136 -0.02 0.275 -0.039 0.415 -0.056 -0.138 0.022 -0.276 0.04 -0.415 0.056 -3.912 0.58 -7.387 2.005 -2.83 7.078 5.013 5.19 6.87 -1.113 7.823 -4.308 0.953 3.195 2.05 9.271 7.733 4.308 4.267 -4.308 1.172 -6.498 -2.74 -7.078a8.741 8.741 0 0 1 -0.415 -0.056c0.14 0.017 0.279 0.036 0.415 0.056 2.67 0.297 5.568 -0.628 6.383 -3.364 0.246 -0.828 0.624 -5.79 0.624 -6.478 0 -0.69 -0.139 -1.861 -0.902 -2.206 -0.659 -0.298 -1.664 -0.62 -4.3 1.24C16.046 4.748 13.087 8.687 12 10.8Z' fill='%23000000' stroke-width='1'/%3E%3C/svg%3E");
transition: background-color var(--ifm-transition-fast) var(--ifm-transition-timing-default);
}

.header-bluesky-link:hover::before {
background-color: var(--ifm-navbar-link-hover-color);
}

0 comments on commit 44eca40

Please sign in to comment.