mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Add LogoBox
This commit is contained in:
parent
33bebc8cca
commit
ac7b179e79
1 changed files with 35 additions and 0 deletions
35
packages/web/components/elements/LogoBox.tsx
Normal file
35
packages/web/components/elements/LogoBox.tsx
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
import { LIBRARY_LEFT_MENU_WIDTH } from '../templates/homeFeed/LibraryFilterMenu'
|
||||
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',
|
||||
width: LIBRARY_LEFT_MENU_WIDTH,
|
||||
minWidth: LIBRARY_LEFT_MENU_WIDTH,
|
||||
'@mdDown': {
|
||||
display: 'none',
|
||||
},
|
||||
}}
|
||||
>
|
||||
<OmnivoreFullLogo showTitle={true} />
|
||||
</SpanBox>
|
||||
<SpanBox
|
||||
css={{
|
||||
ml: '20px',
|
||||
mr: '20px',
|
||||
'@md': {
|
||||
display: 'none',
|
||||
},
|
||||
}}
|
||||
>
|
||||
<OmnivoreNameLogo />
|
||||
</SpanBox>
|
||||
</>
|
||||
)
|
||||
}
|
||||
Loading…
Reference in a new issue