@@ -4,36 +4,38 @@ import logo from "../../../images/LabConnect_Logo.webp";
44import { useAuth } from "../../../context/AuthContext.tsx" ;
55
66export default function StickyFooter ( ) {
7-
87 const { auth } = useAuth ( ) ;
98
109 const routes = auth . isAuthenticated
1110 ? [
12- { name : "Jobs" , href : "/jobs" , current : true } ,
13- { name : "Create" , href : "/create" , current : false } ,
14- { name : "Staff" , href : "/staff" , current : false } ,
15- { name : "Profile" , href : "/profile" , current : false } ,
16- { name : "Sign Out" , href : "/signout" , current : false } ,
17- ]
11+ { name : "Jobs" , href : "/jobs" , current : true } ,
12+ { name : "Create" , href : "/create" , current : false } ,
13+ { name : "Staff" , href : "/staff" , current : false } ,
14+ { name : "Profile" , href : "/profile" , current : false } ,
15+ { name : "Sign Out" , href : "/signout" , current : false } ,
16+ ]
1817 : [ { name : "Sign In" , href : "/signin" , current : false } ] ;
1918
2019 return (
2120 < section className = "stickyfooter-general" >
22- < h1 className = "stickyfooter-header" >
21+ < h1 className = "stickyfooter-header text-center text-2xl font-bold " >
2322 Made by{ " " }
24- < Link to = "https://new.rcos.io" className = "no-underline text-red-600 hover:text-red-800 focus:text-red-800" >
23+ < Link
24+ to = "https://new.rcos.io"
25+ className = "no-underline text-red-600 hover:text-red-800 focus:text-red-800"
26+ >
2527 RCOS
2628 </ Link >
2729 </ h1 >
28- < div className = "stickyfooter-info mt-5" >
30+ < div className = "stickyfooter-info mt-5 flex flex-col items-center " >
2931 < div className = "pb-3" >
3032 < img src = { logo } alt = "LabConnect" width = "160" height = "160 / (319/289)" />
3133 </ div >
3234
33- < div className = "w-40" >
35+ < div className = "w-40 text-center " >
3436 < div >
35- < b > Contact Us</ b >
36- < p className = "text-base " >
37+ < b className = "text-xl" > Contact Us</ b >
38+ < p className = "text-lg " >
3739 < Link
3840 to = "https://discord.gg/tsaxCKjYHT"
3941 className = "grey-link hover:text-neutral-950 focus:text-neutral-950"
@@ -51,14 +53,14 @@ export default function StickyFooter() {
5153 </ p >
5254 </ div >
5355 </ div >
54- < div className = "w-40" >
55- < b > Resources</ b >
56+ < div className = "w-40 text-center " >
57+ < b className = "text-xl" > Resources</ b >
5658 < br />
5759 { routes . map ( ( item ) => (
5860 < React . Fragment key = { item . name } >
5961 < Link
6062 to = { item . href }
61- className = "grey-link hover:text-neutral-950 focus:text-neutral-950"
63+ className = "grey-link hover:text-neutral-950 focus:text-neutral-950 text-lg "
6264 aria-current = { item . current }
6365 >
6466 { item . name }
@@ -67,7 +69,7 @@ export default function StickyFooter() {
6769 </ React . Fragment >
6870 ) ) }
6971 </ div >
70- </ div >
71- </ section >
72+ </ div >
73+ </ section >
7274 ) ;
7375}
0 commit comments