Skip to content
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

feat: add bluesky icon #115

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
3 changes: 2 additions & 1 deletion demo/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ export default defineConfigWithTheme<ThemeConfig>({
socialLinks: [
{ icon: 'github', link: 'https://github.com/vuejs/vue' },
{ icon: 'x', link: 'https://twitter.com/vuejs' },
{ icon: 'discord', link: 'https://discord.com/invite/HBherRA' }
{ icon: 'discord', link: 'https://discord.com/invite/HBherRA' },
{ icon: 'bluesky', link: 'https://bsky.app/profile/vuejs.org' }
],

nav: [
Expand Down
2 changes: 2 additions & 0 deletions src/core/components/VTSocialLink.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import VTIconGitHub from './icons/VTIconGitHub.vue'
import VTIconLinkedIn from './icons/VTIconLinkedIn.vue'
import VTIconSlack from './icons/VTIconSlack.vue'
import VTIconX from './icons/VTIconX.vue'
import VTIconBluesky from './icons/VTIconBluesky.vue'
import VTIconLanguages from './icons/VTIconLanguages.vue'

const props = defineProps<{
Expand All @@ -24,6 +25,7 @@ const icons = {
slack: VTIconSlack,
twitter: VTIconX,
x: VTIconX,
bluesky: VTIconBluesky,
languages: VTIconLanguages
}
</script>
Expand Down
5 changes: 5 additions & 0 deletions src/core/components/icons/VTIconBluesky.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<template>
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24">
<path fill="currentColor" d="M12 10.8c-1.087-2.114-4.046-6.053-6.798-7.995C2.566.944 1.561 1.266.902 1.565C.139 1.908 0 3.08 0 3.768c0 .69.378 5.65.624 6.479c.815 2.736 3.713 3.66 6.383 3.364q.204-.03.415-.056q-.207.033-.415.056c-3.912.58-7.387 2.005-2.83 7.078c5.013 5.19 6.87-1.113 7.823-4.308c.953 3.195 2.05 9.271 7.733 4.308c4.267-4.308 1.172-6.498-2.74-7.078a9 9 0 0 1-.415-.056q.21.026.415.056c2.67.297 5.568-.628 6.383-3.364c.246-.828.624-5.79.624-6.478c0-.69-.139-1.861-.902-2.206c-.659-.298-1.664-.62-4.3 1.24C16.046 4.748 13.087 8.687 12 10.8"/>
</svg>
</template>
1 change: 1 addition & 0 deletions src/core/types/socialLink.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export type SocialLinkIcon =
| 'slack'
| 'twitter'
| 'x'
| 'bluesky'
| 'languages'

export type SocialLinkSize = 'small' | 'medium'