File tree Expand file tree Collapse file tree 5 files changed +66
-15
lines changed Expand file tree Collapse file tree 5 files changed +66
-15
lines changed Original file line number Diff line number Diff line change 1
1
import Link from 'next/link' ;
2
2
import footerStyles from '@/styles/Footer.module.scss' ;
3
3
import { linksNav } from '@/utils/links' ;
4
+ import { linksSocial } from '@/utils/links' ;
4
5
import NewsletterSubscribe from '@/components/mailchimp/NewsletterSubscribe' ;
5
6
import Image from 'next/image' ;
6
7
import Container from '@/components/containers/Container' ;
@@ -9,7 +10,19 @@ export default function Footer() {
9
10
return (
10
11
< footer className = { footerStyles . footer } >
11
12
< NewsletterSubscribe />
13
+
12
14
< Container className = { footerStyles . footer__inner } >
15
+ < Link href = '/' >
16
+ < a className = { footerStyles . footer__logo } title = 'Go to the Homepage' >
17
+ < Image
18
+ src = '/images/svg/logo.svg'
19
+ height = { 250 }
20
+ width = { 250 }
21
+ alt = 'Logo'
22
+ />
23
+ </ a >
24
+ </ Link >
25
+
13
26
< nav className = { footerStyles . footer__nav } aria-label = 'Main' >
14
27
< ul className = { footerStyles . footer__navList } >
15
28
{ linksNav . map ( link => (
@@ -21,16 +34,21 @@ export default function Footer() {
21
34
) ) }
22
35
</ ul >
23
36
</ nav >
24
- < Link href = '/' >
25
- < a className = { footerStyles . footer__logo } title = 'Go to the Homepage' >
26
- < Image
27
- src = '/images/svg/logo.svg'
28
- height = { 250 }
29
- width = { 250 }
30
- alt = 'Logo'
31
- />
32
- </ a >
33
- </ Link >
37
+
38
+ < div >
39
+ < ul >
40
+ { linksSocial . map ( link => (
41
+ < li key = { link . id } >
42
+ < Image
43
+ src = { link . src }
44
+ height = { 47 }
45
+ width = { 47 }
46
+ />
47
+ </ li >
48
+ ) ) }
49
+ </ ul >
50
+ </ div >
51
+
34
52
</ Container >
35
53
< Container >
36
54
< p className = { footerStyles . footer__copyright } >
Original file line number Diff line number Diff line change @@ -12,14 +12,20 @@ export const linksNav = [
12
12
export const linksSocial = [
13
13
{
14
14
id : 1 ,
15
- text : 'Github ' ,
15
+ text : 'LinkedIn ' ,
16
16
href : '#' ,
17
- src : '/images/svg/iconmonstr-github .svg' ,
17
+ src : '/images/svg/LinkedIn .svg' ,
18
18
} ,
19
19
{
20
20
id : 2 ,
21
- text : 'Twitter' ,
22
- href : '#' ,
23
- src : '/images/svg/iconmonstr-twitter.svg' ,
21
+ text : 'YouTube' ,
22
+ href : 'https://www.youtube.com/channel/UCCLwmU7r4IUWZOtH3bCEN6g' ,
23
+ src : '/images/svg/YouTube.svg' ,
24
+ } ,
25
+ {
26
+ id : 3 ,
27
+ text : 'Github' ,
28
+ href : 'https://github.com/Web-Dev-Path' ,
29
+ src : '/images/svg/GitHub.svg' ,
24
30
} ,
25
31
] ;
You can’t perform that action at this time.
0 commit comments