Skip to content

Commit 04bc148

Browse files
committed
fix: 🎨 updated Footer component to use react-icons for social media icons
1 parent 79d13b2 commit 04bc148

File tree

1 file changed

+24
-14
lines changed

1 file changed

+24
-14
lines changed

src/components/Footer.js

Lines changed: 24 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,16 @@ import cn from 'classnames';
66
import * as css from './Footer.module.css';
77

88
import Logo from '../images/logo.svg';
9-
import Github from '../images/github.svg';
10-
import Twitch from '../images/twitch.svg';
11-
import Nebula from '../images/nebula.svg';
12-
import Twitter from '../images/twitter.svg';
13-
import Discord from '../images/discord.svg';
14-
import Youtube from '../images/youtube.svg';
15-
import Instagram from '../images/instagram.svg';
9+
10+
import {
11+
FaGithub,
12+
FaTwitch,
13+
FaTwitter,
14+
FaDiscord,
15+
FaYoutube,
16+
FaInstagram
17+
} from 'react-icons/fa6';
18+
import { IoStar } from 'react-icons/io5';
1619

1720
import { cols } from '../styles/styles.module.css';
1821

@@ -83,28 +86,35 @@ const Footer = () => {
8386
<a
8487
href="https://www.youtube.com/c/TheCodingTrain/"
8588
aria-label="Youtube">
86-
<Youtube width={30} />
89+
<FaYoutube size={30} color="var(--text-color)" />
8790
<span>Youtube</span>
8891
</a>
8992
</li>
9093
<li>
9194
<a
9295
href="https://www.twitch.tv/codingtrainchoochoo"
9396
aria-label="Twitch">
94-
<Twitch width={30} />
97+
<FaTwitch size={30} color="var(--text-color)" />
9598
<span>Twitch</span>
9699
</a>
97100
</li>
98101

99102
<li>
100103
<a href="https://nebula.tv/codingtrain" aria-label="Nebula">
101-
<Nebula width={30} />
104+
{/* <Nebula width={30} /> */}
105+
<IoStar
106+
size={30}
107+
color="var(--text-color)"
108+
style={{
109+
rotate: '45deg'
110+
}}
111+
/>
102112
<span>Nebula</span>
103113
</a>
104114
</li>
105115
<li>
106116
<a href="https://twitter.com/thecodingtrain" aria-label="Twitter">
107-
<Twitter width={30} />
117+
<FaTwitter size={30} color="var(--text-color)" />
108118
<span>Twitter</span>
109119
</a>
110120
</li>
@@ -113,19 +123,19 @@ const Footer = () => {
113123
<a
114124
href="https://www.instagram.com/the.coding.train/"
115125
aria-label="Instagram">
116-
<Instagram width={30} />
126+
<FaInstagram size={30} color="var(--text-color)" />
117127
<span>Instagram</span>
118128
</a>
119129
</li>
120130
<li>
121131
<a href="https://thecodingtrain.com/discord" aria-label="Discord">
122-
<Discord width={30} />
132+
<FaDiscord size={30} color="var(--text-color)" />
123133
<span>Discord</span>
124134
</a>
125135
</li>
126136
<li>
127137
<a href="https://github.com/CodingTrain" aria-label="GitHub">
128-
<Github width={30} />
138+
<FaGithub size={30} color="var(--text-color)" />
129139
<span>GitHub</span>
130140
</a>
131141
</li>

0 commit comments

Comments
 (0)