Add github link to header

This commit is contained in:
rui hildt 2020-08-07 14:42:24 +02:00
parent bb9c55d180
commit 47a25fe939

View File

@ -1,5 +1,5 @@
import React from 'react'; import React from 'react';
import { Box, Text } from 'grommet'; import { Box, Text, Anchor } from 'grommet';
export const Header = () => { export const Header = () => {
return ( return (
@ -7,7 +7,7 @@ export const Header = () => {
as='header' as='header'
direction='row' direction='row'
align='center' align='center'
justify='center' justify='between'
background='brand' background='brand'
pad={{ left: 'medium', right: 'small', vertical: 'small' }} pad={{ left: 'medium', right: 'small', vertical: 'small' }}
style={{ zIndex: 1 }} style={{ zIndex: 1 }}
@ -20,6 +20,11 @@ export const Header = () => {
> >
Spoti Search Spoti Search
</Text> </Text>
<Anchor
href='https://github.com/ruihildt/spoti-search'
label='Github'
color='white'
/>
</Box> </Box>
); );
}; };