Skip to content

Commit f3222fb

Browse files
feat: made the Footer section as a standalone
1 parent 2d67050 commit f3222fb

2 files changed

Lines changed: 61 additions & 0 deletions

File tree

src/components/Footer/Footer.tsx

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
import { FaTwitter, FaGithub, FaLinkedin, FaYoutube } from 'react-icons/fa';
2+
3+
const Footer = () => {
4+
return (
5+
<footer
6+
id="contacts"
7+
aria-label="React Devs KE Socials"
8+
className="py-6 bg-[#03045e] border-t-[2px] border-[#c0c0d6]"
9+
>
10+
<div className="flex flex-col justify-center gap-9">
11+
{/* Social media icons with links */}
12+
<div className="flex justify-center gap-6">
13+
<a
14+
href="https://twitter.com/ReactDevsKE"
15+
target="_blank"
16+
rel="noopener noreferrer"
17+
className="text-slate-200 hover:text-[#61dafb] transition duration-300"
18+
aria-label="Twitter"
19+
>
20+
<FaTwitter size={24} />
21+
</a>
22+
<a
23+
href="https://github.com/reactdeveloperske"
24+
target="_blank"
25+
rel="noopener noreferrer"
26+
className="text-slate-200 hover:text-[#61dafb] transition duration-300"
27+
aria-label="GitHub"
28+
>
29+
<FaGithub size={24} />
30+
</a>
31+
<a
32+
href="https://www.linkedin.com/company/reactdevske"
33+
target="_blank"
34+
rel="noopener noreferrer"
35+
className="text-slate-200 hover:text-[#61dafb] transition duration-300"
36+
aria-label="LinkedIn"
37+
>
38+
<FaLinkedin size={24} />
39+
</a>
40+
<a
41+
href="https://www.youtube.com/channel/UC9_eVcPBk4T-DcZLHpQfy4w"
42+
target="_blank"
43+
rel="noopener noreferrer"
44+
className="text-slate-200 hover:text-[#61dafb] transition duration-300"
45+
aria-label="YouTube"
46+
>
47+
<FaYoutube size={24} />
48+
</a>
49+
</div>
50+
</div>
51+
<div className="flex flex-col items-center justify-center font-mono md:flex-row">
52+
<p className="mt-6 text-base text-slate-200 md:mt-0 pt-6">
53+
Copyright &copy; {new Date().getFullYear()} React Devs KE.
54+
</p>
55+
</div>
56+
</footer>
57+
);
58+
};
59+
60+
export default Footer;

src/components/Footer/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { default } from './Footer';

0 commit comments

Comments
 (0)