Update get-contact-href.js

add codepen
This commit is contained in:
Rémi BRUGUIER
2019-09-08 19:33:06 +02:00
committed by GitHub
parent aadea63ef8
commit edf37bdd36

View File

@@ -36,6 +36,9 @@ const getContactHref = (name: string, contact: string) => {
case 'weibo':
href = `https://www.weibo.com/${contact}`;
break;
case 'codepen':
href = `https://www.codepen.io/${contact}`;
break;
default:
href = contact;
break;
@@ -44,4 +47,4 @@ const getContactHref = (name: string, contact: string) => {
return href;
};
export default getContactHref;
export default getContactHref;