feat: add youtube, facebook, whatsapp as social platform option (#521)

This commit is contained in:
NeedNotToKnow
2023-05-11 21:38:10 +01:00
committed by GitHub
parent 174255f7ec
commit 89823bb424
4 changed files with 39 additions and 0 deletions
+15
View File
@@ -94,6 +94,21 @@ const syncMap: {
icon: "/assets/social/keybase.png",
url: "https://keybase.io/{username}",
},
youtube: {
name: "Youtube",
icon: "/assets/social/youtube.svg",
url: "https://youtube.com/@{username}",
},
facebook: {
name: "Facebook",
icon: "/assets/social/facebook.svg",
url: "https://facebook.com/{username}",
},
whatsapp: {
name: "Whatsapp",
icon: "/assets/social/whatsapp.svg",
url: "https://wa.me/{username}",
},
}
export const Platform: React.FC<{