mirror of
https://github.com/mastermindzh/rickvanlieshout.com
synced 2024-12-26 14:59:14 +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':
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user