mirror of
https://github.com/IRBorisov/ConceptPortal.git
synced 2025-06-27 05:20:36 +03:00
14 lines
342 B
TypeScript
14 lines
342 B
TypeScript
import { useConceptTheme } from '@/context/ThemeContext';
|
|
|
|
function Logo() {
|
|
const { darkMode } = useConceptTheme();
|
|
return (
|
|
<img
|
|
alt='Логотип КонцептПортал'
|
|
className='max-h-[1.6rem] min-w-[11.5rem]'
|
|
src={!darkMode ? '/logo_full.svg' : '/logo_full_dark.svg'}
|
|
/>
|
|
);
|
|
}
|
|
export default Logo;
|