2022-09-07 14:24:06 +00:00
|
|
|
|
import * as React from "react";
|
2022-09-08 17:21:17 +00:00
|
|
|
|
import { Box, Typography, Button } from "@mui/material";
|
2022-09-09 13:54:49 +00:00
|
|
|
|
import { ThemeProvider } from "@mui/material";
|
2022-09-07 14:24:06 +00:00
|
|
|
|
import theme from "../../theme";
|
2022-09-09 13:54:49 +00:00
|
|
|
|
import CssBaseline from '@mui/material/CssBaseline';
|
2022-09-08 17:21:17 +00:00
|
|
|
|
import Logo from "../Logo";
|
2022-09-07 14:24:06 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const Authorization: React.FC = () => {
|
|
|
|
|
return (
|
|
|
|
|
<React.Fragment>
|
2022-09-09 13:54:49 +00:00
|
|
|
|
<ThemeProvider theme={theme}>
|
|
|
|
|
<CssBaseline />
|
|
|
|
|
<Box sx={{
|
|
|
|
|
backgroundColor: theme.palette.primary.main,
|
|
|
|
|
color: theme.palette.secondary.main,
|
|
|
|
|
height: "100%"
|
|
|
|
|
}}>
|
|
|
|
|
<Box sx={{
|
|
|
|
|
width: "100vw",
|
|
|
|
|
height: "100vh",
|
|
|
|
|
display: "flex",
|
|
|
|
|
flexDirection: "column",
|
|
|
|
|
justifyContent: "center",
|
|
|
|
|
alignItems: "center"
|
|
|
|
|
}}>
|
|
|
|
|
<Box sx={{
|
|
|
|
|
width: "350px",
|
|
|
|
|
height: "700px",
|
|
|
|
|
display: "flex",
|
|
|
|
|
flexDirection: "column",
|
|
|
|
|
justifyContent: "space-between",
|
|
|
|
|
alignItems: "center",
|
|
|
|
|
}}>
|
|
|
|
|
|
|
|
|
|
<Logo />
|
2022-09-07 14:24:06 +00:00
|
|
|
|
|
2022-09-09 13:54:49 +00:00
|
|
|
|
<Box sx={{
|
|
|
|
|
width: "100%",
|
|
|
|
|
height: "100px",
|
|
|
|
|
display: "flex",
|
|
|
|
|
flexDirection: "column",
|
|
|
|
|
justifyContent: "space-between",
|
|
|
|
|
alignItems: "center"
|
|
|
|
|
}}>
|
|
|
|
|
<Box>
|
|
|
|
|
<Typography variant="h6">
|
|
|
|
|
Все пользователи
|
|
|
|
|
</Typography>
|
|
|
|
|
</Box>
|
2022-09-07 14:24:06 +00:00
|
|
|
|
|
2022-09-09 13:54:49 +00:00
|
|
|
|
<Button
|
2022-12-08 00:21:02 +00:00
|
|
|
|
variant = 'enter'
|
|
|
|
|
>
|
2022-09-09 13:54:49 +00:00
|
|
|
|
ВОЙТИ
|
|
|
|
|
</Button>
|
|
|
|
|
</Box>
|
2022-09-07 14:24:06 +00:00
|
|
|
|
|
2022-09-09 13:54:49 +00:00
|
|
|
|
<Box sx={{
|
|
|
|
|
width: "100%",
|
|
|
|
|
height: "100px",
|
|
|
|
|
display: "flex",
|
|
|
|
|
flexDirection: "column",
|
|
|
|
|
justifyContent: "space-between",
|
|
|
|
|
alignItems: "center"
|
|
|
|
|
}}>
|
|
|
|
|
<Box>
|
|
|
|
|
<Typography variant="h6">
|
|
|
|
|
Общая статистика
|
|
|
|
|
</Typography>
|
|
|
|
|
</Box>
|
2022-09-07 14:24:06 +00:00
|
|
|
|
|
2022-09-09 13:54:49 +00:00
|
|
|
|
<Button
|
|
|
|
|
variant = "contained"
|
|
|
|
|
sx={{
|
|
|
|
|
backgroundColor: theme.palette.content.main,
|
2022-09-20 14:35:49 +00:00
|
|
|
|
width: "50%",
|
2022-09-09 13:54:49 +00:00
|
|
|
|
height: "62px",
|
|
|
|
|
"&:hover": {
|
|
|
|
|
backgroundColor: theme.palette.menu.main
|
|
|
|
|
}
|
|
|
|
|
}}>
|
|
|
|
|
ВОЙТИ
|
|
|
|
|
</Button>
|
|
|
|
|
</Box>
|
2022-09-07 14:24:06 +00:00
|
|
|
|
|
2022-09-09 13:54:49 +00:00
|
|
|
|
<Box sx={{
|
|
|
|
|
width: "100%",
|
|
|
|
|
height: "100px",
|
|
|
|
|
display: "flex",
|
|
|
|
|
flexDirection: "column",
|
|
|
|
|
justifyContent: "space-between",
|
|
|
|
|
alignItems: "center"
|
|
|
|
|
}}>
|
|
|
|
|
<Box>
|
|
|
|
|
<Typography variant="h6">
|
|
|
|
|
Шаблонизатор документов
|
|
|
|
|
</Typography>
|
|
|
|
|
</Box>
|
2022-09-07 14:24:06 +00:00
|
|
|
|
|
2022-09-09 13:54:49 +00:00
|
|
|
|
<Button
|
|
|
|
|
variant = "contained"
|
|
|
|
|
sx={{
|
|
|
|
|
backgroundColor: theme.palette.content.main,
|
2022-09-20 14:35:49 +00:00
|
|
|
|
width: "50%",
|
2022-09-09 13:54:49 +00:00
|
|
|
|
height: "62px",
|
|
|
|
|
"&:hover": {
|
|
|
|
|
backgroundColor: theme.palette.menu.main
|
|
|
|
|
}
|
|
|
|
|
}}>
|
|
|
|
|
ВОЙТИ
|
|
|
|
|
</Button>
|
|
|
|
|
</Box>
|
2022-09-07 14:24:06 +00:00
|
|
|
|
|
2022-09-09 13:54:49 +00:00
|
|
|
|
<Box sx={{
|
|
|
|
|
width: "100%",
|
|
|
|
|
height: "100px",
|
|
|
|
|
display: "flex",
|
|
|
|
|
flexDirection: "column",
|
|
|
|
|
justifyContent: "space-between",
|
|
|
|
|
alignItems: "center"
|
|
|
|
|
}}>
|
|
|
|
|
<Box>
|
|
|
|
|
<Typography variant="h6">
|
|
|
|
|
Конструктор опросов
|
|
|
|
|
</Typography>
|
|
|
|
|
</Box>
|
2022-09-07 14:24:06 +00:00
|
|
|
|
|
2022-09-09 13:54:49 +00:00
|
|
|
|
<Button
|
|
|
|
|
variant = "contained"
|
|
|
|
|
sx={{
|
|
|
|
|
backgroundColor: theme.palette.content.main,
|
2022-09-20 14:35:49 +00:00
|
|
|
|
width: "50%",
|
2022-09-09 13:54:49 +00:00
|
|
|
|
height: "62px",
|
|
|
|
|
"&:hover": {
|
|
|
|
|
backgroundColor: theme.palette.menu.main
|
|
|
|
|
}
|
|
|
|
|
}}>
|
|
|
|
|
ВОЙТИ
|
|
|
|
|
</Button>
|
|
|
|
|
</Box>
|
2022-09-07 14:24:06 +00:00
|
|
|
|
|
2022-09-09 13:54:49 +00:00
|
|
|
|
<Box sx={{
|
|
|
|
|
width: "100%",
|
|
|
|
|
height: "100px",
|
|
|
|
|
display: "flex",
|
|
|
|
|
flexDirection: "column",
|
|
|
|
|
justifyContent: "space-between",
|
|
|
|
|
alignItems: "center"
|
|
|
|
|
}}>
|
|
|
|
|
<Box>
|
|
|
|
|
<Typography variant="h6">
|
|
|
|
|
Сокращатель ссылок
|
|
|
|
|
</Typography>
|
|
|
|
|
</Box>
|
2022-09-07 14:24:06 +00:00
|
|
|
|
|
2022-09-09 13:54:49 +00:00
|
|
|
|
<Button
|
|
|
|
|
variant = "contained"
|
|
|
|
|
sx={{
|
|
|
|
|
backgroundColor: theme.palette.content.main,
|
2022-09-20 14:35:49 +00:00
|
|
|
|
width: "50%",
|
2022-09-09 13:54:49 +00:00
|
|
|
|
height: "62px",
|
|
|
|
|
"&:hover": {
|
|
|
|
|
backgroundColor: theme.palette.menu.main
|
|
|
|
|
}
|
|
|
|
|
}}>
|
|
|
|
|
ВОЙТИ
|
|
|
|
|
</Button>
|
|
|
|
|
</Box>
|
|
|
|
|
|
|
|
|
|
</Box>
|
|
|
|
|
</Box>
|
|
|
|
|
</Box>
|
|
|
|
|
</ThemeProvider>
|
2022-09-07 14:24:06 +00:00
|
|
|
|
</React.Fragment>
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export default Authorization;
|