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 = {
15- facebook : "#" ,
16- twitter : "#" ,
17- instagram : "#" ,
18- linkedin : "#" ,
10+ instagram : "https://www.instagram.com/asme.nitrkl/" ,
11+ linkedin : "https://www.linkedin.com/company/asme-nit-rourkela" ,
1912 } ,
2013 year = new Date ( ) . getFullYear ( ) ,
2114} ) => {
2215 return (
23- < footer className = "bg-[#0B2044] text-white px-10 py-8" >
24- < div className = "max-w-7xl mx-auto grid grid-cols-1 md:grid-cols-3 gap-8" >
25- { /* Left Section */ }
26- < div >
27- < 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" >
2821 < img
2922 src = "https://res.cloudinary.com/dswk9scro/image/upload/v1752377324/Group_cropped_qgqzw9.png"
3023 alt = "ASME Logo"
31- className = "w-8 h-8 object-contain"
24+ className = "w-12 h-12 object-contain"
3225 />
33- < h2 className = "text-xl font-bold" > { title } </ h2 >
26+ < h2 className = "text-2xl font-bold" > { title } </ h2 >
3427 </ div >
35-
36- < p className = "text-sm" > { description } </ p >
37- < div className = "flex gap-4 mt-4 text-lg" >
38- < a
39- href = { social . facebook }
40- aria-label = "Facebook"
41- target = "_blank"
42- rel = "noopener noreferrer"
43- >
44- < FaFacebookF className = "hover:text-gray-300 transition" />
45- </ a >
46- < a
47- href = { social . twitter }
48- aria-label = "Twitter"
49- target = "_blank"
50- rel = "noopener noreferrer"
51- >
52- < FaTwitter className = "hover:text-gray-300 transition" />
53- </ a >
28+ < p className = "text-base mb-6" > { description } </ p >
29+ < div className = "flex gap-6 text-2xl" >
5430 < a
5531 href = { social . instagram }
5632 aria-label = "Instagram"
@@ -102,20 +78,20 @@ const Footer = ({
10278 </ ul >
10379 </ div >
10480
105- { /* Right Section */ }
106- < div >
107- < h3 className = "text-lg font-semibold" > Contact Info</ h3 >
108- < div className = "text-sm mt-4 text-white space-y-4 " >
81+ { /* Contact Info Section */ }
82+ < div className = "order-2 md:order-none" >
83+ < h3 className = "text-2xl font-semibold mb-6 " > Contact Info</ h3 >
84+ < div className = "text-base space-y-6 " >
10985 < div className = "flex items-center gap-4" >
110- < FiMail className = " text-[#51B8F2] text-xl hover:text-white transition" />
111- < span > contact@asmenitrkl.ac.in </ span > { /* To be added */ }
86+ < FiMail className = "text-[#51B8F2] text-2xl hover:text-white transition" />
87+ < span > asme.nitrkl@gmail.com </ span >
11288 </ div >
11389 < div className = "flex items-center gap-4" >
114- < FiPhone className = "text-[#51B8F2] text-xl hover:text-white transition" />
115- < span > +91-1234567890</ span > { /* To be added */ }
90+ < FiPhone className = "text-[#51B8F2] text-2xl hover:text-white transition" />
91+ < span > +91-1234567890</ span >
11692 </ div >
11793 < div className = "flex items-start gap-4" >
118- < GoLocation className = " text-[#51B8F2] text-xl mt-1 hover:text-white transition" />
94+ < GoLocation className = "text-[#51B8F2] text-2xl mt-1 hover:text-white transition" />
11995 < span >
12096 National Institute of Technology Rourkela, < br /> Odisha -
12197 769008
@@ -125,7 +101,7 @@ const Footer = ({
125101 </ div >
126102 </ div >
127103
128- < div className = "text-center text-sm mt-8 border-t border-white/20 pt-4 " >
104+ < div className = "text-center text-base mt-10 border-t border-white/20 pt-6 " >
129105 © { year } { title } . All rights reserved.
130106 </ div >
131107 </ footer >
0 commit comments