Skip to content

Commit 197db79

Browse files
committed
feat: initial design of footer(have issues)
1 parent b213d6a commit 197db79

File tree

3 files changed

+85
-1
lines changed

3 files changed

+85
-1
lines changed

src/App.jsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import { HashRouter as Router, Routes, Route } from "react-router-dom";
44
import { ToastContainer } from "react-toastify";
55
import routes from "@/routes/index";
66
import Navbar from "@/components/Navbar/index";
7+
import Footer from "@/components/Footer/index";
78
import Cursor from "./components/Cursor";
89
import CursorVariantProvider from "@/context/CursorVariantProvider";
910
import Loader from "@/components/Loader";
@@ -42,7 +43,8 @@ function App() {
4243
key={route.label}
4344
/>
4445
))}
45-
</Routes>
46+
</Routes>
47+
<Footer/>
4648
</Router>
4749
)}
4850
</AnimatePresence>
Lines changed: 10 additions & 0 deletions
Loading

src/components/Footer/index.jsx

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
import Heading from "@/components/Heading/index";
2+
import Logo from "@/assets/images/logo.svg";
3+
import instagramIcon from "@/assets/images/Teams/instagram.svg";
4+
import linkedinIcon from "@/assets/images/Teams/linkedin.svg";
5+
import githubIcon from "@/assets/images/Teams/github.svg";
6+
import SitLogo from "@/assets/images/Teams/sitlogo.svg";
7+
8+
function Footer() {
9+
return (
10+
<footer className="bg-secondary-dark text-white py-6">
11+
{/* Heading orange */}
12+
<div className="text-center relative bg-primary">
13+
<Heading
14+
text="MADE WITH LOVE BY"
15+
className="my-6"
16+
frontTextStyle="text-text-light"
17+
/>
18+
</div>
19+
20+
{/* Connect Us */}
21+
<div className="mt-12 text-center">
22+
<h2 className="text-xl font-semibold uppercase">Connect With Us</h2>
23+
<div className="flex flex-col md:flex-row justify-center items-center mt-6 gap-y-6 md:gap-x-8">
24+
{/* SIT Logo */}
25+
<img
26+
src={SitLogo}
27+
alt="Symbiosis Institute of Technology"
28+
className="w-20 md:w-24"
29+
/>
30+
<div className="hidden md:block h-12 w-[1px] bg-gray-500" />
31+
{/* Codex Logo */}
32+
<img src={Logo} alt="Codex Logo" className="w-20 md:w-24" />
33+
</div>
34+
</div>
35+
36+
{/* Social media */}
37+
<div className="mt-6 flex justify-center gap-x-6">
38+
<a
39+
href="https://www.linkedin.com/company/codex-sit-pune/"
40+
target="_blank"
41+
rel="noopener noreferrer"
42+
>
43+
<img src={linkedinIcon} alt="LinkedIn" className="w-8 md:w-10" />
44+
</a>
45+
<a
46+
href="https://github.com/codeXsit"
47+
target="_blank"
48+
rel="noopener noreferrer"
49+
>
50+
<img src={githubIcon} alt="GitHub" className="w-8 md:w-10" />
51+
</a>
52+
<a
53+
href="https://www.instagram.com/codex_sit/"
54+
target="_blank"
55+
rel="noopener noreferrer"
56+
>
57+
<img src={instagramIcon} alt="Instagram" className="w-8 md:w-10" />
58+
</a>
59+
</div>
60+
61+
{/* Copyright */}
62+
<div className="text-center mt-6 border-t border-gray-500 pt-6">
63+
<p className="text-sm">
64+
&copy; 2024 <span className="font-bold">Codex</span> | All Rights
65+
Reserved
66+
</p>
67+
</div>
68+
</footer>
69+
);
70+
}
71+
72+
export default Footer;

0 commit comments

Comments
 (0)