1
- <template lang=' pug' >
1
+ <template lang=" pug" >
2
2
div#app .app
3
3
a#skip-link .sr-only-focusable ( href ='#content' ) Skip to main content.
4
4
header.main-header
29
29
.social-links
30
30
ul.inline-list.social-list
31
31
li( v-for ='item in headerSocial' )
32
- a( :href ='item.link' , target ='_blank' ) . js-social-link
32
+ a( :href ='item.link' , target ='_blank' , :class = '` js-social-link js-social-link-${item.name.toLowerCase()}`' )
33
33
component( :is ='item.icon' , :class ='`icon-${item.name.toLowerCase()}`' ) .icon
34
34
span.sr-only {{ item.name }}
35
35
main
42
42
h2.social-header Follow us—
43
43
ul.inline-list.social-list
44
44
li( v-for ='item in social' )
45
- a( :href ='item.link' , target ='_blank' ) . js-social-link
45
+ a( :href ='item.link' , target ='_blank' , :class = '` js-social-link js-social-link-${item.name.toLowerCase()}`' )
46
46
component( :is ='item.icon' , :class ='`icon-${item.name.toLowerCase()}`' ) .icon
47
47
span.sr-only {{ item.name }}
48
48
script( src ='https://identity.netlify.com/v1/netlify-identity-widget.js' )
@@ -76,6 +76,7 @@ import LogoGithub from '~/assets/images/icon-github.svg';
76
76
import LogoMeetup from ' ~/assets/images/icon-meetup.svg' ;
77
77
import LogoSlack from ' ~/assets/images/icon-slack.svg' ;
78
78
import LogoTwitter from ' ~/assets/images/icon-twitter.svg' ;
79
+ import LogoMedium from ' ~/assets/images/icon-medium.svg' ;
79
80
80
81
export default {
81
82
components: {
@@ -102,6 +103,11 @@ export default {
102
103
name: ' Facebook' ,
103
104
link: ' https://hackforla-slack.herokuapp.com/' ,
104
105
icon: LogoFacebook
106
+ },
107
+ {
108
+ name: ' Medium' ,
109
+ link: ' https://medium.com/hack-for-la' ,
110
+ icon: LogoMedium
105
111
}
106
112
],
107
113
social: [
@@ -110,21 +116,26 @@ export default {
110
116
link: ' https://www.meetup.com/hackforla/' ,
111
117
icon: LogoMeetup
112
118
},
113
- {
114
- name: ' Slack' ,
115
- link: ' https://hackforla-slack.herokuapp.com/' ,
116
- icon: LogoSlack
117
- },
118
119
{
119
120
name: ' Github' ,
120
121
link: ' https://github.com/hackforla' ,
121
122
icon: LogoGithub
122
123
},
124
+ {
125
+ name: ' Slack' ,
126
+ link: ' https://hackforla-slack.herokuapp.com/' ,
127
+ icon: LogoSlack
128
+ },
123
129
{
124
130
name: ' Facebook' ,
125
131
link: ' https://www.facebook.com/hackforla' ,
126
132
icon: LogoFacebook
127
133
},
134
+ {
135
+ name: ' Medium' ,
136
+ link: ' https://medium.com/hack-for-la' ,
137
+ icon: LogoMedium
138
+ },
128
139
{
129
140
name: ' Twitter' ,
130
141
link: ' https://twitter.com/HackForLA' ,
@@ -136,5 +147,4 @@ export default {
136
147
};
137
148
</script >
138
149
139
- <style >
140
- </style >
150
+ <style ></style >
0 commit comments