Improve responsiveness and structure
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import React, { PropsWithChildren } from 'react';
|
||||
import { Box } from 'grommet';
|
||||
import React from 'react';
|
||||
import { Box, Text } from 'grommet';
|
||||
|
||||
export const Header = (props: PropsWithChildren<{}>) => {
|
||||
export const Header = () => {
|
||||
return (
|
||||
<Box
|
||||
as='header'
|
||||
@@ -11,7 +11,15 @@ export const Header = (props: PropsWithChildren<{}>) => {
|
||||
background='brand'
|
||||
pad={{ left: 'medium', right: 'small', vertical: 'small' }}
|
||||
style={{ zIndex: 1 }}
|
||||
{...props}
|
||||
/>
|
||||
>
|
||||
<Text
|
||||
margin={{ vertical: 'small' }}
|
||||
color='light-1'
|
||||
size='xxlarge'
|
||||
weight='bold'
|
||||
>
|
||||
Spoti Search
|
||||
</Text>
|
||||
</Box>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user