frontPanel/src/App.tsx

38 lines
909 B
TypeScript
Raw Normal View History

2023-04-23 08:39:34 +00:00
import { CssBaseline } from "@mui/material";
2022-12-09 12:03:27 +00:00
import { styled } from "@mui/material/styles";
2022-12-09 11:48:15 +00:00
import CreateQuiz from "./components/CreateQuiz/CreateQuiz";
import FirstQuiz from "./pages/createQuize/FirstQuiz";
import MyQuizzes from "./pages/createQuize/MyQuizzes";
import Navbar from "@ui_kit/Header/Navbar";
import NavbarCreateQuiz from "@ui_kit/Header/NavbarCreateQuiz";
import QuizGallery from "./pages/createQuize/QuizGallery";
2023-04-23 08:39:34 +00:00
import lightTheme from "./utils/themes/light";
import darkTheme from "./utils/themes/dark";
2022-12-03 21:37:21 +00:00
2022-12-09 12:03:27 +00:00
const Divider = styled("div")(() => ({
2023-04-23 08:39:34 +00:00
height: "30px",
backgroundColor: "black",
2022-12-09 12:03:27 +00:00
}));
2022-12-03 21:37:21 +00:00
function App() {
2023-04-23 08:39:34 +00:00
return (
<>
<CssBaseline />
<Navbar isLoggedIn={true} />
<FirstQuiz />
<Divider />
2022-12-09 12:03:27 +00:00
2023-04-23 08:39:34 +00:00
<MyQuizzes />
<Divider />
2022-12-09 12:03:27 +00:00
2023-04-23 08:39:34 +00:00
<QuizGallery />
<Divider />
2022-12-09 12:03:27 +00:00
2023-04-23 08:39:34 +00:00
<NavbarCreateQuiz />
<CreateQuiz />
</>
);
2022-12-03 21:37:21 +00:00
}
export default App;