2023-04-26 17:24:19 +00:00
|
|
|
|
import {Typography, useTheme, Box, Button} from "@mui/material";
|
2022-12-09 11:48:15 +00:00
|
|
|
|
import ComplexNavText from "./ComplexNavText";
|
|
|
|
|
import ExpandableQuizBlock from "./ExpandableQuizBlock";
|
|
|
|
|
import QuizCard from "./QuizCard";
|
|
|
|
|
import SectionWrapper from "./SectionWrapper";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export default function MyQuizzes() {
|
|
|
|
|
const theme = useTheme();
|
|
|
|
|
|
|
|
|
|
return (
|
|
|
|
|
<SectionWrapper
|
|
|
|
|
maxWidth="lg"
|
|
|
|
|
sx={{
|
|
|
|
|
mt: "25px",
|
|
|
|
|
mb: "70px",
|
|
|
|
|
}}
|
|
|
|
|
>
|
|
|
|
|
<ComplexNavText text1="Кабинет квизов" />
|
|
|
|
|
<Box
|
|
|
|
|
sx={{
|
|
|
|
|
display: "flex",
|
|
|
|
|
justifyContent: "space-between",
|
|
|
|
|
alignItems: "center",
|
|
|
|
|
mt: "20px",
|
|
|
|
|
mb: "30px",
|
|
|
|
|
}}
|
|
|
|
|
>
|
|
|
|
|
<Typography variant="h4">Мои квизы</Typography>
|
2023-04-26 17:24:19 +00:00
|
|
|
|
<Button
|
2022-12-09 11:48:15 +00:00
|
|
|
|
variant="contained"
|
2023-04-26 17:24:19 +00:00
|
|
|
|
>Создать +</Button>
|
2022-12-09 11:48:15 +00:00
|
|
|
|
</Box>
|
|
|
|
|
<Box
|
|
|
|
|
sx={{
|
|
|
|
|
py: "10px",
|
|
|
|
|
display: "flex",
|
|
|
|
|
flexWrap: "wrap",
|
|
|
|
|
gap: "40px",
|
|
|
|
|
mb: "60px",
|
|
|
|
|
}}
|
|
|
|
|
>
|
|
|
|
|
<QuizCard name="Название" openCount={0} applicationCount={0} conversionPercent={0} />
|
|
|
|
|
<QuizCard name="Название" openCount={0} applicationCount={0} conversionPercent={0} />
|
|
|
|
|
</Box>
|
|
|
|
|
<Box
|
|
|
|
|
sx={{
|
|
|
|
|
display: "flex",
|
|
|
|
|
flexDirection: "column",
|
|
|
|
|
gap: "40px",
|
|
|
|
|
}}
|
|
|
|
|
>
|
|
|
|
|
<ExpandableQuizBlock name="Название" />
|
|
|
|
|
<ExpandableQuizBlock name="Название" />
|
|
|
|
|
</Box>
|
|
|
|
|
</SectionWrapper>
|
|
|
|
|
);
|
|
|
|
|
}
|