File tree 1 file changed +15
-8
lines changed
src/.vuepress/theme/components/ui
1 file changed +15
-8
lines changed Original file line number Diff line number Diff line change 1
1
<template >
2
2
<a class =" social-icon" :href =" link" :title =" type" :class =" extraClass" >
3
- <i class =" fab " :class =" iconClass" />
3
+ <i class =" fa " :class =" iconClass" />
4
4
<span class =" sr-only" >{{ type }}</span >
5
5
</a >
6
6
</template >
@@ -15,7 +15,7 @@ const SOCIAL_ICON_CLASS_MAP = {
15
15
Facebook: ' fa-facebook-square' ,
16
16
Instagram: ' fa-instagram' ,
17
17
CodePen: ' fa-codepen' ,
18
- Medium: ' fa-medium-m '
18
+ Medium: ' fa-medium'
19
19
}
20
20
21
21
export default {
@@ -37,7 +37,7 @@ export default {
37
37
},
38
38
39
39
computed: {
40
- iconClass () {
40
+ iconClass () {
41
41
return SOCIAL_ICON_CLASS_MAP [this .type ]
42
42
}
43
43
}
@@ -46,23 +46,30 @@ export default {
46
46
47
47
<style lang="scss" scoped>
48
48
.fa {
49
- & -github , & -codepen , & -envelope {
49
+ & -github ,
50
+ & -codepen ,
51
+ & -envelope {
50
52
color : #000 ;
51
53
}
52
54
53
- & -twitter , & -twitter-square {
55
+ & -twitter ,
56
+ & -twitter-square {
54
57
color : #1da1f3 ;
55
58
}
56
59
57
- & -linkedin , & -linkedin-square {
60
+ & -linkedin ,
61
+ & -linkedin-square {
58
62
color : #0077b5 ;
59
63
}
60
64
61
- & -facebook , & -facebook-square {
65
+ & -facebook ,
66
+ & -facebook-square {
62
67
color : #3b5998 ;
63
68
}
64
69
65
- & -youtube , & -youtube-play , & -youtube-square {
70
+ & -youtube ,
71
+ & -youtube-play ,
72
+ & -youtube-square {
66
73
color : #f00 ;
67
74
}
68
75
You can’t perform that action at this time.
0 commit comments