@@ -2,39 +2,39 @@ import Image from 'next/image';
22import { linksNav , linksSocial } from '@/utils/links' ;
33import NewsletterSubscribe from '@/components/NewsletterSubscribe' ;
44import Container from '@/components/containers/Container' ;
5- import S from './styles ' ;
5+ import styles from './Footer.module.scss ' ;
66
77export default function Footer ( ) {
88 return (
9- < S . Footer >
9+ < footer className = { styles . footer } >
1010 < NewsletterSubscribe />
11- < S . Inner >
12- < S . Logo href = '/' title = 'Go to the Homepage' >
11+ < Container className = { styles . inner } >
12+ < a className = { styles . logo } href = '/' title = 'Go to the Homepage' >
1313 < Image
1414 src = '/images/svg/logo.svg'
1515 height = { 250 }
1616 width = { 250 }
1717 alt = 'Our footer logo'
1818 />
19- </ S . Logo >
20- < S . NavSocialsContainer >
21- < S . Nav aria-label = 'Main' >
22- < S . NavList >
19+ </ a >
20+ < div className = { styles . navSocialsContainer } >
21+ < nav className = { styles . nav } aria-label = 'Main' >
22+ < ul className = { styles . navList } >
2323 { linksNav . map ( link => (
24- < S . NavItem key = { link . text } >
24+ < li className = { styles . navItem } key = { link . text } >
2525 < a href = { link . href } title = { link . text } >
2626 { link . text }
2727 </ a >
28- </ S . NavItem >
28+ </ li >
2929 ) ) }
30- </ S . NavList >
31- </ S . Nav >
30+ </ ul >
31+ </ nav >
3232 < div >
33- < S . SocialList >
33+ < ul className = { styles . socialList } >
3434 { linksSocial
3535 . filter ( link => link . isVisible )
3636 . map ( link => (
37- < S . SocialItem key = { link . text } >
37+ < li className = { styles . socialItem } key = { link . text } >
3838 < a href = { link . href } title = { link . text } target = '_blank' >
3939 < Image
4040 href = { link . href }
@@ -44,26 +44,26 @@ export default function Footer() {
4444 alt = { link . alt }
4545 />
4646 </ a >
47- </ S . SocialItem >
47+ </ li >
4848 ) ) }
49- </ S . SocialList >
49+ </ ul >
5050 </ div >
51- </ S . NavSocialsContainer >
52- </ S . Inner >
53- < S . BottomText >
54- < S . Copyright >
51+ </ div >
52+ </ Container >
53+ < Container className = { styles . bottomText } >
54+ < p className = { styles . copyright } >
5555 © Web Dev Path { new Date ( ) . getFullYear ( ) } . All rights reserved.
56- </ S . Copyright >
57- < S . Netlify >
56+ </ p >
57+ < p className = { styles . netlify } >
5858 This site is powered by
5959 < Image
6060 src = '/images/svg/logo-netlify-small-fullcolor-darkmode.svg'
6161 width = { 50 }
6262 height = { 50 }
6363 alt = 'Netlify Logo'
6464 />
65- </ S . Netlify >
66- </ S . BottomText >
67- </ S . Footer >
65+ </ p >
66+ </ Container >
67+ </ footer >
6868 ) ;
6969}
0 commit comments