|
1 | 1 | import React, {useEffect, useState} from "react";
|
2 | 2 | import {
|
3 | 3 | Button,
|
4 |
| - Card, CardActions, |
5 |
| - CardContent, CardHeader, |
6 | 4 | Container,
|
7 |
| - FormControlLabel, |
8 | 5 | Grid,
|
9 |
| - LinearProgress, |
10 |
| - Radio, |
11 |
| - RadioGroup, |
12 |
| - Typography, useMediaQuery, |
| 6 | + useMediaQuery, |
13 | 7 | useTheme
|
14 | 8 | } from "@mui/material";
|
15 | 9 | import ArrowBackIosIcon from "@mui/icons-material/ArrowBackIos";
|
16 | 10 |
|
17 | 11 | import ArrowUpwardIcon from '@mui/icons-material/ArrowUpward';
|
18 |
| -import ReplayIcon from '@mui/icons-material/Replay'; |
19 |
| -import ArrowForwardIosIcon from '@mui/icons-material/ArrowForwardIos'; |
20 |
| -import CheckCircleIcon from '@mui/icons-material/CheckCircle'; |
21 |
| -import DoNotDisturbOnIcon from '@mui/icons-material/DoNotDisturbOn'; |
22 |
| -import StarIcon from '@mui/icons-material/Star'; |
23 | 12 |
|
24 | 13 | import "./quiz_style.scss"
|
25 | 14 | import {Link as RouterLink, useNavigate, useParams} from "react-router-dom";
|
26 | 15 | import {Helmet} from "react-helmet-async";
|
27 | 16 | import QuizSuccessModal from "../../QuizSuccessModal/QuizSuccessModal";
|
28 | 17 | import {HistoricalEvent, IDataForQuiz, IQuizBlockProps, SubtopicsProps} from "../../types/types";
|
29 | 18 | import {makeStyles} from "tss-react/mui";
|
30 |
| -import AnswerReactionBlock from "./components/AnswerReactionBlock/АnswerReactionBlock"; |
31 |
| -import TimeUpMessageBlock from "./components/TimeUpMessageBlock/TimeUpMessageBlock"; |
32 |
| -import TimerProgress from "./components/TimerProgress/TimerProgress"; |
33 | 19 | import axiosClient from "../../axios";
|
34 | 20 | import QuizResults from "./components/QuizResults/QuizResults";
|
35 |
| -import QuizActions from "./components/QuizActions/QuizActions"; |
36 | 21 | import QuestionContainer from "./components/QuestionContainer/QuestionContainer";
|
37 | 22 |
|
38 | 23 |
|
@@ -78,7 +63,7 @@ const useStyles = makeStyles()((theme) => ({
|
78 | 63 |
|
79 | 64 |
|
80 | 65 | const QuizHeader: React.FC<{ selectedArticleNumber: number }> = ({selectedArticleNumber}) => (
|
81 |
| - <Grid sx={{display: "none"}} className={"back_button_container"} container justifyContent={"space-between"}> |
| 66 | + <Grid className={"back_button_container"} container justifyContent={"space-between"}> |
82 | 67 | <Grid item>
|
83 | 68 | <Button component={RouterLink} to={`/article/${selectedArticleNumber}`} startIcon={<ArrowBackIosIcon/>}>
|
84 | 69 | До бібліотеки
|
|
0 commit comments