split pages by divider

This commit is contained in:
nflnkr 2022-12-09 15:03:27 +03:00
parent 141d3d6409
commit 628f81efbe

@ -1,4 +1,5 @@
import { CssBaseline, ThemeProvider } from "@mui/material"; import { CssBaseline, ThemeProvider } from "@mui/material";
import { styled } from "@mui/material/styles";
import CreateQuiz from "./components/CreateQuiz/CreateQuiz"; import CreateQuiz from "./components/CreateQuiz/CreateQuiz";
import FirstQuiz from "./components/FirstQuiz"; import FirstQuiz from "./components/FirstQuiz";
import MyQuizzes from "./components/MyQuizzes"; import MyQuizzes from "./components/MyQuizzes";
@ -7,17 +8,28 @@ import NavbarCreateQuiz from "./components/Navbar/NavbarCreateQuiz";
import QuizGallery from "./components/QuizGallery"; import QuizGallery from "./components/QuizGallery";
import lightTheme from "./utils/themes/light"; import lightTheme from "./utils/themes/light";
const Divider = styled("div")(() => ({
height: "30px",
backgroundColor: "black",
}));
function App() { function App() {
return ( return (
<ThemeProvider theme={lightTheme}> <ThemeProvider theme={lightTheme}>
<CssBaseline /> <CssBaseline />
{/* <Navbar isLoggedIn={true} /> */} <Navbar isLoggedIn={true} />
{/* <FirstQuiz /> */} <FirstQuiz />
{/* <MyQuizzes /> */} <Divider />
<MyQuizzes />
<Divider />
<QuizGallery /> <QuizGallery />
{/* ______ */} <Divider />
{/* <NavbarCreateQuiz /> */}
{/* <CreateQuiz /> */} <NavbarCreateQuiz />
<CreateQuiz />
</ThemeProvider> </ThemeProvider>
); );
} }