ConceptPortal-public/rsconcept/frontend/src/components/Navigation/Logo.tsx

11 lines
308 B
TypeScript
Raw Normal View History

import { useConceptTheme } from '@/context/ThemeContext';
2023-10-06 15:37:32 +03:00
function Logo() {
2023-10-13 21:44:18 +03:00
const { darkMode } = useConceptTheme();
2023-07-15 17:46:19 +03:00
return (
<img alt='Логотип КонцептПортал'
className='max-h-[1.6rem]'
src={!darkMode ? '/logo_full.svg' : '/logo_full_dark.svg'}
/>);
2023-07-15 17:46:19 +03:00
}
export default Logo;