1- <template lang=' pug' >
1+ <template lang=" pug" >
22 div#app .app
33 a#skip-link .sr-only-focusable ( href ='#content' ) Skip to main content.
44 header.main-header
2929 .social-links
3030 ul.inline-list.social-list
3131 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()}`' )
3333 component( :is ='item.icon' , :class ='`icon-${item.name.toLowerCase()}`' ) .icon
3434 span.sr-only {{ item.name }}
3535 main
4242 h2.social-header Follow us—
4343 ul.inline-list.social-list
4444 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()}`' )
4646 component( :is ='item.icon' , :class ='`icon-${item.name.toLowerCase()}`' ) .icon
4747 span.sr-only {{ item.name }}
4848 script( src ='https://identity.netlify.com/v1/netlify-identity-widget.js' )
@@ -76,6 +76,7 @@ import LogoGithub from '~/assets/images/icon-github.svg';
7676import LogoMeetup from ' ~/assets/images/icon-meetup.svg' ;
7777import LogoSlack from ' ~/assets/images/icon-slack.svg' ;
7878import LogoTwitter from ' ~/assets/images/icon-twitter.svg' ;
79+ import LogoMedium from ' ~/assets/images/icon-medium.svg' ;
7980
8081export default {
8182 components: {
@@ -102,6 +103,11 @@ export default {
102103 name: ' Facebook' ,
103104 link: ' https://hackforla-slack.herokuapp.com/' ,
104105 icon: LogoFacebook
106+ },
107+ {
108+ name: ' Medium' ,
109+ link: ' https://medium.com/hack-for-la' ,
110+ icon: LogoMedium
105111 }
106112 ],
107113 social: [
@@ -110,21 +116,26 @@ export default {
110116 link: ' https://www.meetup.com/hackforla/' ,
111117 icon: LogoMeetup
112118 },
113- {
114- name: ' Slack' ,
115- link: ' https://hackforla-slack.herokuapp.com/' ,
116- icon: LogoSlack
117- },
118119 {
119120 name: ' Github' ,
120121 link: ' https://github.com/hackforla' ,
121122 icon: LogoGithub
122123 },
124+ {
125+ name: ' Slack' ,
126+ link: ' https://hackforla-slack.herokuapp.com/' ,
127+ icon: LogoSlack
128+ },
123129 {
124130 name: ' Facebook' ,
125131 link: ' https://www.facebook.com/hackforla' ,
126132 icon: LogoFacebook
127133 },
134+ {
135+ name: ' Medium' ,
136+ link: ' https://medium.com/hack-for-la' ,
137+ icon: LogoMedium
138+ },
128139 {
129140 name: ' Twitter' ,
130141 link: ' https://twitter.com/HackForLA' ,
@@ -136,5 +147,4 @@ export default {
136147};
137148 </script >
138149
139- <style >
140- </style >
150+ <style ></style >
0 commit comments