Skip to content

Commit 299f8af

Browse files
committedFeb 7, 2022
add twitter
1 parent 500fb02 commit 299f8af

File tree

9 files changed

+30
-30
lines changed

9 files changed

+30
-30
lines changed
 

‎components/Footer/footer.module.scss

+1
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
@media (prefers-color-scheme: dark) {
3333
fill: white;
3434
}
35+
width: 24px;
3536
}
3637
}
3738
}

‎components/Footer/index.js

+19-14
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,45 @@
1+
import { BsGithub, BsLinkedin, BsFillRssFill, BsTwitter } from 'react-icons/bs';
2+
import { SiDevdotto } from 'react-icons/si';
13
import styles from './footer.module.scss';
2-
import DevTo from '../../public/assets/images/devto.svg';
3-
import GitHub from '../../public/assets/images/github.svg';
4-
import LinkedIn from '../../public/assets/images/linkedin.svg';
5-
import Rss from '../../public/assets/images/rss.svg';
64

75
export default function Footer() {
86
return (
97
<div className={styles.footer}>
108
<div className={styles.footer__links}>
11-
<a
12-
className={styles.footer__link}
13-
aria-label='DEV.to'
14-
href='https://dev.to/khenhey'
15-
>
16-
<DevTo width='24px' height='24px' alt='DEV.to' />
17-
</a>
189
<a
1910
className={styles.footer__link}
2011
aria-label='GitHub'
2112
href='https://github.com/khendrikse'
2213
>
23-
<GitHub width='24px' height='24px' alt='GitHub' />
14+
<BsGithub size='24px' alt='GitHub' />
2415
</a>
2516
<a
2617
className={styles.footer__link}
2718
aria-label='linkedin'
2819
href='https://www.linkedin.com/in/karinhendrikse/'
2920
>
30-
<LinkedIn width='24px' height='24px' alt='LinkedIn' />
21+
<BsLinkedin size='24px' alt='LinkedIn' />
22+
</a>
23+
<a
24+
className={styles.footer__link}
25+
aria-label='Twitter'
26+
href='https://twitter.com/k_henhey'
27+
>
28+
<BsTwitter size='24px' alt='Twitter' />
29+
</a>
30+
<a
31+
className={styles.footer__link}
32+
aria-label='DEV.to'
33+
href='https://dev.to/khenhey'
34+
>
35+
<SiDevdotto size='24px' alt='DEV.to' />
3136
</a>
3237
<a
3338
className={styles.footer__link}
3439
aria-label='RSS feed'
3540
href='https://khendrikse.github.io/feeds/feed.xml'
3641
>
37-
<Rss width='24px' height='24px' alt='RSS' />
42+
<BsFillRssFill size='24px' alt='RSS' />
3843
</a>
3944
© {new Date().getFullYear()} Karin Hendrikse
4045
</div>

‎components/Navbar/index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* eslint-disable jsx-a11y/anchor-is-valid */
22
import Link from 'next/link';
3+
import { BsFillRssFill } from 'react-icons/bs';
34
import styles from './navbar.module.scss';
4-
import Rss from '../../public/assets/images/rss.svg';
55

66
// TODO: current page styling for links
77

@@ -42,7 +42,7 @@ export default function Header() {
4242
aria-label='RSS feed'
4343
href='https://khendrikse.github.io/feeds/feed.xml'
4444
>
45-
<Rss width='14px' height='14px' alt='RSS' />
45+
<BsFillRssFill size='14px' alt='RSS' />
4646
</a>
4747
</li>
4848
</ul>

‎package.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
"dev": "next dev -p 8080",
77
"build": "next build",
88
"start": "next start",
9-
"test": "jest"
9+
"test": "jest",
10+
"lint": "eslint ."
1011
},
1112
"dependencies": {
1213
"@babel/eslint-parser": "^7.16.5",
@@ -27,6 +28,7 @@
2728
"raw-loader": "^4.0.1",
2829
"react": "^17.0.2",
2930
"react-dom": "^17.0.2",
31+
"react-icons": "^4.3.1",
3032
"react-markdown": "^8.0.0",
3133
"react-syntax-highlighter": "^15.4.5",
3234
"remark-gfm": "^3.0.1",

‎public/assets/images/devto.svg

-1
This file was deleted.

‎public/assets/images/github.svg

-6
This file was deleted.

‎public/assets/images/linkedin.svg

-3
This file was deleted.

‎public/assets/images/rss.svg

-3
This file was deleted.

‎yarn.lock

+5
Original file line numberDiff line numberDiff line change
@@ -6891,6 +6891,11 @@ react-dom@^17.0.2:
68916891
object-assign "^4.1.1"
68926892
scheduler "^0.20.2"
68936893

6894+
react-icons@^4.3.1:
6895+
version "4.3.1"
6896+
resolved "https://registry.yarnpkg.com/react-icons/-/react-icons-4.3.1.tgz#2fa92aebbbc71f43d2db2ed1aed07361124e91ca"
6897+
integrity sha512-cB10MXLTs3gVuXimblAdI71jrJx8njrJZmNMEMC+sQu5B/BIOmlsAjskdqpn81y8UBVEGuHODd7/ci5DvoSzTQ==
6898+
68946899
react-is@^16.13.1:
68956900
version "16.13.1"
68966901
resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.13.1.tgz#789729a4dc36de2999dc156dd6c1d9c18cea56a4"

0 commit comments

Comments
 (0)
Please sign in to comment.