2024-02-14 06:33:28 +00:00
|
|
|
import { LIBRARY_LEFT_MENU_WIDTH } from '../templates/navMenu/LibraryMenu'
|
2023-03-03 12:46:12 +00:00
|
|
|
import { theme } from '../tokens/stitches.config'
|
2023-03-02 05:32:23 +00:00
|
|
|
import { OmnivoreFullLogo } from './images/OmnivoreFullLogo'
|
|
|
|
|
import { OmnivoreNameLogo } from './images/OmnivoreNameLogo'
|
|
|
|
|
import { SpanBox } from './LayoutPrimitives'
|
|
|
|
|
|
|
|
|
|
export function LogoBox(): JSX.Element {
|
|
|
|
|
return (
|
|
|
|
|
<>
|
|
|
|
|
<SpanBox
|
|
|
|
|
css={{
|
|
|
|
|
pl: '25px',
|
|
|
|
|
height: '24px',
|
2023-05-25 09:33:40 +00:00
|
|
|
pointerEvents: 'all',
|
2023-03-02 05:32:23 +00:00
|
|
|
width: LIBRARY_LEFT_MENU_WIDTH,
|
|
|
|
|
minWidth: LIBRARY_LEFT_MENU_WIDTH,
|
|
|
|
|
'@mdDown': {
|
|
|
|
|
display: 'none',
|
|
|
|
|
},
|
|
|
|
|
}}
|
|
|
|
|
>
|
2023-03-03 12:46:12 +00:00
|
|
|
<OmnivoreFullLogo
|
|
|
|
|
showTitle={true}
|
|
|
|
|
color={theme.colors.thHighContrast.toString()}
|
|
|
|
|
/>
|
2023-03-02 05:32:23 +00:00
|
|
|
</SpanBox>
|
|
|
|
|
<SpanBox
|
|
|
|
|
css={{
|
2023-03-03 13:55:04 +00:00
|
|
|
ml: '15px',
|
|
|
|
|
mr: '15px',
|
2023-07-01 04:08:43 +00:00
|
|
|
|
|
|
|
|
display: 'none',
|
|
|
|
|
|
2023-06-09 09:39:18 +00:00
|
|
|
lineHeight: '1',
|
2023-07-01 04:08:43 +00:00
|
|
|
'@mdDown': {
|
|
|
|
|
display: 'flex',
|
|
|
|
|
},
|
2023-03-02 05:32:23 +00:00
|
|
|
}}
|
|
|
|
|
>
|
2023-03-09 08:44:45 +00:00
|
|
|
<OmnivoreNameLogo color={theme.colors.thHighContrast.toString()} />
|
2023-03-02 05:32:23 +00:00
|
|
|
</SpanBox>
|
|
|
|
|
</>
|
|
|
|
|
)
|
|
|
|
|
}
|