File tree Expand file tree Collapse file tree 2 files changed +34
-32
lines changed
Expand file tree Collapse file tree 2 files changed +34
-32
lines changed Original file line number Diff line number Diff line change 11<script >
22import feather from ' feather-icons' ;
33import FooterCopyright from ' ./FooterCopyright.vue' ;
4+ import { socialLinks } from ' ../../data/socialLinks' ;
45
56export default {
67 components: { FooterCopyright },
78 data () {
89 return {
9- socials: [
10- {
11- id: 1 ,
12- name: ' Website' ,
13- icon: ' globe' ,
14- url: ' https://www.stoman.me/' ,
15- },
16- {
17- id: 2 ,
18- name: ' GitHub' ,
19- icon: ' github' ,
20- url: ' https://github.com/realstoman' ,
21- },
22- {
23- id: 3 ,
24- name: ' Twitter' ,
25- icon: ' twitter' ,
26- url: ' https://twitter.com/realstoman' ,
27- },
28- {
29- id: 4 ,
30- name: ' LinkedIn' ,
31- icon: ' linkedin' ,
32- url: ' https://www.linkedin.com/in/realstoman' ,
33- },
34- {
35- id: 5 ,
36- name: ' YouTube' ,
37- icon: ' youtube' ,
38- url: ' https://www.youtube.com/c/realstoman' ,
39- },
40- ],
10+ socials: socialLinks,
4111 };
4212 },
4313 mounted () {
Original file line number Diff line number Diff line change 1+ export const socialLinks = [
2+ {
3+ id : 1 ,
4+ name : 'Website' ,
5+ icon : 'globe' ,
6+ url : 'https://www.stoman.me/' ,
7+ } ,
8+ {
9+ id : 2 ,
10+ name : 'GitHub' ,
11+ icon : 'github' ,
12+ url : 'https://github.com/realstoman' ,
13+ } ,
14+ {
15+ id : 3 ,
16+ name : 'Twitter' ,
17+ icon : 'twitter' ,
18+ url : 'https://twitter.com/realstoman' ,
19+ } ,
20+ {
21+ id : 4 ,
22+ name : 'LinkedIn' ,
23+ icon : 'linkedin' ,
24+ url : 'https://www.linkedin.com/in/realstoman' ,
25+ } ,
26+ {
27+ id : 5 ,
28+ name : 'YouTube' ,
29+ icon : 'youtube' ,
30+ url : 'https://www.youtube.com/c/realstoman' ,
31+ } ,
32+ ] ;
You can’t perform that action at this time.
0 commit comments