2019-09-17 15:23:29 +02:00
|
|
|
import styled from 'styled-components';
|
|
|
|
import PropTypes from 'prop-types';
|
|
|
|
|
|
|
|
import Logo from '../../assets/images/logo-strapi.png';
|
|
|
|
|
|
|
|
const Wrapper = styled.div`
|
2019-11-28 19:23:10 +01:00
|
|
|
background-color: #007eff;
|
2020-02-16 23:01:55 +02:00
|
|
|
height: ${props => props.theme.main.sizes.leftMenu.height};
|
2019-09-17 15:23:29 +02:00
|
|
|
|
|
|
|
.leftMenuHeaderLink {
|
|
|
|
&:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.projectName {
|
|
|
|
display: block;
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
text-align: center;
|
2020-02-16 23:01:55 +02:00
|
|
|
height: ${props => props.theme.main.sizes.leftMenu.height};
|
2019-09-17 15:23:29 +02:00
|
|
|
vertical-align: middle;
|
|
|
|
font-size: 2rem;
|
|
|
|
letter-spacing: 0.2rem;
|
|
|
|
color: $white;
|
|
|
|
|
|
|
|
background-image: url(${Logo});
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: center center;
|
|
|
|
background-size: auto 3rem;
|
|
|
|
}
|
|
|
|
`;
|
|
|
|
|
|
|
|
Wrapper.defaultProps = {
|
|
|
|
theme: {
|
|
|
|
main: {
|
|
|
|
colors: {
|
|
|
|
leftMenu: {},
|
|
|
|
},
|
|
|
|
sizes: {
|
|
|
|
header: {},
|
|
|
|
leftMenu: {},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
};
|
|
|
|
|
|
|
|
Wrapper.propTypes = {
|
|
|
|
theme: PropTypes.object,
|
|
|
|
};
|
|
|
|
|
|
|
|
export default Wrapper;
|