Files
web2.0-frontend/src/components/AdminHeader.tsx
T
2021-06-03 02:14:33 +03:00

30 lines
522 B
TypeScript

import React from "react";
import styled from "styled-components";
import colors from "@theme/colors";
import HeaderLogo from "./HeaderLogo";
const Header = styled.header`
background-color: ${colors.darkBlue};
display: flex;
flex-flow: row nowrap;
justify-content: center;
a {
flex: 1 0 auto;
margin: 0.5rem auto;
max-width: 600px;
img {
fill: ${colors.white};
}
}
`;
const AdminHeader: React.FC = () => (
<Header>
<HeaderLogo />
</Header>
);
export default AdminHeader;