File tree Expand file tree Collapse file tree 13 files changed +2639
-173
lines changed Expand file tree Collapse file tree 13 files changed +2639
-173
lines changed Original file line number Diff line number Diff line change 1
1
import Link from "next/link" ;
2
- import footerStyles from "../styles/Footer.module.css" ;
3
- import layoutStyles from "../styles/Layout.module.css" ;
2
+ import footerStyles from "../styles/Footer.module.scss" ;
4
3
import { linksNav , linksSocial } from "../utils/links" ;
5
4
6
5
export default function Footer ( ) {
7
6
return (
8
7
< footer className = { footerStyles . footer } >
9
8
< div
10
- className = { ` ${ layoutStyles . widthContainer } ${ footerStyles . container } ` }
9
+ className = { footerStyles . container }
11
10
>
12
11
< div className = { footerStyles . columnLeft } >
13
12
< ul className = { footerStyles . footerList } >
14
13
{ linksNav . map ( ( link ) => (
15
14
< li className = { footerStyles . footerItem } key = { link . href } >
16
- < Link href = { link . href } >
17
- < a > { link . text } </ a >
15
+ < Link href = { link . href } >
16
+ < a title = { link . text } > { link . text } </ a >
18
17
</ Link >
19
18
</ li >
20
19
) ) }
@@ -50,9 +49,11 @@ export default function Footer() {
50
49
</ div >
51
50
</ div >
52
51
</ div >
53
- < p className = { `${ layoutStyles . widthContainer } ${ footerStyles . copyright } ` } >
54
- Web Dev Path 2021. All rights reserved.
55
- </ p >
52
+ < div className = { footerStyles . copyright } >
53
+ < p >
54
+ Web Dev Path 2021. All rights reserved.
55
+ </ p >
56
+ </ div >
56
57
</ footer >
57
58
) ;
58
59
}
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ export default function Layout({ children }) {
6
6
return (
7
7
< >
8
8
< Nav />
9
- < div className = { ` ${ styles . widthContainer } ${ styles . container } ` } >
9
+ < div className = { styles . container } >
10
10
< main className = { styles . main } > { children } </ main >
11
11
</ div >
12
12
< Footer />
Original file line number Diff line number Diff line change 1
1
import Link from "next/link" ;
2
2
import { useEffect , useState } from "react" ;
3
3
import styles from "../styles/Nav.module.css" ;
4
- import layoutStyles from "../styles/Layout.module.css" ;
5
4
import { linksNav } from "../utils/links" ;
6
5
7
6
export default function Nav ( ) {
@@ -24,7 +23,7 @@ export default function Nav() {
24
23
return (
25
24
< header className = { styles . header } >
26
25
< div
27
- className = { `${ styles . navContainer } ${ styles . row } ${ layoutStyles . widthContainer } ` }
26
+ className = { `${ styles . navContainer } ${ styles . row } ` }
28
27
>
29
28
< div className = { styles . align } >
30
29
< Link href = "/" >
@@ -47,7 +46,7 @@ export default function Nav() {
47
46
{ linksNav . map ( ( link ) => (
48
47
< li className = { styles . navItem } key = { link . href } >
49
48
< Link href = { link . href } >
50
- < a className = { styles . navLink } > { link . text } </ a >
49
+ < a className = { styles . navLink } title = { link . text } > { link . text } </ a >
51
50
</ Link >
52
51
</ li >
53
52
) ) }
You can’t perform that action at this time.
0 commit comments