Skip to content

Commit dcd4f05

Browse files
committed
Merge branch 'codex-1-about-page' of https://github.com/codeXsit/CodeX-Website into codex-1-about-page
2 parents 6c47fe1 + 1d360e6 commit dcd4f05

File tree

1 file changed

+59
-0
lines changed

1 file changed

+59
-0
lines changed

src/components/Footer/index.jsx

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
import { useState, useContext } from "react";
2+
import { Link, useLocation } from "react-router-dom";
3+
import PropTypes from "prop-types";
4+
import SymbiosisLogo from "@/assets/images/symbiosis-logo.png";
5+
import CodexLogo from "@/assets/images/codex-logo.png";
6+
import { CursorVariantContext } from "@/context/CursorVariantProvider";
7+
import Heading from "@/components/Heading/index";
8+
9+
function Footer() {
10+
const [isOpen, setIsOpen] = useState(false);
11+
const location = useLocation();
12+
13+
const { setCursorVariantNone, setCursorVariantDefault } =
14+
useContext(CursorVariantContext);
15+
16+
const handleLinkClick = () => {
17+
setIsOpen(false);
18+
};
19+
20+
return (
21+
<footer className="bg-primary py-6 mt-8">
22+
<div className="container mx-auto">
23+
<div className="flex justify-between items-center mb-4">
24+
<p className="text-white font-bold">CONNECT WITH US</p>
25+
<div className="flex space-x-4">
26+
<a href="#" className="text-white hover:text-gray-300">
27+
<i className="fab fa-instagram"></i>
28+
</a>
29+
<a href="#" className="text-white hover:text-gray-300">
30+
<i className="fab fa-facebook-f"></i>
31+
</a>
32+
<a href="#" className="text-white hover:text-gray-300">
33+
<i className="fab fa-linkedin-in"></i>
34+
</a>
35+
<a href="#" className="text-white hover:text-gray-300">
36+
<i className="fab fa-github"></i>
37+
</a>
38+
</div>
39+
</div>
40+
<div className="flex justify-between items-center">
41+
<div className="flex items-center space-x-4">
42+
<img
43+
src={SymbiosisLogo}
44+
alt="Symbiosis Institute of Technology"
45+
className="h-8"
46+
/>
47+
<p className="text-white font-bold">MADE WITH LOVE BY</p>
48+
<img src={CodexLogo} alt="Team Codex" className="h-8" />
49+
</div>
50+
<p className="text-center text-white">
51+
© 2024 CODEX | ALL RIGHTS RESERVED
52+
</p>
53+
</div>
54+
</div>
55+
</footer>
56+
);
57+
}
58+
59+
export default Footer;

0 commit comments

Comments
 (0)