spoti-search/src/components/Header.tsx

31 lines
576 B
TypeScript
Raw Normal View History

2020-07-24 16:42:26 +00:00
import React from 'react';
2020-08-07 12:42:24 +00:00
import { Box, Text, Anchor } from 'grommet';
2020-07-22 13:57:37 +00:00
2020-07-24 16:42:26 +00:00
export const Header = () => {
2020-07-22 13:57:37 +00:00
return (
<Box
2020-07-22 15:16:49 +00:00
as='header'
2020-07-22 13:57:37 +00:00
direction='row'
align='center'
2020-08-07 12:42:24 +00:00
justify='between'
2020-07-22 13:57:37 +00:00
background='brand'
pad={{ left: 'medium', right: 'small', vertical: 'small' }}
style={{ zIndex: 1 }}
2020-07-24 16:42:26 +00:00
>
<Text
margin={{ vertical: 'small' }}
color='light-1'
size='xxlarge'
weight='bold'
>
Spoti Search
</Text>
2020-08-07 12:42:24 +00:00
<Anchor
2020-09-28 22:20:49 +00:00
href='https://git.ruihildt.xyz/ruihildt/spoti-search/'
label='Git Repo'
2020-08-07 12:42:24 +00:00
color='white'
/>
2020-07-24 16:42:26 +00:00
</Box>
2020-07-22 13:57:37 +00:00
);
};