File tree Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ export default function Footer() {
34
34
</ nav >
35
35
< div className = { footerStyles . footer__socialIcons } >
36
36
< ul className = { footerStyles . footer__socialList } >
37
- { linksSocial . map ( link => (
37
+ { linksSocial . filter ( link => link . isVisible ) . map ( link => (
38
38
< li className = { footerStyles . footer__socialItem } key = { link . text } >
39
39
< Link href = { link . href } >
40
40
< a title = { link . text } target = '_blank' >
Original file line number Diff line number Diff line change 72
72
margin : revert ;
73
73
padding : 0 ;
74
74
75
- li :first-child {
76
- display : none ;
77
- }
78
-
79
75
@include tablet {
80
76
justify-content : end ;
81
77
}
Original file line number Diff line number Diff line change @@ -15,17 +15,20 @@ export const linksSocial = [
15
15
text : 'LinkedIn' ,
16
16
href : '#' ,
17
17
src : '/images/svg/LinkedIn.svg' ,
18
+ isVisible : false ,
18
19
} ,
19
20
{
20
21
id : 2 ,
21
22
text : 'YouTube' ,
22
23
href : 'https://www.youtube.com/channel/UCCLwmU7r4IUWZOtH3bCEN6g' ,
23
24
src : '/images/svg/YouTube.svg' ,
25
+ isVisible : true ,
24
26
} ,
25
27
{
26
28
id : 3 ,
27
29
text : 'GitHub' ,
28
30
href : 'https://github.com/Web-Dev-Path' ,
29
31
src : '/images/svg/GitHub.svg' ,
32
+ isVisible : true ,
30
33
} ,
31
34
] ;
You can’t perform that action at this time.
0 commit comments