Skip to content
This repository was archived by the owner on May 13, 2024. It is now read-only.

Commit ca0590c

Browse files
billyyyyy3320ulivz
authored andcommitted
feat: add contact type 'instagram' and 'linkedin' (#10)
1 parent 7d1cc3d commit ca0590c

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

components/Footer.vue

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,17 @@
2626
GithubIcon,
2727
FacebookIcon,
2828
TwitterIcon,
29+
InstagramIcon,
30+
LinkedinIcon
2931
} from 'vue-feather-icons'
3032
3133
export default {
3234
components: {
3335
GithubIcon,
3436
FacebookIcon,
3537
TwitterIcon,
38+
InstagramIcon,
39+
LinkedinIcon
3640
},
3741
3842
methods: {
@@ -44,6 +48,10 @@
4448
return 'FacebookIcon'
4549
case 'twitter':
4650
return 'TwitterIcon'
51+
case 'instagram':
52+
return 'InstagramIcon'
53+
case 'linkedin':
54+
return 'LinkedinIcon'
4755
default:
4856
return ''
4957
}

docs/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,8 @@ For now `ContactType` supports following enums:
8989
- github
9090
- facebook
9191
- twitter
92+
- instagram
93+
- linkedin
9294

9395
::: tip
9496
Welcome contribution of adding more built-in contact type.

0 commit comments

Comments
 (0)