55 lines
1.1 KiB
TypeScript
Raw Normal View History

import React from 'react';
2020-03-23 16:39:11 -07:00
import styled from 'styled-components';
const Container = styled.div`
display: flex;
justify-content: space-between;
align-items: center;
2020-03-23 16:39:11 -07:00
padding: 0.5em 1em;
font-family: 'DM Sans', 'Open Sans', sans-serif;
2020-03-23 16:39:11 -07:00
2020-02-24 19:29:11 +00:00
box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.3);
`;
const Group = styled.div`
display: flex;
align-items: center;
`;
2020-03-23 16:39:11 -07:00
const Logo = styled.img`
height: 32px;
`;
const Link = styled.a`
text-decoration: none;
color: black;
2020-03-23 16:39:11 -07:00
padding: 0em 1em;
&:hover {
2020-03-23 16:39:11 -07:00
color: #0e74ff;
}
`;
export const HeaderComponent = () => {
return (
<Container>
<Group>
2020-03-23 16:39:11 -07:00
<a href="https://ligolang.org">
2020-05-15 17:32:49 -07:00
<Logo src="/logo.svg" />
2020-03-23 16:39:11 -07:00
</a>
</Group>
<Group>
<Link href="https://ligolang.org/docs/intro/installation">Docs</Link>
<Link href="https://ligolang.org/docs/tutorials/get-started/tezos-taco-shop-smart-contract">
Tutorials
</Link>
<Link href="https://ligolang.org/blog">Blog</Link>
<Link href="https://ligolang.org/docs/contributors/origin">
Contribute
</Link>
</Group>
</Container>
);
};