From 4aca3c870332ffabef8c44992fd780ffb01b2302 Mon Sep 17 00:00:00 2001 From: jbloom Date: Fri, 15 Nov 2024 09:55:32 -0800 Subject: [PATCH] add `bluesky` icon as option for people This pull request makes it possible to add a Bluesky icon just like a Twitter (X) icon. @WillHannon-MCB, can you review and merge if OK? --- .vitepress/theme/icons.css | 4 ++++ README.md | 2 +- people/jesse-bloom.md | 4 +++- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.vitepress/theme/icons.css b/.vitepress/theme/icons.css index 894a69b..03516af 100644 --- a/.vitepress/theme/icons.css +++ b/.vitepress/theme/icons.css @@ -33,6 +33,10 @@ --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.901 1.153h3.68l-8.04 9.19L24 22.846h-7.406l-5.8-7.584-6.638 7.584H.474l8.6-9.83L0 1.154h7.594l5.243 6.932ZM17.61 20.644h2.039L6.486 3.24H4.298Z'/%3E%3C/svg%3E"); } +.i-social-bluesky { + --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath 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.364c.136-.02.275-.039.415-.056c-.138.022-.276.04-.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.078a8.741 8.741 0 0 1-.415-.056c.14.017.279.036.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'/%3E%3C/svg%3E"); +} + .i-social-orcid { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0C5.372 0 0 5.372 0 12s5.372 12 12 12 12-5.372 12-12S18.628 0 12 0zM7.369 4.378c.525 0 .947.431.947.947s-.422.947-.947.947a.95.95 0 0 1-.947-.947c0-.525.422-.947.947-.947zm-.722 3.038h1.444v10.041H6.647V7.416zm3.562 0h3.9c3.712 0 5.344 2.653 5.344 5.025 0 2.578-2.016 5.025-5.325 5.025h-3.919V7.416zm1.444 1.303v7.444h2.297c3.272 0 4.022-2.484 4.022-3.722 0-2.016-1.284-3.722-4.097-3.722h-2.222z'/%3E%3C/svg%3E"); } diff --git a/README.md b/README.md index 26e05b5..83a99ce 100644 --- a/README.md +++ b/README.md @@ -93,7 +93,7 @@ name: "Will Hannon" # <-------------- Your preferred name image: "/assets/people/will-hannon.jpeg" # <-------------- The path to an image of you (a link also works) title: "Data Scientist" # <-------------- Your title. Please be as consistent as possible category: "Staff" # <-------------- One of [Graduate Students, Postdocs, or Staff] -links: # <-------------- Links to your socials. Icons should be one of [github, linkedin, orcid, twitter, email, scholar, or website] +links: # <-------------- Links to your socials. Icons should be one of [github, linkedin, orcid, twitter, bluesky, email, scholar, or website] - link: "https://github.com/WillHannon-MCB" icon: "github" - link: "https://www.linkedin.com/in/williamhannon/" diff --git a/people/jesse-bloom.md b/people/jesse-bloom.md index 942a40e..7174510 100644 --- a/people/jesse-bloom.md +++ b/people/jesse-bloom.md @@ -7,8 +7,10 @@ category: "Faculty" links: - link: "https://github.com/jbloom" icon: "github" - - link: "https://twitter.com/jbloom_lab?lang=en" + - link: "https://twitter.com/jbloom_lab" icon: "twitter" + - link: "https://bsky.app/profile/jbloomlab.bsky.social" + icon: "bluesky" - link: "jbloom@fredhutch.org" icon: "email" - link: "https://scholar.google.com/citations?user=S12x_eQAAAAJ"