-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.jsx
More file actions
132 lines (124 loc) · 5.54 KB
/
index.jsx
File metadata and controls
132 lines (124 loc) · 5.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
import { Link, useLocation } from "react-router-dom";
import Logo from "@/assets/images/logo.svg";
import SitLogo from "@/assets/images/Teams/sitlogo.svg";
function Footer() {
const location = useLocation();
const handleLinkClick = () => {
window.scrollTo({ top: 0, behavior: "smooth" });
};
return (
<footer className="min-h-screen bg-secondary-dark text-text-light flex flex-col">
{/* Orange Banner */}
<div className="bg-primary relative flex justify-center items-center py-12 flex-1">
<div className="relative text-center font-black uppercase tracking-tighter">
<div className="text-2xl xs:text-4xl sm:text-6xl lg:text-8xl text-outlined text-transparent">
MADE WITH LOVE BY
</div>
<div className="text-text-light text-xl xs:text-2xl sm:text-4xl lg:text-6xl absolute w-full leading-none bottom-[-10%]">
TEAM CODEX
</div>
</div>
</div>
<div className="max-w-7xl mx-auto px-4 py-12 sm:py-16">
<div className="grid grid-cols-1 sm:grid-cols-2 gap-8 sm:gap-12 md:gap-20 text-center sm:text-left">
<div className="space-y-6 flex flex-col justify-between items-center sm:items-start">
<p className="text-secondary-light leading-relaxed">
Our club is committed to creating an engaging environment where
members can learn, collaborate, and grow their coding expertise
through a variety of activities and events.
</p>
<div className="flex flex-col sm:flex-row items-center gap-4 md:w-full">
<img src={SitLogo} alt="Symbiosis Logo" className="h-12" />
<div className="hidden sm:block w-px h-12 bg-secondary-light" />
<img
src={Logo}
alt="CodeX Logo"
className="h-16 md:h-20 self-center"
/>
</div>
</div>
<div className="flex flex-row gap-8 text-center justify-center sm:text-left ">
{/* Quick Links */}
<div className="flex-1">
<h4 className="text-lg font-medium mb-4 text-secondary-light relative inline-block sm:block">
QUICK LINKS
<span className="absolute bottom-0 left-0 w-full h-[2px] bg-secondary-light" />
</h4>
<ul className="space-y-2 text-text-light text-sm sm:text-base">
{[
{ name: "Home", path: "/" },
{ name: "About Us", path: "/about-us" },
{ name: "Our Team", path: "/teams" },
{ name: "Gallery", path: "/gallery" },
{ name: "Events", path: "/events" },
{ name: "Contact", path: "/contact" },
{ name: "SymbiTech2025", path: "/symbitech2025" },
].map((link) => (
<li
key={link.name}
className={`cursor-pointer ${
location.pathname === link.path
? "text-secondary-light"
: ""
}`}
>
<Link to={link.path} onClick={handleLinkClick}>
{link.name}
</Link>
</li>
))}
</ul>
</div>
<div className="flex flex-col flex-1 md:flex-[2] md:flex-row gap-4">
{/* Social Links */}
<div className="flex-1">
<h4 className="text-lg font-medium mb-4 text-secondary-light relative inline-block sm:block ">
SOCIAL
<span className="absolute bottom-0 left-0 w-full h-[2px] bg-secondary-light" />
</h4>
<ul className="space-y-2 text-text-light text-sm sm:text-base">
<li className="cursor-pointer">
<a href="https://www.instagram.com/codex_sit/">Instagram</a>
</li>
<li className="cursor-pointer">
<a href="https://www.linkedin.com/company/codex-sit-pune/">
LinkedIn
</a>
</li>
<li className="cursor-pointer">
<a href="https://github.com/codeXsit">Github</a>
</li>
</ul>
</div>
{/* Contact Section */}
<div className="col-span-2 sm:col-span-1 flex flex-col flex-1 items-center sm:items-start text-center sm:text-left">
<div className="relative bottom-0 left-0 w-full">
<h4 className="text-lg font-medium mb-4 text-secondary-light relative inline-block sm:block">
CONTACT
<span className="absolute bottom-0 left-0 w-full h-[2px] bg-secondary-light" />
</h4>
</div>
<ul className="space-y-2 text-text-light text-sm sm:text-base">
<li>
<a href="mailto:codexsit@gmail.com" className="underline">
Drop us a Message
</a>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
{/* Copyright */}
<div className="border-t border-secondary-light">
<div className="max-w-6xl mx-auto px-4 py-4">
<p className="text-center text-sm sm:text-base text-secondary-light">
© 2025 CodeX | All rights reserved
</p>
</div>
</div>
</footer>
);
}
export default Footer;