11import { Link } from "react-router-dom" ;
2- import {
3- FaFacebookF ,
4- FaTwitter ,
5- FaInstagram ,
6- FaLinkedinIn ,
7- } from "react-icons/fa" ;
2+ import { FaInstagram , FaLinkedinIn } from "react-icons/fa" ;
83import { FiMail , FiPhone } from "react-icons/fi" ;
94import { GoLocation } from "react-icons/go" ;
5+
106const Footer = ( {
117 title = "ASME NIT Rourkela Chapter" ,
128 description = "The American Society of Mechanical Engineers Student Chapter at NIT Rourkela, fostering a culture of innovation and technical learning through innovation, collaboration, and hands-on learning." ,
13-
149 social = {
1510 instagram : "https://www.instagram.com/asme.nitrkl/" ,
1611 linkedin : "https://www.linkedin.com/company/asme-nit-rourkela" ,
1712 } ,
1813 year = new Date ( ) . getFullYear ( ) ,
1914} ) => {
2015 return (
21- < footer className = "bg-[#0B2044] text-white px-10 py-8" >
22- < div className = "max-w-7xl mx-auto grid grid-cols-1 md:grid-cols-3 gap-8" >
23- { /* Left Section */ }
24- < div >
25- < div className = "flex gap-4 mb-4 flex-wrap" >
16+ < footer className = "bg-[#0B2044] text-white px-4 py-8 sm:px-8 sm:py-10 md:px-12 md:py-12 " >
17+ < div className = "max-w-7xl mx-auto grid grid-cols-1 gap-10 sm:gap-12 md:grid-cols-3 md: gap-8" >
18+ { /* Logo and Description Section */ }
19+ < div className = "order-1 md:order-none" >
20+ < div className = "flex items-center gap-4 mb-6 flex-wrap" >
2621 < img
2722 src = "https://res.cloudinary.com/dswk9scro/image/upload/v1752377324/Group_cropped_qgqzw9.png"
2823 alt = "ASME Logo"
29- className = "w-8 h-8 object-contain"
24+ className = "w-12 h-12 object-contain"
3025 />
31- < h2 className = "text-xl font-bold" > { title } </ h2 >
26+ < h2 className = "text-2xl font-bold" > { title } </ h2 >
3227 </ div >
33-
34- < p className = "text-sm" > { description } </ p >
35- < div className = "flex gap-4 mt-4 text-lg" >
28+ < p className = "text-base mb-6" > { description } </ p >
29+ < div className = "flex gap-6 text-2xl" >
3630 < a
3731 href = { social . instagram }
3832 aria-label = "Instagram"
@@ -52,10 +46,10 @@ const Footer = ({
5246 </ div >
5347 </ div >
5448
55- { /* Middle Section */ }
56- < div >
57- < h3 className = "text-xl font-semibold" > Quick Links</ h3 >
58- < ul className = "mt-2 space-y-1 text-sm " >
49+ { /* Quick Links Section */ }
50+ < div className = "order-3 md:order-none" >
51+ < h3 className = "text-2xl font-semibold mb-6 " > Quick Links</ h3 >
52+ < ul className = "space-y-3 text-base " >
5953 < li >
6054 < Link to = "/team" className = "hover:underline" >
6155 Team
@@ -79,20 +73,20 @@ const Footer = ({
7973 </ ul >
8074 </ div >
8175
82- { /* Right Section */ }
83- < div >
84- < h3 className = "text-xl font-semibold" > Contact Info</ h3 >
85- < div className = "text-sm mt-4 text-white space-y-4 " >
76+ { /* Contact Info Section */ }
77+ < div className = "order-2 md:order-none" >
78+ < h3 className = "text-2xl font-semibold mb-6 " > Contact Info</ h3 >
79+ < div className = "text-base space-y-6 " >
8680 < div className = "flex items-center gap-4" >
87- < FiMail className = " text-[#51B8F2] text-xl hover:text-white transition" />
81+ < FiMail className = "text-[#51B8F2] text-2xl hover:text-white transition" />
8882 < span > asme.nitrkl@gmail.com</ span >
8983 </ div >
9084 < div className = "flex items-center gap-4" >
91- < FiPhone className = "text-[#51B8F2] text-xl hover:text-white transition" />
85+ < FiPhone className = "text-[#51B8F2] text-2xl hover:text-white transition" />
9286 < span > +91-1234567890</ span >
9387 </ div >
9488 < div className = "flex items-start gap-4" >
95- < GoLocation className = " text-[#51B8F2] text-xl mt-1 hover:text-white transition" />
89+ < GoLocation className = "text-[#51B8F2] text-2xl mt-1 hover:text-white transition" />
9690 < span >
9791 National Institute of Technology Rourkela, < br /> Odisha -
9892 769008
@@ -102,7 +96,7 @@ const Footer = ({
10296 </ div >
10397 </ div >
10498
105- < div className = "text-center text-sm mt-8 border-t border-white/20 pt-4 " >
99+ < div className = "text-center text-base mt-10 border-t border-white/20 pt-6 " >
106100 © { year } { title } . All rights reserved.
107101 </ div >
108102 </ footer >
0 commit comments