mirror of
https://github.com/mastermindzh/rickvanlieshout.com
synced 2024-12-27 07:18:17 +01:00
Update get-contact-href.js
add codepen
This commit is contained in:
parent
aadea63ef8
commit
edf37bdd36
@ -36,6 +36,9 @@ const getContactHref = (name: string, contact: string) => {
|
|||||||
case 'weibo':
|
case 'weibo':
|
||||||
href = `https://www.weibo.com/${contact}`;
|
href = `https://www.weibo.com/${contact}`;
|
||||||
break;
|
break;
|
||||||
|
case 'codepen':
|
||||||
|
href = `https://www.codepen.io/${contact}`;
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
href = contact;
|
href = contact;
|
||||||
break;
|
break;
|
||||||
@ -44,4 +47,4 @@ const getContactHref = (name: string, contact: string) => {
|
|||||||
return href;
|
return href;
|
||||||
};
|
};
|
||||||
|
|
||||||
export default getContactHref;
|
export default getContactHref;
|
||||||
|
Loading…
Reference in New Issue
Block a user