Skip to content

Commit

Permalink
Add bluesky sharing + social icons
Browse files Browse the repository at this point in the history
  • Loading branch information
deeheber committed Nov 22, 2024
1 parent f4211a6 commit 9a373df
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/assets/socialIcons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,13 @@ const socialIcons = {
q-43 -8 -67 -30q-29 -25 -35 -72q-2 -14 -2 -29l25 6q31 6 65 10q48 7 93 9q42 2 92 -2q32 -2 88 -9t107 -30q49 -23 81.5 -54.5t38.5 -63.5q9 -45 13 -109q4 -46 5 -97v-41q0 -56 -14 -103q-11 -40 -32 -73q-16 -26 -38 -47q-15 -15 -32 -25q-12 -8 -14 -8
q-46 -22 -127 -33q-74 -10 -166 -11h-3zM367 267q73 0 109 56l24 39l24 -39q36 -56 109 -56q63 0 101 43t38 117v239h-95v-232q0 -74 -61 -74q-69 0 -69 88v127h-94v-127q0 -88 -69 -88q-61 0 -61 74v232h-95v-239q0 -74 38 -117t101 -43z" />
</svg>`,
Bluesky: `<svg class="icon-tabler" viewBox="0 0 55 55" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1">
<path fill="currentColor" d="M27.5,25.73c-1.6-3.1-5.94-8.89-9.98-11.74c-3.87-2.73-5.35-2.26-6.31-1.82c-1.12,0.51-1.32,2.23-1.32,3.24
c0,1.01,0.55,8.3,0.92,9.51c1.2,4.02,5.45,5.38,9.37,4.94c0.2-0.03,0.4-0.06,0.61-0.08c-0.2,0.03-0.41,0.06-0.61,0.08
c-5.74,0.85-10.85,2.94-4.15,10.39c7.36,7.62,10.09-1.63,11.49-6.33c1.4,4.69,3.01,13.61,11.35,6.33c6.27-6.33,1.72-9.54-4.02-10.39
c-0.2-0.02-0.41-0.05-0.61-0.08c0.21,0.03,0.41,0.05,0.61,0.08c3.92,0.44,8.18-0.92,9.37-4.94c0.36-1.22,0.92-8.5,0.92-9.51
c0-1.01-0.2-2.73-1.32-3.24c-0.97-0.44-2.44-0.91-6.31,1.82C33.44,16.85,29.1,22.63,27.5,25.73z"/>
</svg>`,
}

export default socialIcons
5 changes: 5 additions & 0 deletions src/components/ShareLinks.astro
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ const shareLinks = [
href: "https://www.linkedin.com/shareArticle?mini=true&url=",
linkTitle: "Share this post on LinkedIn",
},
{
name: "Bluesky",
href: "https://bsky.app/intent/compose?text=",
linkTitle: `Share this post on Bluesky`,
},
{
name: "X",
href: "https://x.com/intent/tweet?url=",
Expand Down
6 changes: 6 additions & 0 deletions src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,12 @@ export const SOCIALS: SocialObjects = [
linkTitle: `Send an email to ${SITE.title}`,
active: false,
},
{
name: "Bluesky",
href: "https://bsky.app/profile/danielleheberling.xyz",
linkTitle: `${SITE.title} on Bluesky`,
active: true,
},
{
name: "X",
href: "https://x.com/deeheber",
Expand Down

0 comments on commit 9a373df

Please sign in to comment.