mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Add header spacer file
This commit is contained in:
parent
1bb531fa7a
commit
9a412d366b
1 changed files with 18 additions and 0 deletions
18
packages/web/components/templates/homeFeed/HeaderSpacer.tsx
Normal file
18
packages/web/components/templates/homeFeed/HeaderSpacer.tsx
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
import { Box } from '../../elements/LayoutPrimitives'
|
||||
|
||||
export const HEADER_HEIGHT = '105px'
|
||||
export const MOBILE_HEADER_HEIGHT = '70px'
|
||||
|
||||
export function HeaderSpacer(): JSX.Element {
|
||||
return (
|
||||
<Box
|
||||
css={{
|
||||
height: HEADER_HEIGHT,
|
||||
bg: '$grayBase',
|
||||
'@mdDown': {
|
||||
height: MOBILE_HEADER_HEIGHT,
|
||||
},
|
||||
}}
|
||||
></Box>
|
||||
)
|
||||
}
|
||||
Loading…
Reference in a new issue