mirror of
https://github.com/mastermindzh/rickvanlieshout.com
synced 2025-01-14 07:41:50 +01:00
Update get-icon.js
add codepen
This commit is contained in:
parent
bb292044f1
commit
3d81a8e6bd
@ -41,6 +41,9 @@ const getIcon = (name: string) => {
|
|||||||
case 'weibo':
|
case 'weibo':
|
||||||
icon = ICONS.WEIBO;
|
icon = ICONS.WEIBO;
|
||||||
break;
|
break;
|
||||||
|
case 'codepen':
|
||||||
|
icon = ICONS.CODEPEN;
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
icon = {};
|
icon = {};
|
||||||
break;
|
break;
|
||||||
@ -49,4 +52,4 @@ const getIcon = (name: string) => {
|
|||||||
return icon;
|
return icon;
|
||||||
};
|
};
|
||||||
|
|
||||||
export default getIcon;
|
export default getIcon;
|
||||||
|
Loading…
Reference in New Issue
Block a user