Skip to content

Commit 4d4ced1

Browse files
committed
cleaned up code and any comments
1 parent 3fe6589 commit 4d4ced1

File tree

3 files changed

+3
-24
lines changed

3 files changed

+3
-24
lines changed

components/layout/Footer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export default function Footer() {
3636
<div className={footerStyles.footer__socialIcons}>
3737
<ul className={footerStyles.footer__socialList}>
3838
{linksSocial.map(link => (
39-
<li className={footerStyles.footer__socialItem} key={link.id}>
39+
<li className={footerStyles.footer__socialItem} key={link.text}>
4040
<Link href={link.href}>
4141
<a title={link.text} target='_blank'>
4242
<Image

styles/Footer.module.scss

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131

3232
@include large-desktop {
3333
font-size: 1.5rem;
34-
order: 2;
3534
}
3635
}
3736

@@ -40,7 +39,6 @@
4039

4140
@include tablet {
4241
display: flex;
43-
flex-direction: row;
4442
}
4543
}
4644

@@ -68,24 +66,10 @@
6866
}
6967
}
7068

71-
//social
72-
73-
&__socialIcons {
74-
75-
@include tablet {
76-
77-
}
78-
79-
@include large-desktop {
80-
81-
}
82-
}
83-
8469
&__socialList {
8570
display: flex;
8671
justify-content: center;
87-
margin: 0;
88-
margin-bottom: revert;
72+
margin: 0 0 revert;
8973
padding: 0;
9074

9175
li:first-child {
@@ -105,11 +89,6 @@
10589
max-width: 68px;
10690
max-width: 100%;
10791
}
108-
109-
@include large-desktop {
110-
max-width: 100%;
111-
padding-left: 28px;
112-
}
11392
}
11493

11594
&__copyright {

utils/links.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export const linksSocial = [
2424
},
2525
{
2626
id: 3,
27-
text: 'Github',
27+
text: 'GitHub',
2828
href: 'https://github.com/Web-Dev-Path',
2929
src: '/images/svg/GitHub.svg',
3030
},

0 commit comments

Comments
 (0)