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
|
|
|
|
|
2023-12-08 19:24:08 +03:00
|
|
|
|
import TextURL from './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-15 17:34:50 +03:00
|
|
|
|
<footer tabIndex={-1}
|
|
|
|
|
className={clsx(
|
2023-12-17 20:19:28 +03:00
|
|
|
|
'z-navigation',
|
2023-12-15 17:34:50 +03:00
|
|
|
|
'px-4 py-2 flex flex-col items-center gap-1',
|
|
|
|
|
'text-sm select-none whitespace-nowrap'
|
|
|
|
|
)}
|
|
|
|
|
>
|
|
|
|
|
<div className='flex gap-3'>
|
2023-12-08 19:24:08 +03:00
|
|
|
|
<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>
|
2023-12-27 19:34:39 +03:00
|
|
|
|
<p className='clr-footer'>© 2024 ЦИВТ КОНЦЕПТ</p>
|
2023-12-05 01:22:44 +03:00
|
|
|
|
</div>
|
|
|
|
|
</footer>);
|
2023-07-15 17:46:19 +03:00
|
|
|
|
}
|
|
|
|
|
|
2023-12-08 19:24:08 +03:00
|
|
|
|
export default Footer;
|