import { Group, Image, Text } from '@mantine/core'; import { useConfigContext } from '../../config/provider'; import { useColorTheme } from '../../tools/color'; interface LogoProps { size?: 'md' | 'xs'; withoutText?: boolean; } export function Logo({ size = 'md', withoutText = false }: LogoProps) { const { config } = useConfigContext(); const { primaryColor, secondaryColor } = useColorTheme(); return ( {withoutText ? null : ( {config?.settings.customization.pageTitle || 'Homarr'} )} ); }