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