1- export default function Footer ( ) {
1+ import { images } from '../config/routing/images.route' ;
2+ import { links } from '../config/routing/links.route' ;
3+
4+ export default function Footer ( ) {
5+ const currentYear = new Date ( ) . getFullYear ( ) ;
6+
27 return (
3- < footer className = "bg-black/20 backdrop-blur-sm rounded-lg shadow m-4 mx-10" >
4- < div className = "w-full mx-auto p-4 md:py-8" >
5- < div className = "sm:flex sm:items-center sm:justify-between" >
6- < a href = "https://qual.su" className = "flex items-center mb-4 sm:mb-0 space-x-3 rtl:space-x-reverse" >
7- < img src = "/logo/full-logo.png" className = "w-60" alt = "Qualsu logo" />
8- </ a >
9- < ul className = "flex flex-wrap items-center mb-6 text-sm font-medium sm:mb-0 text-gray-400" >
10- < li >
11- < a href = "https://qual.su" target = "_blank" className = "hover:underline me-4 md:me-6" > Site</ a >
12- </ li >
13- < li >
14- < a href = "https://feedback.qual.su" target = "_blank" className = "hover:underline me-4 md:me-6" > Feedback</ a >
15- </ li >
16- < li >
17- < a href = "https://id.qual.su" target = "_blank" className = "hover:underline me-4 md:me-6" > Qual ID</ a >
18- </ li >
19- </ ul >
8+ < footer className = "fixed bottom-0 left-0 right-0 px-6 py-4 border-t border-white/5" >
9+ < div className = "flex items-center justify-between max-w-2xl mx-auto flex-col md:flex-row gap-y-4" >
10+ < a href = { links . QUALSU . SITE } target = "_blank" rel = "noreferrer" >
11+ < img src = { images . LOGO } className = "h-4 opacity-70 hover:opacity-100 transition-opacity duration-200" alt = "Qualsu" />
12+ </ a >
13+ < div className = "flex items-center gap-5" >
14+ < a href = { links . QUALSU . SITE } target = "_blank" rel = "noreferrer" className = "text-xs text-white/50 hover:text-white/70 transition-colors duration-150" > Site</ a >
15+ < a href = { links . FEEDBACK . SITE } target = "_blank" rel = "noreferrer" className = "text-xs text-white/50 hover:text-white/70 transition-colors duration-150" > Feedback</ a >
16+ < a href = { links . QSU_ID . SITE } target = "_blank" rel = "noreferrer" className = "text-xs text-white/50 hover:text-white/70 transition-colors duration-150" > Qual ID</ a >
2017 </ div >
21- < hr className = "my-6 sm:mx-auto border-gray-700 lg:my-8" />
22- < span className = "block text-sm sm:text-center text-gray-400" > © 2021-2025 < a href = "https://qual.su" className = "hover:underline" > Qualsu</ a > </ span >
18+ < span className = "text-xs text-white/30" >
19+ © 2021-{ currentYear }
20+ < a href = { links . QUALSU . SITE } target = '_blank' className = 'hover:text-white/70 transition-colors duration-150' > Qualsu</ a >
21+ </ span >
2322 </ div >
2423 </ footer >
25- )
24+ ) ;
2625}
0 commit comments