From 0eacd163eb12b4717fd0e6f4f782e9da3cc77ab9 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Sun, 11 Jun 2023 21:51:58 +0100 Subject: [PATCH] feat: add social icon to tweet --- src/components/global/SocialPost.vue | 30 +++++++++++++++++----------- src/content/blog/open-invitation.md | 2 +- 2 files changed, 19 insertions(+), 13 deletions(-) diff --git a/src/components/global/SocialPost.vue b/src/components/global/SocialPost.vue index 884bee3d..db756604 100644 --- a/src/components/global/SocialPost.vue +++ b/src/components/global/SocialPost.vue @@ -2,6 +2,7 @@ defineProps({ link: String, datetime: String, + social: String, }) @@ -11,19 +12,24 @@ defineProps({
- -
- Link +
+ + + +
+ + +
diff --git a/src/content/blog/open-invitation.md b/src/content/blog/open-invitation.md index aa9e64be..d67f99fa 100644 --- a/src/content/blog/open-invitation.md +++ b/src/content/blog/open-invitation.md @@ -9,7 +9,7 @@ description: If you want to have a 10-minute chat about anything, then I would l A few months ago I tweeted out an open invitation for anyone new to contributing to open source. -::SocialPost{link=https://twitter.com/danielcroe/status/1630239320375463937 datetime=2023-02-27T16:11:57.000Z} +::SocialPost{link=https://twitter.com/danielcroe/status/1630239320375463937 datetime=2023-02-27T16:11:57.000Z social=twitter} If you're new to contributing to open source or [@nuxt_js](https://twitter.com/nuxt_js), and want to, let me know. I'd be really happy to have an informal chat, pre-PR review, etc. ❤️ :: -- knotmirror 0.0.1