2023-12-15 17:34:50 +03:00
|
|
|
|
import clsx from 'clsx';
|
|
|
|
|
|
2023-12-17 20:19:28 +03:00
|
|
|
|
import { useConceptTheme } from '@/context/ThemeContext';
|
2023-12-13 14:32:57 +03:00
|
|
|
|
import { urls } from '@/utils/constants';
|
2023-12-15 17:34:50 +03:00
|
|
|
|
|
2024-01-04 19:30:10 +03:00
|
|
|
|
import TextURL from '../components/Common/TextURL';
|
2023-07-15 17:46:19 +03:00
|
|
|
|
|
|
|
|
|
function Footer() {
|
2023-12-17 20:19:28 +03:00
|
|
|
|
const { noNavigation, noFooter } = useConceptTheme();
|
|
|
|
|
if (noNavigation || noFooter) {
|
|
|
|
|
return null;
|
|
|
|
|
}
|
2023-07-15 17:46:19 +03:00
|
|
|
|
return (
|
2023-12-28 14:04:44 +03:00
|
|
|
|
<footer
|
|
|
|
|
tabIndex={-1}
|
|
|
|
|
className={clsx(
|
|
|
|
|
'z-navigation',
|
|
|
|
|
'px-4 py-2 flex flex-col items-center gap-1',
|
|
|
|
|
'text-sm select-none whitespace-nowrap'
|
|
|
|
|
)}
|
|
|
|
|
>
|
|
|
|
|
<div className='flex gap-3'>
|
|
|
|
|
<TextURL text='Библиотека' href='/library' color='clr-footer' />
|
|
|
|
|
<TextURL text='Справка' href='/manuals' color='clr-footer' />
|
|
|
|
|
<TextURL text='Центр Концепт' href={urls.concept} color='clr-footer' />
|
|
|
|
|
<TextURL text='Экстеор' href='/manuals?topic=exteor' color='clr-footer' />
|
|
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
|
<p className='clr-footer'>© 2024 ЦИВТ КОНЦЕПТ</p>
|
|
|
|
|
</div>
|
|
|
|
|
</footer>
|
|
|
|
|
);
|
2023-07-15 17:46:19 +03:00
|
|
|
|
}
|
|
|
|
|
|
2023-12-28 14:04:44 +03:00
|
|
|
|
export default Footer;
|