2022-09-08 17:21:17 +00:00
|
|
|
|
import * as React from "react";
|
|
|
|
|
import { Box, Typography } from "@mui/material";
|
2022-09-20 14:35:49 +00:00
|
|
|
|
import theme from "../../../theme";
|
2022-09-08 17:21:17 +00:00
|
|
|
|
import ExitToAppOutlinedIcon from '@mui/icons-material/ExitToAppOutlined';
|
2022-09-20 14:35:49 +00:00
|
|
|
|
import Logo from "../../Logo";
|
2022-09-08 17:21:17 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const Header: React.FC = () => {
|
|
|
|
|
return (
|
|
|
|
|
<React.Fragment>
|
|
|
|
|
<Box sx={{
|
2022-09-09 13:54:49 +00:00
|
|
|
|
backgroundColor: theme.palette.menu.main,
|
2022-09-08 17:21:17 +00:00
|
|
|
|
width: "100%",
|
2022-12-19 20:15:00 +00:00
|
|
|
|
minHeight: "85px",
|
2022-09-08 17:21:17 +00:00
|
|
|
|
display: "flex",
|
2022-12-19 20:15:00 +00:00
|
|
|
|
justifyContent: "space-between",
|
|
|
|
|
flexWrap: 'wrap',
|
|
|
|
|
paddingLeft: '5px'
|
2022-09-08 17:21:17 +00:00
|
|
|
|
}}>
|
|
|
|
|
<Box sx={{
|
|
|
|
|
width: "150px",
|
|
|
|
|
display: "flex",
|
|
|
|
|
justifyContent: "right",
|
|
|
|
|
alignItems: "center"
|
|
|
|
|
}}>
|
|
|
|
|
<Logo />
|
|
|
|
|
</Box>
|
|
|
|
|
|
|
|
|
|
<Box sx={{
|
|
|
|
|
display: "flex"
|
|
|
|
|
}}>
|
|
|
|
|
<Typography
|
|
|
|
|
variant="h6"
|
|
|
|
|
sx={{
|
2022-12-19 20:15:00 +00:00
|
|
|
|
maxWidth: "230px",
|
2022-09-08 17:21:17 +00:00
|
|
|
|
display: "flex",
|
|
|
|
|
flexDirection: "column",
|
|
|
|
|
justifyContent: "center",
|
|
|
|
|
alignItems: "center",
|
|
|
|
|
fontWeight: "normal"
|
|
|
|
|
}}
|
|
|
|
|
>
|
|
|
|
|
Добро пожаловать, Администратор сервиса
|
|
|
|
|
</Typography>
|
|
|
|
|
|
|
|
|
|
<Box sx={{
|
|
|
|
|
display: "flex",
|
|
|
|
|
flexDirection: "column",
|
|
|
|
|
justifyContent: "center",
|
|
|
|
|
alignItems: "center",
|
2022-12-19 20:15:00 +00:00
|
|
|
|
cursor: "pointer",
|
|
|
|
|
padding: '0 31px'
|
2022-09-08 17:21:17 +00:00
|
|
|
|
}}>
|
|
|
|
|
<ExitToAppOutlinedIcon sx={{
|
2022-09-09 13:54:49 +00:00
|
|
|
|
color: theme.palette.golden.main,
|
2022-09-08 17:21:17 +00:00
|
|
|
|
transform: "scale(1.3)"
|
|
|
|
|
}} />
|
|
|
|
|
</Box>
|
|
|
|
|
</Box>
|
|
|
|
|
</Box>
|
|
|
|
|
</React.Fragment>
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export default Header;
|